yireo/magento2-extension-validation-tools
最新稳定版本:0.0.2
Composer 安装命令:
composer require yireo/magento2-extension-validation-tools
包简介
N/A
README 文档
README
This extension validates the code of other extensions and is complementary to static code analysis tools like PHPCS.
Example 1: Comparing composer versions
bin/magento extension:validate:version_match /path/to/your/extension/composer.json
This command allows you to scan a given composer.json of some extension, without that extension being installed. This allows you to modify the dependencies of that extension, before trying to install the extension (which could save valuable time).
The output should be empty to be successful. When unmatched versions are found, it might look like the following:
ERROR: "magento/framework:103.0.0" does not match required version "^100.1|^101.0|^102.0"
Example 3: Creating unit tests (@todo: Move this to another module
bin/magento extension:validate:generate-unit-test --module Yireo_Webp2 --class '\Yireo\Webp2\Convertor\Convertor'
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2022-07-10