Skip to content

Commit d5b6be3

Browse files
committed
added composer autoload
1 parent db0f551 commit d5b6be3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lib/command/cli.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
* file that was distributed with this source code.
99
*/
1010

11+
require_once __DIR__.'/../../vendor/autoload.php';
12+
1113
// Try autoloading using composer if available.
1214
if (!file_exists($autoload = __DIR__.'/../../../../autoload.php')) {
1315
$autoload = __DIR__.'/../../autoload.php';

test/bootstrap/unit.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
* file that was distributed with this source code.
99
*/
1010

11+
require_once __DIR__.'/../../vendor/autoload.php';
12+
1113
// setup expected test environment (per check_configuration.php)
1214
ini_set('magic_quotes_runtime', 'off');
1315
ini_set('session.auto_start', 'off');

0 commit comments

Comments
 (0)