Skip to content

File tree

3 files changed

+4
-14
lines changed

3 files changed

+4
-14
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"orchestra/testbench": "^6 || ^7 || ^8",
4141
"phpunit/phpunit": "^8.5 || ^9",
4242
"spatie/phpunit-snapshot-assertions": "^3 || ^4",
43-
"vimeo/psalm": "^3.12"
43+
"vimeo/psalm": "^5.4"
4444
},
4545
"suggest": {
4646
"illuminate/events": "Required for automatic helper generation (^6|^7|^8|^9|^10)."

psalm-baseline.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<files psalm-version="3.15@de6e7f324f44dde540ebe7ebd4eb481b97c86f30">
2+
<files psalm-version="5.4.0@62db5d4f6a7ae0a20f7cc5a4952d730272fc0863">
33
<file src="src/Factories.php">
44
<UndefinedClass occurrences="2">
55
<code>Factory</code>
66
<code>Factory</code>
77
</UndefinedClass>
88
</file>
99
<file src="src/Generator.php">
10-
<UndefinedClass occurrences="7">
10+
<UndefinedClass occurrences="6">
1111
<code>\Auth</code>
12-
<code>\DB</code>
1312
<code>\Cache</code>
1413
<code>\Cache</code>
14+
<code>\DB</code>
1515
<code>\Queue</code>
16-
<code>\SSH</code>
1716
<code>\Storage</code>
1817
</UndefinedClass>
1918
</file>

src/Generator.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,6 @@ class_exists('Auth') && is_a('Auth', '\Illuminate\Support\Facades\Auth', true)
127127
} catch (\Exception $e) {
128128
}
129129

130-
try {
131-
if (class_exists('SSH') && is_a('SSH', '\Illuminate\Support\Facades\SSH', true)) {
132-
$class = get_class(\SSH::connection());
133-
$this->extra['SSH'] = [$class];
134-
$this->interfaces['\Illuminate\Remote\ConnectionInterface'] = $class;
135-
}
136-
} catch (\Exception $e) {
137-
}
138-
139130
try {
140131
if (class_exists('Storage') && is_a('Storage', '\Illuminate\Support\Facades\Storage', true)) {
141132
$class = get_class(\Storage::disk());

0 commit comments

Comments
 (0)