Download the PHP package fooman/phpstan-magento2-magic-methods without Composer
On this page you can find all versions of the php package fooman/phpstan-magento2-magic-methods. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fooman/phpstan-magento2-magic-methods
More information about fooman/phpstan-magento2-magic-methods
Files in fooman/phpstan-magento2-magic-methods
Package phpstan-magento2-magic-methods
Short Description PhpStan extension to support Magento 2's use of magic methods
License MIT
Informations about the package phpstan-magento2-magic-methods
We are likely going to stop supporting this package in the near future. Changes in phpstan's autoloading are surfacing load order / class existence issues leading to classes being generated when they should be found via Composer's autoloading. As https://github.com/bitExpert/phpstan-magento does not have the same issue and does provide similar functionality we suggest checking it out instead as we will likely adopt it for our uses.
PHPStan Extension - Magento 2 Magic Methods
The extension bootstraps the same autoloader that is run when using Magento 2's unit tests. By default it will place
the generated class under var/. Change the environment variable TESTS_TEMP_DIR
to change the folder.
Installation Instructions via Composer
composer require --dev fooman/phpstan-magento2-magic-methods:^0.7
Note on required use of phpstan/extension-installer
Manual installation
If the use of `phpstan/extension-installer` is not working for you undo the installation by adding to your project's composer.json file. Then manually include extension.neon in your project's PHPStan config: Or as an alternative approach you can check out https://github.com/bitExpert/phpstan-magentoAll versions of phpstan-magento2-magic-methods with dependencies
phpstan/phpstan Version >=0.12.26
phpstan/extension-installer Version ^1.0
magento/framework Version ^100.0 || ^101.0.0 || ^102.0.0 || ^103.0.0