BedrockStreaming/php-cs-fixer-config

Add new rule to default rules array

aguidis opened this issue · 2 comments

I just would like to know if there is a way to add a custom rule to the default array of rules (defined in M6Web\CS\Config\php71::getRules())

Hi,

They are not "default" rules but our own rules we apply internally for our projects.

I think it's better you create your own config and use ours as an example.

If you really really want to "extend" our config you can always inject it in yours and merge your config with it.

This question seems to have been answered.