Skip to content

Commit ee05cb0

Browse files
authored
Merge pull request #318 from bitExpert/dependabot/composer/phpstan/phpstan-approx-1.11.1
Update phpstan/phpstan requirement from ~1.10.3 to ~1.11.1
2 parents b93128e + 548663a commit ee05cb0

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

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

1515
Magento: Magento 2.3.0 or higher
1616

17-
PHPStan: PHPStan 1.10
17+
PHPStan: PHPStan 1.11
1818

1919
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
20-
installing this extension. in your composer.json Change the PHPStan version to `~1.10` and run:
20+
installing this extension. in your composer.json Change the PHPStan version to `~1.11` and run:
2121

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

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"php": "^7.2.0 || ^8.1.0",
2424
"ext-dom": "*",
2525
"laminas/laminas-code": "~3.3.0 || ~3.4.1 || ~3.5.1 || ^4.5 || ^4.10",
26-
"phpstan/phpstan": "~1.10.3",
26+
"phpstan/phpstan": "~1.11.1",
2727
"symfony/finder": "^3.0 || ^4.0 || ^5.0 || ^6.0"
2828
},
2929
"conflict": {

phpstan.neon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ parameters:
4141
message: '~is not covered by backward compatibility promise.~'
4242
path: tests/bitExpert/PHPStan/Magento/Autoload/ExtensionAutoloaderUnitTest.php
4343
-
44-
message: '~Parameter #1 $argument of class ReflectionClass constructor expects class-string<MyUncachedExtension>|MyUncachedExtension, string given~'
44+
message: '~Parameter #1 \$argument of class ReflectionClass constructor expects class-string<MyUncachedExtension>|MyUncachedExtension, string given~'
4545
path: tests/bitExpert/PHPStan/Magento/Autoload/ExtensionAutoloaderUnitTest.php
4646
-
4747
message: '~is not covered by backward compatibility promise.~'
4848
path: tests/bitExpert/PHPStan/Magento/Autoload/ExtensionInterfaceAutoloaderUnitTest.php
4949
-
50-
message: '~Parameter #1 $argument of class ReflectionClass constructor expects class-string<UncachedExtensionInterface>|UncachedExtensionInterface, string given~'
50+
message: '~Parameter #1 \$argument of class ReflectionClass constructor expects class-string<UncachedExtensionInterface>|UncachedExtensionInterface, string given~'
5151
path: tests/bitExpert/PHPStan/Magento/Autoload/ExtensionInterfaceAutoloaderUnitTest.php
5252
-
5353
message: '~bitExpert\\PHPStan\\Magento\\Rules\\Helper\\SampleModel::__construct\(\) does not call parent constructor~'

0 commit comments

Comments
 (0)