Beta PSR-12 Support
January 03, 2020
We have recently launched a new psr12 preset with partial support for the PSR-12. StyleCI doesn’t yet support 100% of the rules from the spec, but as we add the remaining fixers, we’ll update the preset to include them.
We’ve also recently made the following updates to some of our other presets:
- To our
recommendedpreset, thearray_indentation,compact_nullable_typehint,no_alternative_syntax,no_unneeded_curly_bracesandreturn_type_declarationfixers have been added, and thephpdoc_to_commentandsimplified_null_returnfixers have been removed. - To our
laravelpreset, thearray_indentation,compact_nullable_typehint,no_alternative_syntax,no_unneeded_curly_bracesandreturn_type_declarationfixers have been added, and thephpdoc_to_commentfixer has been removed. - To our
symfonypreset, theno_empty_comment,no_unneeded_curly_bracesandsemicolon_after_instructionfixers have been added.
Please do get in touch with us if you have any questions or comments!