-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathphpstan.neon
More file actions
44 lines (37 loc) · 1.25 KB
/
phpstan.neon
File metadata and controls
44 lines (37 loc) · 1.25 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
parameters:
level: 8
paths:
- src
ignoreErrors:
# LazyLoad trait: PHP < 8.4 workaround intentionally unsets readonly properties and assigns them later via __get()
-
identifier: property.uninitializedReadonly
path: src/Assets/
-
identifier: property.readOnlyAssignNotInConstructor
path: src/Assets/
# intentional guard for $needVariable counter before baseUrl setup
-
identifier: identical.alwaysFalse
count: 1
path: src/Bridges/AssetsDI/DIExtension.php
# Extension::getFilters()/getFunctions() — callable has no fixed signature, varies per filter/function
-
identifier: missingType.callable
path: src/Bridges/AssetsLatte/
# Latte function closures accept broad types (array, variadic) narrowed at runtime by Registry
-
identifier: argument.type
count: 4
path: src/Bridges/AssetsLatte/LatteExtension.php
# AssetNode::create() uses new static() for extensibility by PreloadNode
-
identifier: new.static
count: 1
path: src/Bridges/AssetsLatte/Nodes/AssetNode.php
# $el->attributes is nullable in older Latte versions, non-nullable in newer; nullsafe kept for compatibility
-
identifier: nullsafe.neverNull
count: 1
path: src/Bridges/AssetsLatte/Nodes/NAssetNode.php
reportUnmatched: false