Skip to content

gnoddep/php-cs-fixer-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nerdman PHP-CS-Fixer configuration

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');