youwe/coding-standard-magento2
最新稳定版本:2.2.2
Composer 安装命令:
composer require youwe/coding-standard-magento2
包简介
Youwe PHP Coding Standard for Magento2
README 文档
README
This is the Youwe coding standard for Magento 2 projects. It is based on the default Magento2 coding standard but some tests have been removed to create a workable and fast standard.
Installation
Use composer to require the standard in a project.
composer require --dev youwe/coding-standard-magento2 -W
To let PHPCS know that this standard should be used add a phpcs.xml file in the root of the project.
<?xml version="1.0"?> <ruleset> <rule ref="YouweMagento2"/> </ruleset>
Integration with PHPStorm and automatic testing
The recommended way to enable the coding standard in PHPStorm and automatic testing is by requiring the Youwe testing suite in a project.
composer require --dev youwe/testing-suite
For more information go to Youwe Testing Suite.
Contribution guidelines
Contributions are welcome. Please create pull requests which add or remove tests.
统计信息
- 总下载量: 153.56k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 14
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2022-02-18