From 4dcb0b3c03f7b1caa4b0f5ac47a62e00072fdcc2 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Sat, 13 Sep 2025 17:05:17 +0700 Subject: [PATCH] Clean up PHPStan ignore errors --- phpstan.neon | 6 ------ 1 file changed, 6 deletions(-) diff --git a/phpstan.neon b/phpstan.neon index 854020bdd80..26b131aa034 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -187,9 +187,6 @@ parameters: message: '#Function "(function_exists|dump_node)\(\)" cannot be used/left in the code#' path: src/functions/node_helper.php - # false positive on enums - - '#Method Rector\\Console\\Command\\SetupCICommand\:\:resolveCurrentCI\(\) never returns (.*?) so it can be removed from the return type#' - # stmts aware/expression generics - '#PhpParser\\Node\\Stmt\\Expression is not generic#' @@ -271,8 +268,6 @@ parameters: message: '#Fetching (deprecated )?class constant (.*?) of (deprecated )?class (Rector\\Set\\ValueObject\\DowngradeLevelSetList|Rector\\Symfony\\Set\\(.*?))#' path: src/Configuration/RectorConfigBuilder.php - - '#::provideMinPhpVersion\(\) never returns \d+ so it can be removed from the return type#' - # runtime comparison - '#Comparison operation ".*" between int<\d+, \d+> and \d+ is always true#' @@ -280,7 +275,6 @@ parameters: - '#mapToPhpParserNode\(\) never returns PhpParser\\.* so it can be removed from the return#' # from constant string - - '#Method Rector\\.*::providePolyfillPackage\(\) never returns#' - '#Method Rector\\.*::filterPolyfillPackages\(\) should return array\<#' -