Download the PHP package misterspelik/phpstan-yii2 without Composer
On this page you can find all versions of the php package misterspelik/phpstan-yii2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package phpstan-yii2
Yii2 extension for PHPStan
What does it do?
- Provides correct return type for
Yii::$container->get('service_id')
method, - Provides correct methods and properties for
Yii::$app->request
- Ignore common problems with response objects (to be removed).
Compatibility
PHPStan version | Yii2 extension version |
---|---|
2.x | 1.x |
1.x | 0.8.x |
0.12 | 0.7.x |
0.11 | 0.5.x - 0.6.x |
0.10.3 | 0.4.x |
0.10 | 0.3.0 |
0.9.2 | 0.2.0 |
Installation
Configuration
Put this into your phpstan.neon
config:
Limitations
Container closures must have return types.
You have to provide a path to config/test.php
or other yii2 config file.
All versions of phpstan-yii2 with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.2|^8.0
nikic/php-parser Version ^4.1.0|^5.0
phpstan/phpstan Version ^1.0|^2.0
nikic/php-parser Version ^4.1.0|^5.0
phpstan/phpstan Version ^1.0|^2.0
The package misterspelik/phpstan-yii2 contains the following files
Loading the files please wait ....