Skip to content

soosyze/php-cs-fixer-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-cs-fixer-config

Packagist

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.