Skip to content

Commit

Permalink
Upgrade to PHPStan 1.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
shochdoerfer committed May 27, 2022
1 parent b3a58db commit 4537a6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ PHP: PHP 7.2 or higher

Magento: Magento 2.3.0 or higher

PHPStan: PHPStan 1.6
PHPStan: PHPStan 1.7

If you are using a Magento version that requires an older version of PHPStan (e.g. 0.12.77), you need to manually upgrade it before
installing this extension. in your composer.json Change the PHPStan version to `~1.6` and run:
installing this extension. in your composer.json Change the PHPStan version to `~1.7` and run:

```
composer update phpstan/phpstan --with-all-dependencies
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true,
"captainhook/plugin-composer": true
"captainhook/plugin-composer": true,
"magento/composer-dependency-version-audit-plugin": false
}
},
"license": "MIT",
Expand All @@ -22,7 +23,7 @@
"php": "^7.2.0 || ^8.1.0",
"ext-dom": "*",
"laminas/laminas-code": "~3.3.0 || ~3.4.1 || ~3.5.1 || ~4.5.0",
"phpstan/phpstan": "^1.6.2 <1.7.0",
"phpstan/phpstan": "~1.7.2",
"symfony/finder": "^3.0 || ^4.0 || ^5.0 || ^6.0"
},
"conflict": {
Expand Down

0 comments on commit 4537a6c

Please sign in to comment.