nerdman/php-cs-fixer-config

Default PHP-CS-Fixer configuration for Nerdman projects

1.2.3 2024-06-06 15:46 UTC

This package is auto-updated.

Last update: 2024-06-06 15:46:53 UTC


README

composer require --dev nerdman/php-cs-fixer-config

Add the following in your PHP-CS-Config file

<?php
use Nerdman\CodeStyle\Config\Php81;
use PhpCsFixer\Finder;

$finder = Finder::create()
    ->in(__DIR__)
    ->exclude('var')
    ->notContains('/@nolint/');

return new Php81($finder, '.php-cs.cache');