Skip to content

Commit

Permalink
StaticCallNode is an alias of StaticMethodCallNode in Latte 3.0.12
Browse files Browse the repository at this point in the history
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
  • Loading branch information
spaze committed Jan 16, 2024
1 parent e6ecbbc commit fb08c70
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fb08c70

Please sign in to comment.