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

Installs: 158

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 2

pkg:composer/superdj/spaces-in-parentheses-php-cs-fixer

v1.1.0 2022-01-21 19:28 UTC

This package is auto-updated.

Last update: 2025-10-24 02:38:27 UTC


README

Packagist Downloads

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' ],
    ]);