vaclavvanik/coding-standard
Composer 安装命令:
composer require vaclavvanik/coding-standard
包简介
The Václav Vaník Coding Standard is a set of PHPCS rules applied to my projects ;-)
README 文档
README
The Václav Vaník Coding Standard VVCS is a set of PHP_CodeSniffer
rules applied to my projects.
VVCS is inspired by Doctrine Coding Standard and heavily based on Slevomat Coding Standard.
Installation
The recommended way to install PHP CS Fixer is to use Composer
in a dedicated composer.json file in your project, for example in the
tools/php-coding-standard directory:
mkdir --parents tools/php-coding-standard composer require --working-dir=tools/php-coding-standard vaclavvanik/coding-standard cp tools/php-coding-standard/vendor/vaclavvanik/coding-standard/phpcs.dist.xml tools/php-coding-standard/.phpcs.xml cp tools/php-coding-standard/vendor/vaclavvanik/coding-standard/.gitignore tools/php-coding-standard/.gitignore
Configuration
Dist configuration file: phpcs.dist.xml.
Usage
Fix:
./tools/php-coding-standard/vendor/bin/phpcbf --basepath=. --standard=tools/php-coding-standard/.phpcs.xml
Check:
./tools/php-coding-standard/vendor/bin/phpcs --basepath=. --standard=tools/php-coding-standard/.phpcs.xml
统计信息
- 总下载量: 83
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2021-07-15