🥇 solutionDrive coding standard configuration.
-
Install this package:
composer require --dev solutiondrive/coding-standard
-
Include a configuration file in your
easy-coding-standard.yml:imports: - { resource: 'vendor/solutiondrive/coding-standard/easy-coding-standard.yml' }
To create the phar, you need to install humbug/box globally:
(The global composer bin path needs to be available in $PATH)
composer global require humbug/box
Install the dependencies
composer update --optimize-autoloader
Create the phar file
composer exec box -- compile
Perhaps it is necessary to allow PHP to create a phar
php -d phar.readonly=0 $(which composer) exec box -- compile
The newly created phar file can be used just like the ecs binary is used:
./build/ecs-standalone.phar list