-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Covers some uncalled methods, removes dead code and updates doc blocks to satisfy newly discovered Psalm issues
- Loading branch information
Showing
8 changed files
with
40 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<files psalm-version="5.4.0@62db5d4f6a7ae0a20f7cc5a4952d730272fc0863"> | ||
<files psalm-version="5.11.0@c9b192ab8400fdaf04b2b13d110575adc879aa90"> | ||
<file src="src/ResultSet/ResultSetFactory.php"> | ||
<PossiblyUnusedMethod> | ||
<code>withHttpResponse</code> | ||
</PossiblyUnusedMethod> | ||
</file> | ||
<file src="test/Smoke/TestCase.php"> | ||
<RedundantCondition occurrences="6"> | ||
<RedundantCondition> | ||
<code>assert(is_array($configured))</code> | ||
<code>assert(is_array($spec))</code> | ||
<code>is_array($configured)</code> | ||
<code>is_array($spec)</code> | ||
<code>is_string($spec['url'])</code> | ||
<code>isset($spec['url']) && is_string($spec['url'])</code> | ||
<code><![CDATA[is_string($spec['url'])]]></code> | ||
<code><![CDATA[isset($spec['url']) && is_string($spec['url'])]]></code> | ||
<code>null</code> | ||
</RedundantCondition> | ||
<TypeDoesNotContainType occurrences="4"> | ||
<TypeDoesNotContainType> | ||
<code>is_array($content)</code> | ||
<code>is_string($spec['token'])</code> | ||
<code>isset($spec['token'])</code> | ||
<code>isset($spec['token']) && is_string($spec['token'])</code> | ||
<code><![CDATA[is_string($spec['token'])]]></code> | ||
<code><![CDATA[isset($spec['token'])]]></code> | ||
<code><![CDATA[isset($spec['token']) && is_string($spec['token'])]]></code> | ||
<code>null</code> | ||
</TypeDoesNotContainType> | ||
<UnusedPsalmSuppress occurrences="1"> | ||
<UnusedPsalmSuppress> | ||
<code>MissingFile</code> | ||
</UnusedPsalmSuppress> | ||
</file> | ||
<file src="test/Unit/QueryTest.php"> | ||
<InvalidReturnStatement occurrences="2"> | ||
<InvalidReturnStatement> | ||
<code>$queries</code> | ||
<code>$queries</code> | ||
</InvalidReturnStatement> | ||
<InvalidReturnType occurrences="2"> | ||
<code>array<string, array{0: Query, 1: string}></code> | ||
<code>array<string, array{0: Query, 1: string}></code> | ||
<InvalidReturnType> | ||
<code><![CDATA[array<string, array{0: Query, 1: string}>]]></code> | ||
<code><![CDATA[array<string, array{0: Query, 1: string}>]]></code> | ||
</InvalidReturnType> | ||
</file> | ||
</files> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters