|
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>$tmp[0]</code>
|
|
12 | 12 | <PossiblyNullArgument occurrences="1">
|
13 | 13 | <code>$this->functionCoverage[$file][$functionName]['branches'][$branchId]['hit']</code>
|
14 | 14 | </PossiblyNullArgument>
|
15 |
| - <PossiblyNullArrayAccess occurrences="1"> |
| 15 | + <PossiblyNullArrayAccess occurrences="3"> |
16 | 16 | <code>$this->functionCoverage[$file][$functionName]['branches']</code>
|
| 17 | + <code>$this->functionCoverage[$file][$functionName]['branches'][$branchId]</code> |
| 18 | + <code>$this->functionCoverage[$file][$functionName]['branches'][$branchId]['hit']</code> |
17 | 19 | </PossiblyNullArrayAccess>
|
18 | 20 | <PossiblyNullArrayAssignment occurrences="1">
|
19 | 21 | <code>$this->functionCoverage[$file][$functionName]['branches']</code>
|
|
49 | 51 | </InvalidDocblockParamName>
|
50 | 52 | </file>
|
51 | 53 | <file src="src/Node/Builder.php">
|
52 |
| - <EmptyArrayAccess occurrences="1"> |
53 |
| - <code>$pointer[$path[$i] . $type]</code> |
54 |
| - </EmptyArrayAccess> |
| 54 | + <UnsupportedReferenceUsage occurrences="1"> |
| 55 | + <code>$pointer = &$pointer[$path[$i] . $type]</code> |
| 56 | + </UnsupportedReferenceUsage> |
55 | 57 | </file>
|
56 | 58 | <file src="src/Node/Directory.php">
|
| 59 | + <MissingTemplateParam occurrences="1"> |
| 60 | + <code>IteratorAggregate</code> |
| 61 | + </MissingTemplateParam> |
57 | 62 | <PropertyTypeCoercion occurrences="2">
|
58 | 63 | <code>$this->directories</code>
|
59 | 64 | <code>$this->files</code>
|
60 | 65 | </PropertyTypeCoercion>
|
| 66 | + <UnsupportedReferenceUsage occurrences="2"> |
| 67 | + <code>$this->directories[] = &$this->children[count($this->children) - 1]</code> |
| 68 | + <code>$this->files[] = &$this->children[count($this->children) - 1]</code> |
| 69 | + </UnsupportedReferenceUsage> |
61 | 70 | </file>
|
62 | 71 | <file src="src/Node/File.php">
|
63 | 72 | <InvalidPropertyAssignmentValue occurrences="3">
|
|
70 | 79 | <ArgumentTypeCoercion occurrences="1">
|
71 | 80 | <code>$this->nodes[$this->position]</code>
|
72 | 81 | </ArgumentTypeCoercion>
|
| 82 | + <MissingTemplateParam occurrences="1"> |
| 83 | + <code>RecursiveIterator</code> |
| 84 | + </MissingTemplateParam> |
73 | 85 | <PropertyNotSetInConstructor occurrences="1">
|
74 | 86 | <code>$position</code>
|
75 | 87 | </PropertyNotSetInConstructor>
|
76 | 88 | </file>
|
77 | 89 | <file src="src/Report/Html/Renderer.php">
|
78 |
| - <InvalidScalarArgument occurrences="1"/> |
| 90 | + <InvalidArgument occurrences="1"/> |
79 | 91 | </file>
|
80 | 92 | <file src="src/Report/Html/Renderer/File.php">
|
81 |
| - <InvalidScalarArgument occurrences="1"/> |
| 93 | + <InvalidArgument occurrences="1"/> |
82 | 94 | </file>
|
83 | 95 | <file src="src/Report/Xml/BuildInformation.php">
|
84 | 96 | <PossiblyNullReference occurrences="1">
|
|
0 commit comments