webthink / codesniffer
此包已被废弃,不再维护。未建议替代包。
此包包含我的个人编码风格规则
v2.1.1
2018-06-24 20:15 UTC
Requires
- php: >=7.1.0
- doctrine/inflector: 1.*
- squizlabs/php_codesniffer: ^3.0
Requires (Dev)
- phpunit/phpunit: 6.*
This package is auto-updated.
Last update: 2020-07-06 17:28:23 UTC
README
一组 Codesniffer 规则集合。
描述
此包是 Codesniffer 规则的集合。其中一些是自定义规则,一些则受到其他包的启发。
安装
您可以通过 composer 安装此包
$ composer require webthink/codesniffer
变更日志
有关最近更改的更多信息,请参阅 CHANGELOG。
测试
目前还没有测试。我希望很快会写一些。
致谢
- https://github.com/squizlabs/PHP_CodeSniffer/
- https://github.com/cakephp/cakephp-codesniffer/
- https://github.com/object-calisthenics/phpcs-calisthenics-rules
- https://github.com/aik099/CodingStandard/
- https://github.com/php-fig-rectified/psr2r-sniffer
- https://github.com/klausi/coder
待办事项
- 编写测试
- 创建一个维基百科页面