Registry / build-tool / fabpot-php-cs-fixer

fabpot-php-cs-fixer

JSON →
library3.94.0phppackagistunverified

A tool to automatically fix PHP code style according to configurable rules.

composer require fabpot/php-cs-fixer
INSTALL
IMPORT
SIG · FABPOT-PHP-CS-FIXE
F
fabpot-php-cs-fixer
build-toolphpv3.94.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FixerInterface
use PhpCsFixer\Fixer\FixerInterface;

Configure PHP CS Fixer to apply PSR-12 rules to files in the current directory.

use PhpCsFixer\Config; use PhpCsFixer\Finder; $finder = Finder::create()->in(__DIR__); $config = new Config(); $config->setRules(['@PSR12' => true]); $config->setFinder($finder); // Use with console: php-cs-fixer fix
Debug
Known issues
breakingVersion 3.x drops support for PHP 7.x.
fix
Upgrade to PHP 8.0+ or use version 2.x.
affects: >=3.0
Upgrade
Version history
3.94.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
OpenAI (training)
1
Resources
fabpot-php-cs-fixer — pip install fabpot-php-cs-fixer · libregistry