Skip to content

Commit a56d200

Browse files
committed
qa: add another false positive to Psalm baseline
Several tests have ".dist" config files that a setUp process copies to a path omitting the suffix. That file is then _included_ by the test in order to do assertions. Psalm was flagging the include as invalid due to the file not existing in a clean setup (which it will not). Signed-off-by: Matthew Weier O'Phinney <[email protected]>
1 parent 765cb25 commit a56d200

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

psalm-baseline.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5134,6 +5134,9 @@
51345134
<DocblockTypeContradiction occurrences="1">
51355135
<code>empty($this-&gt;modulePathSpec)</code>
51365136
</DocblockTypeContradiction>
5137+
<MissingFile occurrences="1">
5138+
<code>include $path . '/config/module.config.php'</code>
5139+
</MissingFile>
51375140
<MixedArgument occurrences="25">
51385141
<code>$configData-&gt;config_file</code>
51395142
<code>$configData-&gt;config_file</code>

0 commit comments

Comments
 (0)