Skip to content

Allow individual PHP CS Fixer rules in php-cs-fixer.rules configuration #228

@BartolomeSintes

Description

@BartolomeSintes

It would be nice if "php-cs-fixer.rules" configuration allowed writing a set of rules as in the config file. For instance:
"php-cs-fixer.rules": "'binary_operator_spaces' => ['default' => 'single_space', 'operators' => ['=' => 'align_single_space_minimal'], ],
'combine_consecutive_issets' => true,",

The purpose would be avoiding the use of the config file. One of the disadvantages of a config file is that it can not be included in a VSCode profle.

Thanking you in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions