Skip to content

Commit 40a6efc

Browse files
authored
Merge pull request #243 from shochdoerfer/feature/phpstan_1.7
WIP: Upgrade to PHPStan 1.7
2 parents b3a58db + 4537a6c commit 40a6efc

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ PHP: PHP 7.2 or higher
1313

1414
Magento: Magento 2.3.0 or higher
1515

16-
PHPStan: PHPStan 1.6
16+
PHPStan: PHPStan 1.7
1717

1818
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
19-
installing this extension. in your composer.json Change the PHPStan version to `~1.6` and run:
19+
installing this extension. in your composer.json Change the PHPStan version to `~1.7` and run:
2020

2121
```
2222
composer update phpstan/phpstan --with-all-dependencies

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"sort-packages": true,
88
"allow-plugins": {
99
"phpstan/extension-installer": true,
10-
"captainhook/plugin-composer": true
10+
"captainhook/plugin-composer": true,
11+
"magento/composer-dependency-version-audit-plugin": false
1112
}
1213
},
1314
"license": "MIT",
@@ -22,7 +23,7 @@
2223
"php": "^7.2.0 || ^8.1.0",
2324
"ext-dom": "*",
2425
"laminas/laminas-code": "~3.3.0 || ~3.4.1 || ~3.5.1 || ~4.5.0",
25-
"phpstan/phpstan": "^1.6.2 <1.7.0",
26+
"phpstan/phpstan": "~1.7.2",
2627
"symfony/finder": "^3.0 || ^4.0 || ^5.0 || ^6.0"
2728
},
2829
"conflict": {

0 commit comments

Comments
 (0)