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
recommended
preset, thearray_indentation
,compact_nullable_typehint
,no_alternative_syntax
,no_unneeded_curly_braces
andreturn_type_declaration
fixers have been added, and thephpdoc_to_comment
andsimplified_null_return
fixers have been removed. - To our
laravel
preset, thearray_indentation
,compact_nullable_typehint
,no_alternative_syntax
,no_unneeded_curly_braces
andreturn_type_declaration
fixers have been added, and thephpdoc_to_comment
fixer has been removed. - To our
symfony
preset, theno_empty_comment
,no_unneeded_curly_braces
andsemicolon_after_instruction
fixers have been added.
Please do get in touch with us if you have any questions or comments!