symplify / coding-standard

Coding Standard rules for PHP projects with focus on Clean Architecture
MIT License
347 stars 20 forks source link

Support new PER Coding Standard #19

Closed internalsystemerror closed 1 year ago

internalsystemerror commented 1 year ago

This may not be immediately actionable, however you may have this as a goal anyway.

Can we get support for the new PHP Evolving Recommendations Coding Standard https://www.php-fig.org/per/coding-style/? Version 1.0 is a copy of PSR12 and is implemented in PHPCS-Fixer. A 1.1 version was expected, however this was recently released as 2.0 and a PR is open to upgrade this in PHPCS-Fixer.

I haven't looked too far into PHPCS, however there is an open issue regarding PERCS 2.0.

TomasVotruba commented 1 year ago

I haven't followed this topic, but as with PSR_12, the list should be added here as well.

Feel free to contribute via PR the ruleset it cointains, whenever you're ready :+1:

Closing as accepted.