Skip to content

Commit c8d736d

Browse files
committed
Raise minimum Magento version to 2.3
Since laminas/laminas-code was introduced for the code generation and since laminas/laminas-code cannot be installed side-by-side with zendframework/zend-code, the minimum Magento version has to be raised to 2.3.
1 parent a03f5fa commit c8d736d

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,18 @@ work for Magento 2 projects.
88

99
## Requirements
1010

11-
This PHPStan extension requires PHPStan 1.1. If you are using a Magento version that requires an older version of PHPStan,
12-
you need to manually upgrade before installing this extension.
11+
PHP: PHP 7.2 or higher
12+
13+
Magento: Magento 2.3 or higher
14+
15+
PHPStan: PHPStan 1.1
16+
17+
If you are using a Magento version that requires an older version of PHPStan, you need to manually upgrade it before
18+
installing this extension. Change the PHPStan version to 1.1 in your composer.json and run:
19+
20+
```
21+
composer update phpstan/phpstan --with-all-dependencies
22+
```
1323

1424
## Installation
1525

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"phpstan/phpstan": "^1.1.0"
2323
},
2424
"conflict": {
25-
"magento/framework": "<101.0.0"
25+
"magento/framework": "<102.0.0"
2626
},
2727
"require-dev": {
2828
"captainhook/captainhook": "^5.10.4",

0 commit comments

Comments
 (0)