[Chore] Introduce psalm (#962)

* chore: introduce psalm

* chore: remove dead code

* chore: run psalm workflow

* chore: run psalm in grumphp

* normalize composer.json

* chore: analyse --> analyze

* chore: just remove psalm when running tests instead of worrying about dependency mismatch hell

Co-authored-by: mr-feek <[email protected]>
This commit is contained in:
feek
2020-06-22 20:28:59 +02:00
committed by GitHub
co-authored by mr-feek
parent 3381123e71
commit 545298c44d
9 changed files with 68 additions and 34 deletions
+2
View File
@@ -21,6 +21,7 @@ use Barryvdh\Reflection\DocBlock\Serializer as DocBlockSerializer;
class Alias
{
protected $alias;
/** @psalm-var class-string $facade */
protected $facade;
protected $extends = null;
protected $extendsClass = null;
@@ -43,6 +44,7 @@ class Alias
/**
* @param ConfigRepository $config
* @param string $alias
* @psalm-param class-string $facade
* @param string $facade
* @param array $magicMethods
* @param array $interfaces