Skip to content

Commit 09b5c9a

Browse files
committed
Do not require PHPStan 1.9.0 yet
This reverts commit d963a07.
1 parent 9b88cef commit 09b5c9a

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
],
88
"require": {
99
"php": "^7.2 || ^8.0",
10-
"phpstan/phpstan": "^1.9.0"
10+
"phpstan/phpstan": "^1.8.11"
1111
},
1212
"conflict": {
1313
"phpunit/phpunit": "<7.0"

phpstan.neon

+17
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,20 @@ includes:
88
parameters:
99
excludePaths:
1010
- tests/*/data/*
11+
12+
services:
13+
scopeIsInClass:
14+
class: PHPStan\Internal\ScopeIsInClassTypeSpecifyingExtension
15+
arguments:
16+
isInMethodName: isInClass
17+
removeNullMethodName: getClassReflection
18+
tags:
19+
- phpstan.typeSpecifier.methodTypeSpecifyingExtension
20+
21+
scopeIsInTrait:
22+
class: PHPStan\Internal\ScopeIsInClassTypeSpecifyingExtension
23+
arguments:
24+
isInMethodName: isInTrait
25+
removeNullMethodName: getTraitReflection
26+
tags:
27+
- phpstan.typeSpecifier.methodTypeSpecifyingExtension

0 commit comments

Comments
 (0)