rmx351/coding-standard
Composer 安装命令:
composer require rmx351/coding-standard
包简介
Rmx351 Coding Standard
README 文档
README
composer require --dev rmx351/coding-standard
phpcs.xml
<?xml version="1.0"?> <ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd"> <description>Rmx351 coding standard.</description> <arg name="colors" /> <arg name="extensions" value="php" /> <arg name="parallel" value="80" /> <!-- Show progress --> <arg value="p" /> <file>application/crm/model/Contract.php</file> <!-- Include all rules from the Rmx351 Coding Standard --> <rule ref="vendor/rmx351/coding-standard" /> </ruleset>
composer.json
"scripts": { "cs-check": "phpcs --standard=./phpcs.xml", "cs-fix": "phpcbf --standard=./phpcs.xml" }
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2021-05-12