iodigital-comphpstan-magento2-stubs

PHPStan Magento 2 stub 文件

安装: 3

依赖者: 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-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