-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
PSR12 4.4 Methods and Functions close braces same line #618
Comments
Don't know where you're getting your information from, but this is not part of PSR12. This is the literal text of PSR12 section 4.4:
https://www.php-fig.org/psr/psr-12/#44-methods-and-functions |
I took it from - https://www.php-fig.org/per/coding-style/#44-methods-and-functions that can be accessed in the page https://www.php-fig.org/psr/psr-12/ and click on the link "PER Coding Style" on the right top menu (Additional info) |
@junior-paytech PSR-PER is not the same as PSR12 and for those things for which PSR12 has its own rules, PSR-12 sniffs cannot be updated to follow PSR-PER as in that case, the PSR 12 sniff would no longer enforce PSR12. |
I understand your point, but I believe that the PER is more "actual" and aligned with the current php development. Anyway, thank you your support. |
Is your feature request related to a problem?
It is related to PHP8 and PSR12 standard
Describe the solution you'd like
As described in PSR12 item 4.4
Additional context (optional)
Exists some discussion and "suggestions" in this topic - squizlabs/PHP_CodeSniffer#3291
The text was updated successfully, but these errors were encountered: