We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 020a0ad commit 170a6f9Copy full SHA for 170a6f9
broken-link-detector.php
@@ -36,10 +36,8 @@
36
/**
37
* Autoload plugin classes, if dependencies are installed.
38
*/
39
-try {
40
- require_once __DIR__ . '/vendor/autoload.php';
41
-} catch (Exception $e) {
42
- throw new Exception($e->getMessage());
+if (file_exists(__DIR__ . '/vendor/autoload.php')) {
+ require __DIR__ . '/vendor/autoload.php';
43
}
44
45
@@ -88,4 +86,4 @@
88
86
$registry,
89
87
$config,
90
$cliRunner
91
-);
+);
0 commit comments