soosyze / php-cs-fixer-config
Php-cs-fixer configurations used by projects maintained by Soosyze.
1.0.0
2021-12-12 12:10 UTC
Requires
- php: >=7.2
- friendsofphp/php-cs-fixer: ^3.2
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
PhpCsFixer config for Soosyze projects.
Installation
Composer
To install Soosyze\PhpCsFixer via Composer you must have the installer or the binary file Composer
Go to your project directory, open a command prompt and run the following command:
composer require soosyze/queryflatfile --no-dev
Uage
Create a configuration file .php-cs-fixer.dist.php in the root of your project:
<?php $finder = PhpCsFixer\Finder::create() ->exclude('build') ->in(__DIR__); $config = new Soosyze\PhpCsFixer\Config(); $config->setFinder($finder); return $config;
License
Inspired by BedrockStreaming/php-cs-fixer-config. This project is licensed under the MIT license.