From fb08c7087cbd07ce8caf774267881fa55b7fc313 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C5=A0pa=C4=8Dek?= Date: Tue, 16 Jan 2024 04:20:21 +0100 Subject: [PATCH] StaticCallNode is an alias of StaticMethodCallNode in Latte 3.0.12 But the alias is defined in the new class file but maybe instead of loading the file, a new alias map should be created? https://phpstan.org/user-guide/discovering-symbols#class-aliases --- phpstan.neon | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phpstan.neon b/phpstan.neon index 09c3a5a..b6f2ea4 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -12,6 +12,8 @@ parameters: excludePaths: - src/Latte/Filters.php - src/Latte/Macros.php + bootstrapFiles: + - vendor/latte/latte/src/Latte/Compiler/Nodes/Php/Expression/StaticMethodCallNode.php ignoreErrors: - count: 2