Add baseline to capture existing errors

This commit is contained in:
Matthew Brown 2020-01-08 00:11:05 -05:00
parent 77e1b8a321
commit 6be511d576
2 changed files with 48 additions and 0 deletions

47
psalm-baseline.xml Normal file
View File

@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="3.x-dev@e70a282bce68adaafe00980bba017c7278d511d8">
<file src="src/AbstractPlugin.php">
<MismatchingDocblockParamType occurrences="1">
<code>\Illuminate\Contracts\Foundation\Application|\Laravel\Lumen\Application|\Illuminate\Container\Container</code>
</MismatchingDocblockParamType>
<PossiblyInvalidArgument occurrences="3">
<code>$app</code>
<code>$app</code>
<code>$app</code>
</PossiblyInvalidArgument>
<UndefinedDocblockClass occurrences="2">
<code>\Illuminate\Contracts\Foundation\Application|\Laravel\Lumen\Application|\Illuminate\Container\Container</code>
<code>\Illuminate\Contracts\Foundation\Application|\Laravel\Lumen\Application|\Illuminate\Container\Container</code>
</UndefinedDocblockClass>
<UndefinedInterfaceMethod occurrences="2">
<code>$app</code>
<code>$app</code>
</UndefinedInterfaceMethod>
</file>
<file src="src/FakeMetaCommand.php">
<PropertyNotSetInConstructor occurrences="1">
<code>FakeMetaCommand</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/FakeModelsCommand.php">
<PropertyNotSetInConstructor occurrences="1">
<code>FakeModelsCommand</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/LumenPlugin.php">
<UndefinedClass occurrences="1">
<code>\Laravel\Lumen\Application</code>
</UndefinedClass>
<UndefinedDocblockClass occurrences="1">
<code>\Illuminate\Contracts\Foundation\Application|\Laravel\Lumen\Application|\Illuminate\Container\Container</code>
</UndefinedDocblockClass>
</file>
<file src="src/Plugin.php">
<UndefinedDocblockClass occurrences="1">
<code>\Illuminate\Contracts\Foundation\Application|\Laravel\Lumen\Application|\Illuminate\Container\Container</code>
</UndefinedDocblockClass>
<UndefinedMethod occurrences="1">
<code>getProvider</code>
</UndefinedMethod>
</file>
</files>

View File

@ -4,6 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config"
errorBaseline="psalm-baseline.xml"
>
<projectFiles>
<directory name="src" />