Skip to content

Commit

Permalink
Update psalm baseline
Browse files Browse the repository at this point in the history
Signed-off-by: William Desportes <williamdes@wdes.fr>
  • Loading branch information
williamdes committed Aug 18, 2021
1 parent d1a1ac4 commit 74134ce
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions psalm-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.9.2@00c062267d6e3229d91a1939992987e2d46f2393">
<files psalm-version="4.9.3@4c262932602b9bbab5020863d1eb22d49de0dbf4">
<file src="libraries/classes/Bookmark.php">
<RedundantCastGivenDocblockType occurrences="1">
<code>(int) $this-&gt;id</code>
Expand Down Expand Up @@ -116,6 +116,9 @@
</NonInvariantDocblockPropertyType>
</file>
<file src="libraries/classes/Config.php">
<InvalidArgument occurrences="1">
<code>$optionalParams</code>
</InvalidArgument>
<NullableReturnStatement occurrences="1">
<code>$this-&gt;get('is_https')</code>
</NullableReturnStatement>
Expand Down Expand Up @@ -1223,6 +1226,9 @@
<PossiblyUndefinedVariable occurrences="1">
<code>$protected_row</code>
</PossiblyUndefinedVariable>
<RedundantCastGivenDocblockType occurrences="1">
<code>(int) $rownumber</code>
</RedundantCastGivenDocblockType>
<TypeDoesNotContainType occurrences="2">
<code>$input_type === 'time'</code>
<code>$input_type === 'time'</code>
Expand Down Expand Up @@ -1299,9 +1305,12 @@
<PossiblyNullReference occurrences="1">
<code>addChild</code>
</PossiblyNullReference>
<RedundantCastGivenDocblockType occurrences="2">
<RedundantCastGivenDocblockType occurrences="5">
<code>(string) $child-&gt;name</code>
<code>(string) $child-&gt;name</code>
<code>(string) $key</code>
<code>(string) $key</code>
<code>(string) $key</code>
</RedundantCastGivenDocblockType>
</file>
<file src="libraries/classes/Navigation/NodeFactory.php">
Expand Down Expand Up @@ -2294,10 +2303,11 @@
<PossiblyNullPropertyFetch occurrences="1">
<code>$meta-&gt;type</code>
</PossiblyNullPropertyFetch>
<RedundantCastGivenDocblockType occurrences="3">
<RedundantCastGivenDocblockType occurrences="4">
<code>(string) $buffer</code>
<code>(string) $buffer</code>
<code>(string) $source</code>
<code>(string) $text</code>
</RedundantCastGivenDocblockType>
</file>
<file src="libraries/classes/Plugins/Transformations/Abs/ExternalTransformationsPlugin.php">
Expand Down Expand Up @@ -2620,10 +2630,6 @@
</TypeDoesNotContainType>
</file>
<file src="libraries/classes/Table/ColumnsDefinition.php">
<PossiblyFalseArgument occurrences="2">
<code>$form_params['db']</code>
<code>$form_params['table']</code>
</PossiblyFalseArgument>
<PossiblyUndefinedVariable occurrences="1">
<code>$submit_fulltext</code>
</PossiblyUndefinedVariable>
Expand Down

0 comments on commit 74134ce

Please sign in to comment.