Skip to content

Commit ea0763b

Browse files
committed
Update the phpstan baseline
1 parent ad6d960 commit ea0763b

File tree

1 file changed

+11
-21
lines changed

1 file changed

+11
-21
lines changed

phpstan-baseline.neon

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ parameters:
261261
path: src/Parser/NodeVisitor.php
262262

263263
-
264-
message: "#^Method Doctum\\\\Parser\\\\NodeVisitor\\:\\:findParameterInTags\\(\\) return type has no value type specified in iterable type array\\.$#"
264+
message: "#^Method Doctum\\\\Parser\\\\NodeVisitor\\:\\:findParameterInTags\\(\\) should return array\\{array\\{string, bool\\}, string, string\\}\\|null but returns non\\-empty\\-array\\.$#"
265265
count: 1
266266
path: src/Parser/NodeVisitor.php
267267

@@ -665,11 +665,6 @@ parameters:
665665
count: 1
666666
path: src/Project.php
667667

668-
-
669-
message: "#^Property Doctum\\\\Project\\:\\:\\$functions \\(array\\<string, array\\<string, Doctum\\\\Reflection\\\\FunctionReflection\\>\\>\\) does not accept array\\<int\\|string, array\\<string, Doctum\\\\Reflection\\\\FunctionReflection\\>\\>\\.$#"
670-
count: 1
671-
path: src/Project.php
672-
673668
-
674669
message: "#^Property Doctum\\\\Project\\:\\:\\$interfaces has no type specified\\.$#"
675670
count: 1
@@ -1655,16 +1650,6 @@ parameters:
16551650
count: 1
16561651
path: src/Renderer/Renderer.php
16571652

1658-
-
1659-
message: "#^Property Doctum\\\\Renderer\\\\Renderer\\:\\:\\$cachedSearchIndex \\(array\\<string, array\\<string, mixed\\>\\>\\) does not accept array\\<int\\|string, array\\<string, mixed\\>\\>\\.$#"
1660-
count: 1
1661-
path: src/Renderer/Renderer.php
1662-
1663-
-
1664-
message: "#^Property Doctum\\\\Renderer\\\\Renderer\\:\\:\\$cachedTree \\(array\\<string, array\\<string, Doctum\\\\TreeNode\\|int\\>\\>\\) does not accept array\\<int\\|string, array\\<string, mixed\\>\\>\\.$#"
1665-
count: 1
1666-
path: src/Renderer/Renderer.php
1667-
16681653
-
16691654
message: "#^Property Doctum\\\\Renderer\\\\Renderer\\:\\:\\$filesystem has no type specified\\.$#"
16701655
count: 1
@@ -1845,6 +1830,11 @@ parameters:
18451830
count: 1
18461831
path: src/Renderer/TwigExtension.php
18471832

1833+
-
1834+
message: "#^Offset 1 on array\\{string, non\\-empty\\-string\\} on left side of \\?\\? always exists and is not nullable\\.$#"
1835+
count: 1
1836+
path: src/Renderer/TwigExtension.php
1837+
18481838
-
18491839
message: "#^Property Doctum\\\\Renderer\\\\TwigExtension\\:\\:\\$project has no type specified\\.$#"
18501840
count: 1
@@ -1885,11 +1875,6 @@ parameters:
18851875
count: 1
18861876
path: src/Store/ArrayStore.php
18871877

1888-
-
1889-
message: "#^Property Doctum\\\\Store\\\\ArrayStore\\:\\:\\$classes \\(array\\<string, Doctum\\\\Reflection\\\\ClassReflection\\>\\) does not accept array\\<int\\|string, mixed\\>\\.$#"
1890-
count: 1
1891-
path: src/Store/ArrayStore.php
1892-
18931878
-
18941879
message: "#^Method Doctum\\\\Store\\\\JsonStore\\:\\:readClass\\(\\) has parameter \\$name with no type specified\\.$#"
18951880
count: 1
@@ -2080,6 +2065,11 @@ parameters:
20802065
count: 1
20812066
path: tests/ProjectTest.php
20822067

2068+
-
2069+
message: "#^Call to an undefined method Doctum\\\\Tests\\\\Renderer\\\\DiffTest\\:\\:assertFileDoesNotExist\\(\\)\\.$#"
2070+
count: 1
2071+
path: tests/Renderer/DiffTest.php
2072+
20832073
-
20842074
message: "#^Method Doctum\\\\Tests\\\\Renderer\\\\TwigExtensionTest\\:\\:dataProviderParseDesc\\(\\) return type has no value type specified in iterable type array\\.$#"
20852075
count: 1

0 commit comments

Comments
 (0)