From 273ca67d02379de5d563163a9ed74af2006ddf16 Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Wed, 26 Oct 2022 21:41:48 +0200 Subject: [PATCH] Revert "Do not require PHPStan 1.9.0 yet" This reverts commit 09b5c9ab38d4d601bcff04b4c9240832b86f5dda. --- composer.json | 2 +- phpstan.neon | 17 ----------------- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/composer.json b/composer.json index 40683ea..a7ec427 100644 --- a/composer.json +++ b/composer.json @@ -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" diff --git a/phpstan.neon b/phpstan.neon index d1a581a..2b8fa1a 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -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