item8 / codestyle
General code style for All Item8 PHP Projects
Installs: 1 336
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- fzaninotto/faker: ^1.7.1
- jbzoo/phpunit: 2.2.1
- jbzoo/phpunit-randomizer: ^3.1
- jbzoo/utils: ^2.1
- pdepend/pdepend: 2.5.0
- squizlabs/php_codesniffer: 3.1.1|^3.3.2
README
General code style for All projects
Global install in your vagrant
sudo composer global require item8/codestyle
PhpStorm Example Config
PHP MD
- Mess Detector Config - https://yadi.sk/i/08QbtfCP3Nf8Ez
- Inspections - https://yadi.sk/i/o1gL0iN23Nf6pX
/home/vagrant/.composer/vendor/bin/phpmd /home/vagrant/.composer/vendor/item8/codestyle/src/phpmd/item8.xml
PHP CS
- Code Sniffer Config - https://yadi.sk/i/t-eXjVZ_3Nf7sH
- Inspections - https://yadi.sk/i/33h_B6uq3Nf7NP
/home/vagrant/.composer/vendor/bin/phpcs /home/vagrant/.composer/vendor/item8/codestyle/src/phpcs/item8/ruleset.xml