iodigital-com/ phpstan-magento2-stubs
PHPStan Magento 2 stub 文件
v1.1.0
2024-08-14 12:57 UTC
Requires
- php: ~8.0.0 || ~8.1.0 || ~8.2.0
- phpstan/phpstan: ^1.9.0
Replaces
This package is auto-updated.
Last update: 2024-09-21 07:43:08 UTC
README
为 Magento 2 框架提供的 PHPStan stub 文件。目前 stub 文件针对的是 2.4.5-p1 版本。
安装
composer require --dev iodigital-com/phpstan-magento2-stubs
如果您使用 phpstan/extension-installer 包。您无需进行任何其他配置。但是,如果您不使用此包,请将以下配置添加到您的 phpstan.neon
文件中。
includes: - ./vendor/iodigital-com/phpstan-magento2-stubfiles/extension.yml