diff --git a/composer.json b/composer.json index 1c7bb65..2eecae2 100644 --- a/composer.json +++ b/composer.json @@ -40,7 +40,7 @@ "orchestra/testbench": "^6 || ^7 || ^8", "phpunit/phpunit": "^8.5 || ^9", "spatie/phpunit-snapshot-assertions": "^3 || ^4", - "vimeo/psalm": "^3.12" + "vimeo/psalm": "^5.4" }, "suggest": { "illuminate/events": "Required for automatic helper generation (^6|^7|^8|^9|^10)." diff --git a/psalm-baseline.xml b/psalm-baseline.xml index ed4c6f2..f6a5b14 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,5 +1,5 @@ - + Factory @@ -7,13 +7,12 @@ - + \Auth + \Cache + \Cache \DB - \Cache - \Cache \Queue - \SSH \Storage diff --git a/src/Generator.php b/src/Generator.php index 9f0438f..61417e2 100644 --- a/src/Generator.php +++ b/src/Generator.php @@ -127,15 +127,6 @@ class Generator } catch (\Exception $e) { } - try { - if (class_exists('SSH') && is_a('SSH', '\Illuminate\Support\Facades\SSH', true)) { - $class = get_class(\SSH::connection()); - $this->extra['SSH'] = [$class]; - $this->interfaces['\Illuminate\Remote\ConnectionInterface'] = $class; - } - } catch (\Exception $e) { - } - try { if (class_exists('Storage') && is_a('Storage', '\Illuminate\Support\Facades\Storage', true)) { $class = get_class(\Storage::disk());