From 53ead7dc8b09a2d7039b262075639d317dc94cb5 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Thu, 20 Jun 2024 22:52:23 +0900 Subject: [PATCH] phpstan error cleanup --- phpstan.neon | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/phpstan.neon b/phpstan.neon index 2e47e3e5..58b41464 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -31,30 +31,10 @@ parameters: - tests/Set/*/config/configured_set.php # debug functions - - - message: '#Do not name "d", shorter than 2 chars#' - path: tests/debug_functions.php - message: '#Function "(d|function_exists)\(\)" cannot be used/left in the code#' path: tests/debug_functions.php - # laravel config - - - path: config/yaml-to-annotations.php - message: '#Do not use chained method calls\. Put each on separated lines#' - - # config example - - '#The path "/config/yaml_mapping_directory" was not found#' - - - '#Parameter \#3 \$values of class Rector\\BetterPhpDocParser\\PhpDoc\\DoctrineAnnotationTagValueNode constructor expects array, array given#' - - # false positive - - - message: '#On passing a constant, the method should have an enum type#' - paths: - - src/NodeManipulator/ColumnPropertyTypeResolver.php - - src/NodeManipulator/NullabilityColumnPropertyTypeResolver.php - # false positive - message: '#PHPDoc tag @return contains unresolvable type#'