Skip to content

Commit 9ec47ba

Browse files
committed
Add support for phpstan 0.10.3
1 parent ab516c0 commit 9ec47ba

File tree

5 files changed

+665
-773
lines changed

5 files changed

+665
-773
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66
* Provides correct methods and properties for `Yii::$app->request`
77
* Ignore common problems with response objects (to be removed).
88

9+
## Compatibility
10+
11+
| PHPStan version | Yii2 extension version |
12+
| --------------- | ---------------------- |
13+
| 0.10.3 | 0.4.0 |
14+
| 0.10 | 0.3.0 |
15+
| 0.9.2 | 0.2.0 |
16+
917
## Installation
1018

1119
```sh

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"description": "Yii2 extension for PHPStan",
44
"type": "library",
55
"require": {
6-
"php": "^7.1"
6+
"php": "^7.1",
7+
"phpstan/phpstan": "^0.10.3"
78
},
89
"require-dev": {
910
"phpunit/phpunit": "^7.0",
10-
"phpstan/phpstan": "^0.10",
1111
"phpstan/phpstan-phpunit": "^0.10"
1212
},
1313
"autoload": {
@@ -29,7 +29,7 @@
2929
],
3030
"scripts": {
3131
"tests": "phpunit",
32-
"stan": "phpstan analyse -l max -c ./phpstan.neon ./src",
32+
"stan": "phpstan analyse -l max -c ./phpstan.neon ./src ./tests",
3333
"check": [
3434
"@tests",
3535
"@stan"

0 commit comments

Comments
 (0)