huangdijia / php-coding-standard
PHP Coding Standards for Personal Use.
Installs: 39 909
Dependents: 17
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=8.1
- ergebnis/composer-normalize: ^2.43
- friendsofphp/php-cs-fixer: ^3.64.0
README
Standards for Personal Use.
Usage
Install via composer.
composer require huangdijia/php-coding-standard --dev
Replace vendor/huangdijia/.php-cs-fixer.php.stub
with your own .php-cs-fixer.php
file.
cp vendor/huangdijia/php-coding-standard/.php-cs-fixer.php.stub .php-cs-fixer.php
Replace friendsofphp/php-cs-fixer
with the wrapper provided by this package.
composer remove friendsofphp/php-cs-fixer --dev --no-update composer require huangdijia/php-coding-standard --dev --no-update composer update -o cp vendor/huangdijia/php-coding-standard/.php-cs-fixer.php.stub .php-cs-fixer.php
License
MIT