Skip to content

Commit 950821a

Browse files
author
Dan Cryer
committed
Fix
1 parent 6aa9a9f commit 950821a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

phpdoccheck

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@
88
* @link http://www.phptesting.org/
99
*/
1010

11-
require_once(dirname(__FILE__) . '/vendor/autoload.php');
11+
$autoloader = dirname(__FILE__) . '/vendor/autoload.php';
12+
13+
if (file_exists($autoloader)) {
14+
require_once($autoloader);
15+
}
16+
1217
require_once(dirname(__FILE__) . '/PhpDocblockChecker/CheckerApplication.php');
1318
require_once(dirname(__FILE__) . '/PhpDocblockChecker/CheckerCommand.php');
1419

0 commit comments

Comments
 (0)