From c45b1bc745a4bd106c21df642739dd61c057b869 Mon Sep 17 00:00:00 2001 From: bjorn Date: Thu, 2 Jul 2026 12:26:18 +0200 Subject: [PATCH] fix: baseline EntityManagerRector::refactorExpression() argument.type error --- phpstan-baseline.neon | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 4312e592..5dc9d31b 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -327,6 +327,12 @@ parameters: count: 1 path: src/Drupal8/Rector/Deprecation/EntityManagerRector.php + - + message: '#^Parameter \#1 \$expr of method DrupalRector\\Drupal8\\Rector\\Deprecation\\EntityManagerRector\:\:refactorExpression\(\) expects PhpParser\\Node\\Expr\\MethodCall\|PhpParser\\Node\\Expr\\StaticCall, PhpParser\\Node\\Expr given\.$#' + identifier: argument.type + count: 1 + path: src/Drupal8/Rector/Deprecation/EntityManagerRector.php + - message: '#^Property PhpParser\\Node\\Expr\\Assign\:\:\$expr \(PhpParser\\Node\\Expr\) does not accept PhpParser\\Node\.$#' identifier: assign.propertyType