eclipse pdt (neon) symfony formatter
Hi,
It is possible to add a file to import for have a good formatter for Symfony standard ? (like PSR-2 for exemple)
Thanks
Yes, it's possible. What should be changed in compare to built-in PSR ?
I have found this guide for the standard http://symfony.com/doc/current/contributing/code/standards.html And there is this tools for test https://github.com/FriendsOfPHP/PHP-CS-Fixer php php-cs-fixer.phar fix /path/to/project --level=symfony
I m not an expert that's why if eclipse explain me my error it will be good :)
I have found this but i doesnt work when i import it to eclipse https://github.com/djoos/Symfony2-coding-standard
Fatal error: Uncaught PHP_CodeSniffer_Exception: Referenced sniff PSR1 does not exist in when i run phpcs c:\users\toto.p2\pool\plugins\org.phpsrc.eclipse.pti.library.pear_1.2.2.R20120127000000\php\library\PEAR\PHP\CodeSniffer.php:794