Skip to content

Commit

Permalink
[PSALM] Update baseline (#1044)
Browse files Browse the repository at this point in the history
* composer: add script to set psalm baseline

* composer psalm-set-baseline
  • Loading branch information
renaforsberg824 committed Sep 8, 2020
1 parent 374a82f commit 4fa4676
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"php-cs-fixer fix",
"php-cs-fixer fix --config=.php_cs.tests.php"
],
"psalm-set-baseline": "psalm --set-baseline=psalm-baseline.xml",
"test": "phpunit",
"test-ci": "phpunit -d --without-creating-snapshots",
"test-regenerate": "phpunit -d --update-snapshots"
Expand Down
16 changes: 13 additions & 3 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="3.12.0@d46283075d76ed244f7825b378eeb1cee246af73">
<files psalm-version="3.15@de6e7f324f44dde540ebe7ebd4eb481b97c86f30">
<file src="src/Factories.php">
<UndefinedClass occurrences="2">
<code>Factory</code>
<code>Factory</code>
</UndefinedClass>
</file>
<file src="src/Generator.php">
<UndefinedClass occurrences="8">
<code>'\Laravel\Lumen\Application'</code>
<UndefinedClass occurrences="7">
<code>\Auth</code>
<code>\DB</code>
<code>\Cache</code>
Expand All @@ -12,4 +17,9 @@
<code>\Storage</code>
</UndefinedClass>
</file>
<file src="src/IdeHelperServiceProvider.php">
<TooFewArguments occurrences="1">
<code>new PhpEngine()</code>
</TooFewArguments>
</file>
</files>

0 comments on commit 4fa4676

Please sign in to comment.