pretty-helpful-php/coding-standard
Composer 安装命令:
composer require pretty-helpful-php/coding-standard
包简介
Pretty Helpful PHP coding standard
关键字:
README 文档
README
Introduction
The Pretty Helpful PHP coding standard is a PSR-2-based coding standard built for use with PHP_CodeSniffer.
This coding standard was written with the following basic principles in mind:
- Be consistent.
- Keep functions simple and easy to read.
- Avoid practices that lead to unreliable code or unreliable tests.
Installation
This standard is configured for use with Composer.
To install it as a dependency, run the following command:
composer require pretty-helpful-php/coding-standard --dev
How to use
Once the standard is installed, it can be run from command line using the following command:
phpcs --standard=PrettyHelpfulPHP /path/to/somefile.php
See the PHP_CodeSniffer usage page for more information.
Contributing
Contributions are welcome. See contributing for more information.
License
This coding standard is published under the MIT license.
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-03-04