From 506afa0227501b052744c2a80a5917c1bbcea318 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Sun, 18 Jan 2026 12:22:56 +0100 Subject: [PATCH] Fix PHP8.0 build --- build/baseline-7.4.neon | 5 ----- build/baseline-pre-8.0.neon | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build/baseline-7.4.neon b/build/baseline-7.4.neon index ba23d5cd54..b28b9f9f5d 100644 --- a/build/baseline-7.4.neon +++ b/build/baseline-7.4.neon @@ -77,8 +77,3 @@ parameters: message: "#^Class PHPStan\\\\Reflection\\\\BetterReflection\\\\SourceLocator\\\\CachingVisitor has an uninitialized property \\$constantNodes\\. Give it default value or assign it in the constructor\\.$#" count: 1 path: ../src/Reflection/BetterReflection/SourceLocator/CachingVisitor.php - - - - message: '#^Parameter \#1 \$array \(non-empty-list\) of array_values is already a list, call has no effect\.$#' - count: 1 - path: ../src/Type/TypeCombinator.php diff --git a/build/baseline-pre-8.0.neon b/build/baseline-pre-8.0.neon index 5d195f2e84..aa6284529c 100644 --- a/build/baseline-pre-8.0.neon +++ b/build/baseline-pre-8.0.neon @@ -128,3 +128,8 @@ parameters: message: '#^Parameter \#2 of function sprintf is expected to be string by placeholder \#1 \("%%s"\), string\|false given\.$#' count: 1 path: ../src/Rules/ClassForbiddenNameCheck.php + + - + message: '#^Parameter \#1 \$array \(non-empty-list\) of array_values is already a list, call has no effect\.$#' + count: 1 + path: ../src/Type/TypeCombinator.php