Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for PER : PHP Evolving Recommendation #153

Closed
jdecode opened this issue Mar 1, 2023 · 2 comments
Closed

Add support for PER : PHP Evolving Recommendation #153

jdecode opened this issue Mar 1, 2023 · 2 comments

Comments

@jdecode
Copy link

jdecode commented Mar 1, 2023

Add support for PER : PHP Evolving Recommendation

https://github.com/php-fig/per-coding-style
https://github.com/php-fig/per-coding-style/blob/master/meta.md

Since v1 of PER is an exact replica of PSR-12, so adding support of the flag --per and using the psr12 as the underlying style guide might be a good point to start.

Expectation from PER is to go a gradual change in the guide as per the evolving nature of the language (more like "semvar", rather than following the PSR-1, PSR-2, PSR-12 changes - which take quite long to approve and adopt).

Even if no changes are done/approved as part of this issue, the idea is to highlight the ongoing changes so that efforts can start moving in this direction.

@driesvints
Copy link
Member

Thanks but Pint really is focused at the Laravel preferred coding style so we're not looking into adding support for other presets sorry.

@jdecode
Copy link
Author

jdecode commented Mar 1, 2023

PSR-12 standards would be replaced by PER (currently in progress).

Since we are currently supporting PSR-12, and I am assuming/hoping that PHP standards will always be supported (despite the focus on Laravel standards), so switching over to supporting PER would be something that we would have to do in near future, hence the recommendation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants