nerdman/php-cs-fixer-config

Default PHP-CS-Fixer configuration for Nerdman projects

1.2.4 2024-12-25 00:53 UTC

This package is auto-updated.

Last update: 2025-01-25 01:02:58 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');