stolt/php-cs-fixer-custom-fixers

A growing set of custom fixers for PHP-CS-Fixer (https://cs.symfony.com/).

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/stolt/php-cs-fixer-custom-fixers

v0.0.6 2023-09-28 19:06 UTC

This package is auto-updated.

Last update: 2025-09-29 03:20:13 UTC


README

Test Status Version !PHP Version Software License

A growing set of custom fixers for PHP-CS-Fixer.

Installation

The custom fixers should be installed through Composer.

composer require --dev stolt/php-cs-fixer-custom-fixers

Then in your PHP-CS-Fixer configuration file i.e. .php-cs-fixer.php register the custom fixer and use it as shown next.

<?php
declare(strict_types=1);

return (new \PhpCsFixer\Config())
    ->registerCustomFixers(new \Stolt\PhpCsFixer\Fixers())
    ->setRules([
        'Stolt/namespace_prefix_internal_php_functions' => true,
    ]);