-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
60 lines (51 loc) · 2.54 KB
/
Copy pathphpstan-baseline.neon
File metadata and controls
60 lines (51 loc) · 2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
parameters:
ignoreErrors:
-
message: '#^Call to function is_string\(\) with string will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/TwigHooks/src/Bag/DataBag.php
-
message: '#^Parameter \#1 \$values of method Symfony\\Component\\Console\\Completion\\CompletionSuggestions\:\:suggestValues\(\) expects list\<string\|Symfony\\Component\\Console\\Completion\\Suggestion\>, array\<string\> given\.$#'
identifier: argument.type
count: 1
path: src/TwigHooks/src/Console/Command/DebugTwigHooksCommand.php
-
message: '#^Call to function is_string\(\) with string will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: src/TwigHooks/src/Hookable/Metadata/HookableMetadata.php
-
message: '#^Trait Sylius\\TwigHooks\\LiveComponent\\HookableLiveComponentTrait is used zero times and is not analysed\.$#'
identifier: trait.unused
count: 1
path: src/TwigHooks/src/LiveComponent/HookableLiveComponentTrait.php
-
message: '#^Method Sylius\\TwigHooks\\LiveComponent\\Hydration\\DataBagHydrationExtension\:\:hydrate\(\) never returns null so it can be removed from the return type\.$#'
identifier: return.unusedType
count: 1
path: src/TwigHooks/src/LiveComponent/Hydration/DataBagHydrationExtension.php
-
message: '#^Property Sylius\\TwigHooks\\Profiler\\HooksDataCollector\:\:\$profile on left side of \?\?\= is not nullable nor uninitialized\.$#'
identifier: nullCoalesce.initializedProperty
count: 1
path: src/TwigHooks/src/Profiler/HooksDataCollector.php
-
message: '#^Instanceof between Sylius\\TwigHooks\\Hookable\\AbstractHookable and Sylius\\TwigHooks\\Hookable\\AbstractHookable will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: src/TwigHooks/src/Registry/HookablesRegistry.php
-
message: '#^Trait Sylius\\TwigHooks\\Twig\\Component\\HookableComponentTrait is used zero times and is not analysed\.$#'
identifier: trait.unused
count: 1
path: src/TwigHooks/src/Twig/Component/HookableComponentTrait.php
-
message: '#^Call to function method_exists\(\) with Twig\\Parser and ''parseExpression'' will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 2
path: src/TwigHooks/src/Twig/TokenParser/HookTokenParser.php
-
message: '#^Method Symfony\\Component\\ExpressionLanguage\\ExpressionLanguage\:\:lint\(\) invoked with 3 parameters, 2 required\.$#'
count: 1
path: src/TwigHooks/src/DependencyInjection/SyliusTwigHooksExtension.php