From 4fa46760f4738001a371c05aaa68fb2be7acdced Mon Sep 17 00:00:00 2001 From: Rena Forsberg Date: Tue, 8 Sep 2020 21:52:35 +0200 Subject: [PATCH] [PSALM] Update baseline (#1044) * composer: add script to set psalm baseline * composer psalm-set-baseline --- composer.json | 1 + psalm-baseline.xml | 16 +++++++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 0cd686e..1d340b3 100644 --- a/composer.json +++ b/composer.json @@ -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" diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 3f479d3..120fa08 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,8 +1,13 @@ - + + + + Factory + Factory + + - - '\Laravel\Lumen\Application' + \Auth \DB \Cache @@ -12,4 +17,9 @@ \Storage + + + new PhpEngine() + +