soosyze / php-cs-fixer-config
Php-cs-fixer configurations used by projects maintained by Soosyze.
Installs: 1 582
Dependents: 4
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=7.2
- friendsofphp/php-cs-fixer: ^3.2
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.