track php-cs file

This commit is contained in:
Manuel Raynaud
2014-03-10 09:56:25 +01:00
parent 484bc2a70c
commit d130edc2b9
2 changed files with 23 additions and 1 deletions

1
.gitignore vendored
View File

@@ -21,7 +21,6 @@ web/cache/*
web/tinymce
web/media
phpdoc*.log
php-cs
xhprof/
phpunit.phar
.DS_Store

23
php-cs Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
php-cs-fixer fix core/lib/Thelia/Action/ --level=all
php-cs-fixer fix core/lib/Thelia/Cart/ --level=all
php-cs-fixer fix core/lib/Thelia/Command/ --level=all
php-cs-fixer fix core/lib/Thelia/Condition/ --level=all
php-cs-fixer fix core/lib/Thelia/Config/ --level=all
php-cs-fixer fix core/lib/Thelia/Controller/ --level=all
php-cs-fixer fix core/lib/Thelia/Core/ --level=all
php-cs-fixer fix core/lib/Thelia/Coupon/ --level=all
php-cs-fixer fix core/lib/Thelia/Exception/ --level=all
php-cs-fixer fix core/lib/Thelia/Form/ --level=all
php-cs-fixer fix core/lib/Thelia/Install/ --level=all
php-cs-fixer fix core/lib/Thelia/Log/ --level=all
php-cs-fixer fix core/lib/Thelia/Mailer/ --level=all
find core/lib/Thelia/Model/ -maxdepth 1 -name *.php -exec php-cs-fixer fix '{}' --level=all \;
php-cs-fixer fix core/lib/Thelia/Model/Exception --level=all
php-cs-fixer fix core/lib/Thelia/Model/Tools --level=all
php-cs-fixer fix core/lib/Thelia/Module/ --level=all
php-cs-fixer fix core/lib/Thelia/Rewriting/ --level=all
php-cs-fixer fix core/lib/Thelia/TaxEngine/ --level=all
php-cs-fixer fix core/lib/Thelia/Tools/ --level=all
php-cs-fixer fix core/lib/Thelia/Type/ --level=all