isaac/phpstan-magento2-stubs

This package is abandoned and no longer maintained. The author suggests using the iodigital-com/phpstan-magento2-stubs package instead.

PHPStan Magento 2 stub files

Installs: 2 978

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 5

Forks: 1

Open Issues: 0

Type: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 stubfiles for the Magento 2 framework. Currenly the stub files are targeted towards the 2.4.5-p1 version.

Installation

composer require --dev iodigital-com/phpstan-magento2-stubs

If you use the phpstan/extension-installer package. You do not need any further configuraton. However if you do not use this package. Add the following configuration to your phpstan.neon file.

includes:
  - ./vendor/iodigital-com/phpstan-magento2-stubfiles/extension.yml