Skip to content

Commit

Permalink
Fix for a fresh composer install that doesn't yet have a bootstra.php…
Browse files Browse the repository at this point in the history
….cache.
  • Loading branch information
dongilbert committed Jun 13, 2016
1 parent a514c37 commit faf6c07
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ php:
# At the moment Composer can't resolve dependencies for these PHP versions.
#- 5.3
#- 5.4
- 5.5
#- 5.5
- 5.6
- 7.0

Expand Down
6 changes: 5 additions & 1 deletion app/autoload.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<?php

require_once __DIR__ . '/bootstrap.php.cache';
$bootstrap = __DIR__.'/bootstrap.php.cache';

if (file_exists($bootstrap)) {
require_once __DIR__.'/bootstrap.php.cache';
}

use Doctrine\Common\Annotations\AnnotationRegistry;
use Composer\Autoload\ClassLoader;
Expand Down
49 changes: 25 additions & 24 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit faf6c07

Please sign in to comment.