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
PHP-CS-Fixer #223
Comments
You can add Config for WP in PHP-CS-Fixer project, then nobody need to create .php_cs file to configure it. If you want, then:
and then community will decide ;) |
Okay but first we need to check the correct config for the wordpress ecosystem :-D |
Nevermind, it's not needed since WP doesn't adhere to any of the PHP standards. |
PHPCS now supports automatic fixing via the phpcbf feature. None (or very few) of the custom WP sniffs have been adapted to support automatic fixing yet, but it is something to consider when someone has sufficient time to contribute. |
Yeah I just noticed the phpcbf feature. Nice! It seems to act weird sometimes but I'll open up new issues for those. |
After this ticket https://github.com/fabpot/PHP-CS-Fixer/issues/329 i've written this config file but i don't know if is correct.
https://github.com/Mte90/WordPress-Plugin-Boilerplate-Powered/blob/master/plugin-name/.php_cs
I think that an official config file for PHP-CS-Fixer will be very useful for everybody
The text was updated successfully, but these errors were encountered: