Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding Psalm * Do composer install * Install psalm phar * typo * typo * Test psalm * Added make file * remove from composer.json * minor * revert order
- Loading branch information
Showing
4 changed files
with
131 additions
and
1 deletion.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<files psalm-version="3.11.5@3c60609c218d4d4b3b257728b8089094e5c6c6c2"> | ||
<file src="src/Client.php"> | ||
<NullArgument occurrences="1"> | ||
<code>null</code> | ||
</NullArgument> | ||
<PossiblyUndefinedVariable occurrences="1"> | ||
<code>$options</code> | ||
</PossiblyUndefinedVariable> | ||
<UndefinedInterfaceMethod occurrences="1"> | ||
<code>getBoundary</code> | ||
</UndefinedInterfaceMethod> | ||
</file> | ||
<file src="src/Cookie/CookieJar.php"> | ||
<PossiblyFalseOperand occurrences="1"> | ||
<code>$result</code> | ||
</PossiblyFalseOperand> | ||
</file> | ||
<file src="src/Exception/RequestException.php"> | ||
<ImplicitToStringCast occurrences="1"> | ||
<code>$uri</code> | ||
</ImplicitToStringCast> | ||
</file> | ||
<file src="src/Handler/CurlFactory.php"> | ||
<ImplicitToStringCast occurrences="1"> | ||
<code>$easy->request->getUri()</code> | ||
</ImplicitToStringCast> | ||
<TypeDoesNotContainType occurrences="1"> | ||
<code>$timeoutRequiresNoSignal && \strtoupper(\substr(\PHP_OS, 0, 3)) !== 'WIN'</code> | ||
</TypeDoesNotContainType> | ||
</file> | ||
<file src="src/Handler/CurlMultiHandler.php"> | ||
<InvalidArgument occurrences="1"> | ||
<code>$this->active</code> | ||
</InvalidArgument> | ||
<InvalidPropertyAssignmentValue occurrences="1"> | ||
<code>$this->active</code> | ||
</InvalidPropertyAssignmentValue> | ||
<UndefinedThisPropertyAssignment occurrences="1"> | ||
<code>$this->_mh</code> | ||
</UndefinedThisPropertyAssignment> | ||
</file> | ||
<file src="src/Handler/MockHandler.php"> | ||
<InvalidScalarArgument occurrences="1"> | ||
<code>$options['delay'] * 1000</code> | ||
</InvalidScalarArgument> | ||
</file> | ||
<file src="src/Handler/StreamHandler.php"> | ||
<ImplicitToStringCast occurrences="1"> | ||
<code>$uri</code> | ||
</ImplicitToStringCast> | ||
</file> | ||
<file src="src/HandlerStack.php"> | ||
<PropertyTypeCoercion occurrences="4"> | ||
<code>$this->stack</code> | ||
<code>$this->stack</code> | ||
<code>$this->stack</code> | ||
<code>$this->stack</code> | ||
</PropertyTypeCoercion> | ||
</file> | ||
<file src="src/MessageFormatter.php"> | ||
<InvalidScalarArgument occurrences="1"/> | ||
</file> | ||
<file src="src/Middleware.php"> | ||
<InvalidArgument occurrences="1"> | ||
<code>$request</code> | ||
</InvalidArgument> | ||
</file> | ||
<file src="src/RedirectMiddleware.php"> | ||
<ImplicitToStringCast occurrences="1"> | ||
<code>$location</code> | ||
</ImplicitToStringCast> | ||
</file> | ||
<file src="src/RetryMiddleware.php"> | ||
<TooManyArguments occurrences="1"> | ||
<code>($this->delay)(++$options['retries'], $response)</code> | ||
</TooManyArguments> | ||
</file> | ||
<file src="src/Utils.php"> | ||
<ForbiddenCode occurrences="1"> | ||
<code>\var_dump($input)</code> | ||
</ForbiddenCode> | ||
<PossiblyNullArgument occurrences="1"> | ||
<code>$info</code> | ||
</PossiblyNullArgument> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0"?> | ||
<psalm | ||
errorLevel="3" | ||
resolveFromConfigFile="true" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="https://getpsalm.org/schema/config" | ||
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" | ||
errorBaseline="psalm.baseline.xml" | ||
> | ||
<projectFiles> | ||
<directory name="src" /> | ||
<ignoreFiles> | ||
<directory name="vendor" /> | ||
</ignoreFiles> | ||
</projectFiles> | ||
</psalm> |