Fix PhpStorm text paste issue

phpstorm

Symptoms : Text copied from any other source except PhpStorm itself (Chrome, text editor etc.) can't be pasted in PhpStorm. But text is being in buffer - as it could be pasted in other editors.

The reason is in Oracle Java 8 (according to this bug report).

TL;DR

  • Install Oracle Java 7
  • Profit !

Read more ...

Install Codeception globally in Ubuntu

If you don't like running codeception via php codecept.phar ... you could install it in system bin dir

sudo wget http://codeception.com/codecept.phar -O /usr/local/bin/codecept
sudo chmod +x /usr/local/bin/codecept

and now run it like this to check

codecept -V

Ievgen
Kuzminov "iJackUA"
Web Team Lead
at MobiDev (Kharkiv, Ukraine)
Code in Ruby and Elixir, but still love PHP. Explore ES6 and Vue.js. Explore databases, use Ubuntu and MacOS, think about IT people and management

Notes


Yii2 : to use CamelCase action name in code it should be called with dash in url. actionViewPost => ?r=index/view-post



Markdown hint : to force a line break (but not a new paragraph) insert 2 spaces in the end of the text line.