coding-standard
coding-standard copied to clipboard
Remove PSR12.Properties.ConstantVisibility in favor of slevomat
Isn't this already checked by slevomat?
Does the one cover cases that the other does not? Then if yes.. shouldn't the PSR12.Properties.ConstantVisibility
be turned to an error
.. because currently it is a warning
What are the benefits of using Slevomat's rule instead of PHPCS'?
- phpcs is a warning. Can be easily converted to error.. no problem here.
- there is no autofix.. The policy of phpcs maintainer -which I agree with- is a little bit defensive against these kind of autofix
If you want my opinion I would prefer using the phpcs one instead of slevomat even without the autofix.