becklyn / php-cs
Config files for PHP code style
Installs: 26 949
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 4
Forks: 1
Open Issues: 0
Type:lib
Requires
- php: >=8.1
- ext-json: *
- friendsofphp/php-cs-fixer: ^v3.6.0
- phpstan/phpstan: ^1.4.6
- phpstan/phpstan-doctrine: ^1.2.10
- phpstan/phpstan-symfony: ^1.1.5
This package is auto-updated.
Last update: 2024-10-12 17:17:44 UTC
README
Installation
Installation should be done via the composer-bin-plugin.
composer bin test require --dev becklyn/php-cs
Now run your tools like this:
Usage
PHP CS Fixer
./vendor/bin/php-cs-fixer fix --dry-run --diff --config vendor-bin/test/vendor/becklyn/php-cs/.php_cs.dist.php ./vendor/bin/phpstan -c vendor-bin/test/vendor/becklyn/php-cs/phpstan/lib.neon
Composer Normalize
Composer normalize needs the composer normalize
plugin.
Versioning
This package doesn't use semantic versioning, but it always releases a major version.
Main Branch Naming
Normally, in Becklyn's repositories, we use versioned branches (1.x
, 2.x
), but here it doesn't make sense
as every update implies a new major version.
So the main branch is just called release
, as that's where all releases are coming from.