soosyze/php-cs-fixer-config

Php-cs-fixer configurations used by projects maintained by Soosyze.

1.0.0 2021-12-12 12:10 UTC

This package is auto-updated.

Last update: 2024-04-12 17:26:55 UTC


README

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.