Skip to content

Commit 9cd2754

Browse files
committed
fixed path to composer autoload, exit status code
1 parent 0b5046d commit 9cd2754

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

Tests/bootstrap.php

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
<?php
22

3-
if (!@include __DIR__ . '/../vendor/.composer/autoload.php') {
4-
die("You must set up the project dependencies, run the following commands:
5-
wget http://getcomposer.org/composer.phar
6-
php composer.phar install
7-
");
3+
if (!@include __DIR__ . '/../vendor/autoload.php') {
4+
echo <<<EOF
5+
You must set up the project dependencies, run the following commands:
6+
7+
wget http://getcomposer.org/composer.phar
8+
php composer.phar install
9+
10+
EOF;
11+
12+
exit(1);
813
}
914

1015
spl_autoload_register(function($class) {

0 commit comments

Comments
 (0)