swisnl/php-cs-fixer-config

Default PHP-CS-Fixer config factory used at SWIS

1.6.0 2021-11-18 08:14 UTC

This package is auto-updated.

Last update: 2021-11-18 08:15:13 UTC


README

Default PHP-CS-Fixer config factory used at SWIS

Install

Via Composer

$ composer require --dev swisnl/php-cs-fixer-config

Usage

Just use the config factory in your PHP-CS-Fixer config and you're good to go!

<?php

$finder = PhpCsFixer\Finder::create()
    ->in([
        __DIR__.'/app',
        __DIR__.'/config',
        __DIR__.'/database',
        __DIR__.'/resources/lang',
        __DIR__.'/routes',
        __DIR__.'/tests',
    ])
;

return Swis\PhpCsFixer\Config\Factory::create()
    ->setFinder($finder);

Change log

Please see CHANGELOG for more information on what has changed recently.

Security

If you discover any security related issues, please email security@swis.nl instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.