Graham Campbell
Graham Campbell
I have no timeline in mind. :P
Tests are failing. :)
👎 on the options here. We should instead add a separate option specifically for saying if this should be allowed for constructors only, since they are special methods that support...
A provisional rule set for PSR-12 is: ```php [ '@PSR2' => true, 'blank_line_after_opening_tag' => true, 'compact_nullable_typehint' => true, 'declare_equal_normalize' => ['space' => 'none'], 'function_typehint_space' => true, 'new_with_braces' => true, 'no_empty_statement'...
That other ruleset seems to do a lot of stuff that PSR-12 doesn't actually mandate. For example, the PSR-12 spec says nothing about the ordering of imports. It only mandates...
You can still use the ruleset in your codebase, without it being an actual ruleset. Your suggestion is a bad idea because we cannot then later delete the ruleset due...
You don't need to provide a ruleset. The expected way to use php-cs-fixer is to use a config file.
A good example is the config file that this repo uses to fix itself (though you won't need the hacks they have at the bottom which are used to handle...
(my approval is subject to tests being added)
It wouldn't surprise me if there is an RFC in a few years to disallow implicit nulls in types. :P