Skip to content

Commit

Permalink
Add support for phpstan 0.10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
akondas committed Aug 21, 2018
1 parent ab516c0 commit 9ec47ba
Show file tree
Hide file tree
Showing 5 changed files with 665 additions and 773 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
* Provides correct methods and properties for `Yii::$app->request`
* Ignore common problems with response objects (to be removed).

## Compatibility

| PHPStan version | Yii2 extension version |
| --------------- | ---------------------- |
| 0.10.3 | 0.4.0 |
| 0.10 | 0.3.0 |
| 0.9.2 | 0.2.0 |

## Installation

```sh
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"description": "Yii2 extension for PHPStan",
"type": "library",
"require": {
"php": "^7.1"
"php": "^7.1",
"phpstan/phpstan": "^0.10.3"
},
"require-dev": {
"phpunit/phpunit": "^7.0",
"phpstan/phpstan": "^0.10",
"phpstan/phpstan-phpunit": "^0.10"
},
"autoload": {
Expand All @@ -29,7 +29,7 @@
],
"scripts": {
"tests": "phpunit",
"stan": "phpstan analyse -l max -c ./phpstan.neon ./src",
"stan": "phpstan analyse -l max -c ./phpstan.neon ./src ./tests",
"check": [
"@tests",
"@stan"
Expand Down
Loading

0 comments on commit 9ec47ba

Please sign in to comment.