superdj / spaces-in-parentheses-php-cs-fixer
This package is abandoned and no longer maintained.
No replacement package was suggested.
A custom PHP CS Fixer to add or remove spaces in parentheses
Package info
github.com/SuperDJ/spaces-in-parentheses-php-cs-fixer
pkg:composer/superdj/spaces-in-parentheses-php-cs-fixer
v1.1.0
2022-01-21 19:28 UTC
Requires
- php: ^8.0
- friendsofphp/php-cs-fixer: ^3.0.0
Requires (Dev)
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2025-10-24 02:38:27 UTC
README
Installation
Install it with the following command:
composer require --dev superdj/spaces-in-parentheses-php-cs-fixer
Usage
In .php-cs-fixer.php add the following:
return ( new PhpCsFixer\Config ) ->registerCustomFixers( [ new \SuperDJ\SpacesInParenthesesFixer\SpacesInParenthesesFixer, ] ) ->setRules( [ 'SuperDJ/spaces_in_parentheses' => [ 'space' => 'spaces' ], ]);