kubawerlos / php-cs-fixer-config
Provides configuration for PHP CS Fixer
v4.1.0
2024-10-26 18:53 UTC
Requires
- php: ^8.1
- kubawerlos/php-cs-fixer-custom-fixers: ^3.21
- php-cs-fixer/shim: ^3.61
Requires (Dev)
- phpunit/phpunit: ^10.5.29 || ^11.3.0
- dev-main
- v4.1.0
- v4.0.0
- v3.27.0
- v3.26.0
- v3.25.0
- v3.24.0
- v3.23.0
- v3.22.0
- v3.21.0
- v3.20.0
- v3.19.0
- v3.18.0
- v3.17.0
- v3.16.0
- v3.15.0
- v3.14.0
- v3.13.0
- v3.12.0
- v3.11.0
- v3.10.0
- v3.9.0
- v3.8.0
- v3.7.0
- v3.6.0
- v3.5.0
- v3.4.0
- v3.3.0
- v3.2.0
- v3.1.0
- v3.0.0
- v2.1.0
- v2.0.0
- v1.10.0
- v1.9.0
- v1.8.0
- v1.7.0
- v1.6.0
- v1.5.0
- v1.4.0
- v1.3.0
- v1.2.0
- v1.1.0
- v1.0.0
This package is auto-updated.
Last update: 2024-10-26 18:55:08 UTC
README
Provides a configuration for PHP CS Fixer.
Installation
composer require --dev kubawerlos/php-cs-fixer-config php vendor/bin/fixinit
Usage
Create .php-cs-fixer.php
file and use PhpCsFixerConfig\Factory
:
<?php return PhpCsFixerConfig\Factory::createForLibrary('Library', 'Author', 2020 /* license initial year */) ->setFinder( PhpCsFixer\Finder::create() ->files() ->in(__DIR__ . '/src') );
for library or use method createForProject
for project.