Skip to content

Commit

Permalink
Revert "Do not require PHPStan 1.9.0 yet"
Browse files Browse the repository at this point in the history
This reverts commit e431a6c.
  • Loading branch information
ondrejmirtes committed Oct 28, 2022
1 parent dea1f87 commit 2de71f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"require": {
"php": "^7.2 || ^8.0",
"phpstan/phpstan": "^1.8.11"
"phpstan/phpstan": "^1.9.0"
},
"conflict": {
"phpunit/phpunit": "<7.0"
Expand Down
17 changes: 0 additions & 17 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,3 @@ includes:
parameters:
excludePaths:
- tests/*/data/*

services:
scopeIsInClass:
class: PHPStan\Internal\ScopeIsInClassTypeSpecifyingExtension
arguments:
isInMethodName: isInClass
removeNullMethodName: getClassReflection
tags:
- phpstan.typeSpecifier.methodTypeSpecifyingExtension

scopeIsInTrait:
class: PHPStan\Internal\ScopeIsInClassTypeSpecifyingExtension
arguments:
isInMethodName: isInTrait
removeNullMethodName: getTraitReflection
tags:
- phpstan.typeSpecifier.methodTypeSpecifyingExtension

0 comments on commit 2de71f9

Please sign in to comment.