solutiondrive / coding-standard
solutionDrive coding standard.
Installs: 1 563
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 6
Forks: 1
Open Issues: 7
Requires
- php: ^7.1||^8.0
- slevomat/coding-standard: ^8.0
- symplify/easy-coding-standard: ^11.0
- symplify/package-builder: ^9.0
This package is not auto-updated.
Last update: 2024-12-22 06:26:31 UTC
README
solutionDrive Coding Standard
🥇 solutionDrive coding standard configuration.
Installation & usage
-
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' }
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 install --optimize-autoloader -n
Create the phar file
box build -c box.json
Perhaps it is necessary to allow php to create a phar
php -d phar.readonly=0 ~/.composer/vendor/bin/box build -c box.json
The newly created phar file can be used just like the ecs
binary is used:
ecs-standalone.phar --help