isaac / phpstan-magento2-stubs
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-08-21 07:32:54 UTC
README
PHPStan 为 Magento 2 框架提供的 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