|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<files psalm-version="4.x-dev@"> |
| 2 | +<files psalm-version="dev-master@"> |
3 | 3 | <file src="src/CodeCoverage.php"> |
4 | 4 | <ArgumentTypeCoercion occurrences="1"> |
5 | 5 | <code>$unit[0]</code> |
|
19 | 19 | <code>isLarge</code> |
20 | 20 | <code>isMedium</code> |
21 | 21 | </InternalMethod> |
22 | | - <RedundantConditionGivenDocblockType occurrences="1"> |
| 22 | + <RedundantCondition occurrences="1"> |
23 | 23 | <code>is_array($linesToBeCovered)</code> |
24 | | - </RedundantConditionGivenDocblockType> |
| 24 | + </RedundantCondition> |
25 | 25 | <UnresolvableInclude occurrences="1"> |
26 | 26 | <code>include_once $uncoveredFile</code> |
27 | 27 | </UnresolvableInclude> |
|
77 | 77 | </PropertyNotSetInConstructor> |
78 | 78 | </file> |
79 | 79 | <file src="src/Node/Builder.php"> |
80 | | - <EmptyArrayAccess occurrences="1"> |
81 | | - <code>$pointer[$path[$i] . $type]</code> |
82 | | - </EmptyArrayAccess> |
| 80 | + <UnsupportedReferenceUsage occurrences="1"> |
| 81 | + <code>$pointer = &$pointer[$path[$i] . $type]</code> |
| 82 | + </UnsupportedReferenceUsage> |
83 | 83 | </file> |
84 | 84 | <file src="src/Node/Directory.php"> |
85 | 85 | <DocblockTypeContradiction occurrences="3"> |
86 | 86 | <code>$this->classes === null</code> |
87 | 87 | <code>$this->functions === null</code> |
88 | 88 | <code>$this->traits === null</code> |
89 | 89 | </DocblockTypeContradiction> |
| 90 | + <MissingTemplateParam occurrences="1"> |
| 91 | + <code>IteratorAggregate</code> |
| 92 | + </MissingTemplateParam> |
90 | 93 | <PropertyNotSetInConstructor occurrences="3"> |
91 | 94 | <code>$classes</code> |
92 | 95 | <code>$functions</code> |
|
96 | 99 | <code>$this->directories</code> |
97 | 100 | <code>$this->files</code> |
98 | 101 | </PropertyTypeCoercion> |
| 102 | + <UnsupportedReferenceUsage occurrences="2"> |
| 103 | + <code>$this->directories[] = &$this->children[count($this->children) - 1]</code> |
| 104 | + <code>$this->files[] = &$this->children[count($this->children) - 1]</code> |
| 105 | + </UnsupportedReferenceUsage> |
99 | 106 | </file> |
100 | 107 | <file src="src/Node/File.php"> |
101 | 108 | <DocblockTypeContradiction occurrences="5"> |
|
122 | 129 | <ArgumentTypeCoercion occurrences="1"> |
123 | 130 | <code>$this->nodes[$this->position]</code> |
124 | 131 | </ArgumentTypeCoercion> |
| 132 | + <MissingTemplateParam occurrences="1"> |
| 133 | + <code>RecursiveIterator</code> |
| 134 | + </MissingTemplateParam> |
125 | 135 | <PropertyNotSetInConstructor occurrences="1"> |
126 | 136 | <code>$position</code> |
127 | 137 | </PropertyNotSetInConstructor> |
|
130 | 140 | <PossiblyNullArgument occurrences="1"> |
131 | 141 | <code>$this->functionCoverage[$file][$functionName]['branches'][$branchId]['hit']</code> |
132 | 142 | </PossiblyNullArgument> |
133 | | - <PossiblyNullArrayAccess occurrences="1"> |
| 143 | + <PossiblyNullArrayAccess occurrences="3"> |
134 | 144 | <code>$this->functionCoverage[$file][$functionName]['branches']</code> |
| 145 | + <code>$this->functionCoverage[$file][$functionName]['branches'][$branchId]</code> |
| 146 | + <code>$this->functionCoverage[$file][$functionName]['branches'][$branchId]['hit']</code> |
135 | 147 | </PossiblyNullArrayAccess> |
136 | 148 | <PossiblyNullArrayAssignment occurrences="1"> |
137 | 149 | <code>$this->functionCoverage[$file][$functionName]['branches']</code> |
|
0 commit comments