-
-
Notifications
You must be signed in to change notification settings - Fork 446
Discussion: Consider using PHP CS Fixer and/or PHPStan #947
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
Comments
@sreichel What are the pros/cons of PHP CS Fixer and PHPStan and are they completely redundant? |
Php fixer just take care of CGL and can fix the formatting. While phpstan does static code analysis but cant fix code. So we need both :) |
As @tmotyl said. No, they aren't redundant. IMHO cs-fixer is "just" a nice to have to have code matching PSR2 standard or whatever. phpstan/psalm is to prevent logical problems .... can't find it actually, but there was a nice article about predicted or expected variables .... |
+1 for phpcsfixer for PSR2 This could also improve to review PR like #1035 and all other PR consider code style |
Uh oh!
There was an error while loading. Please reload this page.
#693 (comment)
#365
The text was updated successfully, but these errors were encountered: