forked from KnpLabs/KnpMenu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-baseline.neon
22 lines (18 loc) · 1.14 KB
/
phpstan-baseline.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
parameters:
ignoreErrors:
-
message: "#^Call to an undefined method Symfony\\\\Component\\\\HttpFoundation\\\\RequestStack\\:\\:getMasterRequest\\(\\)\\.$#"
count: 1
path: src/Knp/Menu/Matcher/Voter/RouteVoter.php
-
message: "#^Strict comparison using \\=\\=\\= between false and array\\<Knp\\\\Menu\\\\ItemInterface\\> will always evaluate to false\\.$#"
count: 1
path: src/Knp/Menu/MenuItem.php
-
message: "#^Parameter \\#2 \\$path of method Knp\\\\Menu\\\\Twig\\\\Helper\\:\\:get\\(\\) expects array\\<int, string\\>, array\\<Knp\\\\Menu\\\\ItemInterface\\|string\\> given\\.$#"
count: 1
path: src/Knp/Menu/Twig/Helper.php
-
message: "#^Method Knp\\\\Menu\\\\Util\\\\MenuManipulator\\:\\:getBreadcrumbsArray\\(\\) should return array\\<int, array\\{label\\: string, uri\\: string\\|null, item\\: Knp\\\\Menu\\\\ItemInterface\\|null\\}\\> but returns array\\<int, array\\{label\\: string, uri\\: string\\|null, item\\: Knp\\\\Menu\\\\ItemInterface\\|null\\}\\|array\\{label\\: string, url\\: string\\|null, item\\: Knp\\\\Menu\\\\ItemInterface\\|null\\}\\>\\.$#"
count: 1
path: src/Knp/Menu/Util/MenuManipulator.php