Skip to content

Commit

Permalink
qa: fix CS issues and update baseline to remove unused entries
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Weier O'Phinney <[email protected]>
  • Loading branch information
weierophinney committed May 1, 2023
1 parent ddf9497 commit b5f2b9e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
20 changes: 0 additions & 20 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@
<InvalidPropertyAssignmentValue>
<code>$headerNames</code>
</InvalidPropertyAssignmentValue>
<MixedArgument>
<code>is_object($version) ? $version::class : gettype($version)</code>
</MixedArgument>
<MixedArgumentTypeCoercion>
<code>$header</code>
<code>$header</code>
Expand All @@ -65,13 +62,6 @@
<code><![CDATA[$new->headerNames]]></code>
<code><![CDATA[$new->headers]]></code>
</PropertyTypeCoercion>
<RedundantCondition>
<code>gettype($version)</code>
</RedundantCondition>
<TypeDoesNotContainType>
<code>is_object($version)</code>
<code>is_string($version)</code>
</TypeDoesNotContainType>
</file>
<file src="src/Module.php">
<UnusedClass>
Expand Down Expand Up @@ -278,11 +268,6 @@
<code><![CDATA[$this->file]]></code>
</PossiblyNullArgument>
</file>
<file src="src/UploadedFileFactory.php">
<PossiblyNullArgument>
<code>$size</code>
</PossiblyNullArgument>
</file>
<file src="src/Uri.php">
<MixedArgument>
<code>$key</code>
Expand Down Expand Up @@ -483,11 +468,6 @@
<code>$ret</code>
</MixedAssignment>
</file>
<file src="test/Integration/UploadedFileTest.php">
<PossiblyNullArgument>
<code><![CDATA[$stream->getSize()]]></code>
</PossiblyNullArgument>
</file>
<file src="test/MessageTraitTest.php">
<MixedArgument>
<code>$value</code>
Expand Down
2 changes: 0 additions & 2 deletions src/MessageTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@
use function array_map;
use function array_merge;
use function array_values;
use function gettype;
use function implode;
use function is_array;
use function is_object;
use function is_resource;
use function is_string;
use function preg_match;
Expand Down

0 comments on commit b5f2b9e

Please sign in to comment.