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

friendsofphp-php-cs-fixer

JSON →
library3.95.8phppackagistunverified

A tool to automatically fix PHP code style

composer require friendsofphp/php-cs-fixer
INSTALL
IMPORT
SIG · FRIENDSOFPHP-PHP-C
F
friendsofphp-php-cs-fixer
build-toolphpv3.95.8
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;

Configuring PHP-CS-Fixer programmatically

use PhpCsFixer\Config; use PhpCsFixer\Finder; $finder = Finder::create()->in(__DIR__); $config = new Config(); $config->setRules(['@PSR12' => true]); $config->setFinder($finder);
Debug
Known issues
breakingPHP-CS-Fixer 3.x dropped support for PHP 7.1 and below
fix
Use version 2.x if you need PHP 7.0/7.1 support
affects: >=3.0.0
Upgrade
Version history
3.95.8latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

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