run_as_root / magento-cli-auto-proxy
将所有 Magento CLI 命令构造依赖项注入为代理。
1.2.0
2024-07-22 20:14 UTC
Requires
- php: ^7.4 | ^8
- magento/framework: >=102.0.7
Requires (Dev)
- phpcompatibility/php-compatibility: ^9.3
- phpstan/phpstan: ^1.9
- phpunit/phpunit: >9
- roave/security-advisories: dev-latest
- squizlabs/php_codesniffer: ^3.7
- dev-main
- 1.2.0
- 1.1.0
- 1.0.0
- dev-feature/php-82-checks
- dev-feature/update-unit-tests
- dev-feature/composer-cache-optimization
- dev-feature/actions-optimization
- dev-feature/add-php-stan-to-github-actions
- dev-feature/unit-tests-coverage-lib
- dev-feature/unit-tests-coverage
- dev-feature/test-unit-actions
- dev-feature/php-8.1-compatibility-check
This package is auto-updated.
Last update: 2024-09-22 20:40:53 UTC
README

Magento 2 - 自动代理到 CLI 类参数
自动为 CLI 命令类构造函数中定义的任何参数注入代理。
关于项目
目的
- 消除在安装带有全新数据库的项目时(通常与集成测试一起使用)由于第三方 CLI 不使用代理而产生的问题:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento2.flag' doesn't exist, query was: SELECT flag.* FROM flag WHERE (flag.flag_code='staging')
- 加快
php bin/magento
命令执行速度;
入门指南
先决条件
- Magento v2.4.* 及以上版本
- composer v2 及以上版本
结构
安装
composer req run_as_root/magento-cli-auto-proxy:^1
路线图
- 最小可行性产品发布
- 文档
- PHP 8 支持
- 单元测试覆盖率
- 静态测试覆盖率
- php linting
- phpcs
- phpmd
- phpstan
- 集成测试覆盖率
- 管道测试自动化
- 静态测试
- 单元测试
- 集成测试
- Magento 多版本测试
许可
在 MIT 许可证下分发。有关更多信息,请参阅 LICENSE.txt
。
联系
弗拉德·波多罗日尼
Twitter:
邮箱: vpodorozh@gmail.com
| vlad.podorozhnyi@run-as-root.sh
run_as_root GmbH
Twitter:
邮箱: info@run-as-root.sh