This commit is contained in:
resurtm
2017-01-11 22:42:15 +06:00
parent a3434504e6
commit 1cb60f0740
78 changed files with 354 additions and 290 deletions

View File

@ -36,5 +36,6 @@ Other
-----
- [Contriburing to Documentation](other/contriburing-to-documentation.md)
- [Other for Developers](other/other-for-developers.md)
© [2amigos](http://www.2amigos.us/) 2016

View File

@ -0,0 +1,32 @@
Other for Developers
====================
Tests
-----
1. First of all
2. Running tests: `./vendor`
Code Style Checkers and Mess Detectors
--------------------------------------
## [squizlabs/PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer)
Global settings file: `phpcs.xml.dist` (added into Git)
Local settings file (you can add it locally): `phpcs.xml` (ignored by Git)
Run checking by `PHP_CodeSniffer`: `./vendor/bin/phpcs`
Show check report in patch form: `./vendor/bin/phpcs --report=diff`
Automatically fix all fixable issues: `./vendor/bin/phpcbf`
## [FriendsOfPHP/PHP-CS-Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer)
Global settings file: `.php_cs.dist` (added into Git)
Local settings file (you can add it locally): `.php_cs` (ignored by Git)
Run checking by `PHP-CS-Fixer`: `./vendor/bin/php-cs-fixer fix --dry-run`
Automatically fix all fixable issues: `./vendor/bin/php-cs-fixer fix`
## [phpmd/phpmd](https://github.com/phpmd/phpmd)
TODO: