nerdman/php-cs-fixer-config

Default PHP-CS-Fixer configuration for Nerdman projects

Maintainers

Package info

github.com/gnoddep/php-cs-fixer-config

pkg:composer/nerdman/php-cs-fixer-config

Statistics

Installs: 843

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.3.0 2025-10-01 00:54 UTC

This package is auto-updated.

Last update: 2026-03-01 00:40:26 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');