Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 09b5c9a

Browse files
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 17 additions & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /