1) Удаляю все что было и чищу кеш композера (для чистоты эксперемента
Код: Выделить всё
$ rm -rf ~/.config/composer
$ composer clearcache
Код: Выделить всё
$ cd /var/www/
$ composer global require "fxp/composer-asset-plugin:^1.2.0"
$ composer create-project --prefer-dist yiisoft/yii2-app-advanced yii-application
$ cd yii-application
./init -> 0 -> yes
2.2) Применяю миграцию
Код: Выделить всё
./yii migrate -> yes
Код: Выделить всё
$ composer global require "codeception/codeception=2.1.*"
$ composer global require "codeception/specify=*"
$ composer global require "codeception/verify=*"
Код: Выделить всё
$ cat /etc/environment
PATH="........:/home/gudik/.config/composer/vendor/bin/"
Код: Выделить всё
$ ./yii_test migrate -> yes
$ codecept build
Во вложении скрин.[PHPUnit_Framework_Exception]
Argument 3 passed to Codeception\Event\FailEvent::__construct() must be an instance of Exception
, none given, called in /home/gudik/.config/composer/vendor/codeception/codeception/src/Codecept
ion/PHPUnit/Listener.php on line 50 and defined