Details |
Last modification |
View Log
| RSS feed
Rev |
Author |
Line No. |
Line |
536 |
mathias |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
// if the library is the project, try to use the composer's autoload for the tests
|
|
|
4 |
$composerAutoload = __DIR__ . '/../vendor/autoload.php';
|
|
|
5 |
|
|
|
6 |
if (is_file($composerAutoload)) {
|
|
|
7 |
include $composerAutoload;
|
|
|
8 |
} else {
|
|
|
9 |
die('Unable to find autoload.php file, please use composer to load dependencies:
|
|
|
10 |
|
|
|
11 |
wget http://getcomposer.org/composer.phar
|
|
|
12 |
php composer.phar install
|
|
|
13 |
|
|
|
14 |
Visit http://getcomposer.org/ for more information.
|
|
|
15 |
|
|
|
16 |
');
|
|
|
17 |
}
|