library php-standard
ITMH PHP_CodeSniffer standard
itmh/php-standard
ITMH PHP_CodeSniffer standard
- Thursday, January 14, 2016
- by chshanovskiy
- Repository
- 9 Watchers
- 1 Stars
- 3,614 Installations
- PHP
- 3 Dependents
- 0 Suggesters
- 1 Forks
- 2 Open issues
- 4 Versions
- 6 % Grown
Стандарт оформления PHP кода
Установка
Установить PHP_CodeSniffer:
composer global require squizlabs/php_codesniffer
Склонировать репозиторий:
git clone https://github.com/itmh/coding-standard-php.git $HOME/.coding-standard-php
Создать в папке со стандартами симлинк на склонированный репозиторий
ln -sv $HOME/.coding-standard-php/phpcs/ITMH $HOME/.composer/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards
Использование
$HOME/.composer/vendor/bin/phpcs --standard=ITMH /path/to/file.php
$HOME/.composer/vendor/bin/phpcs --standard=ITMH /path/to/directory
dev-master
9999999-dev
ITMH PHP_CodeSniffer standard
Sources
Download
MIT
The Development Requires
by
Chshanovskiy Maxim
v0.0.3
0.0.3.0
ITMH PHP CodeSniffer standard
Sources
Download
MIT
The Requires
by
Chshanovskiy Maxim
v0.0.2
0.0.2.0
ITMH PHP CodeSniffer standard
Sources
Download
MIT
The Requires
by
Chshanovskiy Maxim
v0.0.1
0.0.1.0
ITMH PHP CodeSniffer standard
Sources
Download
MIT
The Requires
by
Chshanovskiy Maxim