Skip to content

Latest commit

 

History

History
executable file
·
45 lines (28 loc) · 1019 Bytes

File metadata and controls

executable file
·
45 lines (28 loc) · 1019 Bytes

solutionDrive Coding Standard

🥇 solutionDrive coding standard configuration.

Installation & usage

  1. Install this package:

    composer require --dev solutiondrive/coding-standard
  2. Include a configuration file in your easy-coding-standard.yml:

    imports:
      - { resource: 'vendor/solutiondrive/coding-standard/easy-coding-standard.yml' } 

Phar usage

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