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

What standard to choose? #1

Closed
szepeviktor opened this issue Jun 21, 2022 · 1 comment
Closed

What standard to choose? #1

szepeviktor opened this issue Jun 21, 2022 · 1 comment

Comments

@szepeviktor
Copy link

szepeviktor commented Jun 21, 2022

math is very close to PSR-12.
vendor/bin/phpcs --standard=PSR12 src/ -sp --exclude=PSR12.Functions.ReturnTypeDeclaration gives very few errors.
PSR-12 is a good starting point. It is a standard.

https://github.com/slevomat/coding-standard has wonderful sniffs! :)

@BenMorel
Copy link
Member

Hi, please see #2, extracted from brick/date-time#53.
Feel free to comment the work being done there! 👍

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