Skip to content

Commit

Permalink
Update psalm baseline and ignore config.inc.php for psalm
Browse files Browse the repository at this point in the history
Signed-off-by: William Desportes <williamdes@wdes.fr>
  • Loading branch information
williamdes committed Jul 13, 2022
1 parent 03e2701 commit 9054339
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 17 deletions.
39 changes: 22 additions & 17 deletions psalm-baseline.xml
Expand Up @@ -3689,22 +3689,22 @@
<code>$fieldcontent</code>
<code>$mimetype</code>
<code>$newCol</code>
<code>Util::getValueByKey($_POST, "field_collation.${i}", '')</code>
<code>Util::getValueByKey($_POST, "field_collation_orig.${i}", '')</code>
<code>Util::getValueByKey($_POST, "field_comments.${i}", '')</code>
<code>Util::getValueByKey($_POST, "field_comments_orig.${i}", '')</code>
<code>Util::getValueByKey($_POST, "field_expression.${i}", '')</code>
<code>Util::getValueByKey($_POST, "field_expression_orig.${i}", '')</code>
<code>Util::getValueByKey($_POST, "field_extra.${i}", false)</code>
<code>Util::getValueByKey($_POST, "field_extra_orig.${i}", false)</code>
<code>Util::getValueByKey($_POST, "field_move_to.${i}", '')</code>
<code>Util::getValueByKey($_POST, "field_move_to_orig.${i}", '')</code>
<code>Util::getValueByKey($_POST, "field_null.${i}", 'NO')</code>
<code>Util::getValueByKey($_POST, "field_null_orig.${i}", 'NO')</code>
<code>Util::getValueByKey($_POST, "field_orig.${i}", '')</code>
<code>Util::getValueByKey($_POST, "field_orig.${i}", '')</code>
<code>Util::getValueByKey($_POST, "field_virtuality.${i}", '')</code>
<code>Util::getValueByKey($_POST, "field_virtuality_orig.${i}", '')</code>
<code>Util::getValueByKey($_POST, 'field_collation.' . $i, '')</code>
<code>Util::getValueByKey($_POST, 'field_collation_orig.' . $i, '')</code>
<code>Util::getValueByKey($_POST, 'field_comments.' . $i, '')</code>
<code>Util::getValueByKey($_POST, 'field_comments_orig.' . $i, '')</code>
<code>Util::getValueByKey($_POST, 'field_expression.' . $i, '')</code>
<code>Util::getValueByKey($_POST, 'field_expression_orig.' . $i, '')</code>
<code>Util::getValueByKey($_POST, 'field_extra.' . $i, false)</code>
<code>Util::getValueByKey($_POST, 'field_extra_orig.' . $i, false)</code>
<code>Util::getValueByKey($_POST, 'field_move_to.' . $i, '')</code>
<code>Util::getValueByKey($_POST, 'field_move_to_orig.' . $i, '')</code>
<code>Util::getValueByKey($_POST, 'field_null.' . $i, 'NO')</code>
<code>Util::getValueByKey($_POST, 'field_null_orig.' . $i, 'NO')</code>
<code>Util::getValueByKey($_POST, 'field_orig.' . $i, '')</code>
<code>Util::getValueByKey($_POST, 'field_orig.' . $i, '')</code>
<code>Util::getValueByKey($_POST, 'field_virtuality.' . $i, '')</code>
<code>Util::getValueByKey($_POST, 'field_virtuality_orig.' . $i, '')</code>
</MixedArgument>
<MixedArrayAccess occurrences="31">
<code>$_POST[$field . '_orig'][$i]</code>
Expand Down Expand Up @@ -13221,7 +13221,7 @@
<code>$table</code>
<code>$table</code>
<code>$type</code>
<code>Util::getValueByKey($_POST, "field_key.${columnNumber}", '')</code>
<code>Util::getValueByKey($_POST, 'field_key.' . $columnNumber, '')</code>
<code>Util::getValueByKey($extracted_columnspec, 'attribute', '')</code>
</MixedArgument>
<MixedArrayAccess occurrences="10">
Expand Down Expand Up @@ -15661,6 +15661,11 @@
<code>getGroup</code>
</PossiblyUndefinedMethod>
</file>
<file src="test/classes/RoutingTest.php">
<DeprecatedMethod occurrences="1">
<code>assertFileNotExists</code>
</DeprecatedMethod>
</file>
<file src="test/classes/SanitizeTest.php">
<MixedInferredReturnType occurrences="4">
<code>array</code>
Expand Down
1 change: 1 addition & 0 deletions psalm.xml
Expand Up @@ -20,6 +20,7 @@
<file name="show_config_errors.php"/>
<file name="url.php"/>
<ignoreFiles>
<file name="config.inc.php"/>
<directory name="vendor"/>
<directory name="libraries/cache"/>
</ignoreFiles>
Expand Down

0 comments on commit 9054339

Please sign in to comment.