StyleCI Blog

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:

  1. To our recommended preset, the array_indentation, compact_nullable_typehint, no_alternative_syntax, no_unneeded_curly_braces and return_type_declaration fixers have been added, and the phpdoc_to_comment and simplified_null_return fixers have been removed.
  2. To our laravel preset, the array_indentation, compact_nullable_typehint, no_alternative_syntax, no_unneeded_curly_braces and return_type_declaration fixers have been added, and the phpdoc_to_comment fixer has been removed.
  3. To our symfony preset, the no_empty_comment, no_unneeded_curly_braces and semicolon_after_instruction fixers have been added.

Please do get in touch with us if you have any questions or comments!