isaac/phpstan-magento2-stubs

此包已废弃且不再维护。作者建议使用iodigital-com/phpstan-magento2-stubs包。

PHPStan Magento 2 stub 文件

安装次数: 2,841

依赖者: 0

建议者: 0

安全: 0

星标: 0

关注者: 5

分支: 1

开放问题: 0

类型:phpstan-extension

v1.1.0 2024-08-14 12:57 UTC

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