aonach/magento2-phpstan
最新稳定版本:v0.8.6
Composer 安装命令:
composer require aonach/magento2-phpstan
包简介
PhpStan extension to support Magento 2
README 文档
README
The extension bootstraps the same autoloader that is run when using Magento 2's unit tests. By default it will place
the generated class under var/. Change the environment variable TESTS_TEMP_DIR to change the folder.
Installation Instructions via Composer
composer require --dev aonach/magento2-phpstan
Note on required use of phpstan/extension-installer
Manual installation
If the use of phpstan/extension-installer is not working for you undo the installation by adding
"replace": {
"phpstan/extension-installer": "*"
},
to your project's composer.json file. Then manually include extension.neon in your project's PHPStan config:
includes:
- vendor/aonach/magento2-phpstan/extension.neon
Or as an alternative approach you can check out https://github.com/bitExpert/phpstan-magento
统计信息
- 总下载量: 37.74k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-03-04