Browse Source

Let’s not use Composer’s autoload, since it fails in 5.2

This reverts commit af737f4cc72e1463e87f5bf946dab8d126d87a49.
This reverts commit 84a4ff5b16b0be42c969e7da50c7da7ce22fbe55.
Justin Hileman 11 năm trước cách đây
mục cha
commit
fdff8a4d15
2 tập tin đã thay đổi với 3 bổ sung5 xóa
  1. 0 3
      .travis.yml
  2. 3 2
      test/bootstrap.php

+ 0 - 3
.travis.yml

@@ -4,6 +4,3 @@ php:
   - 5.3
   - 5.4
   - 5.5
-
-before_script:
- - composer install

+ 3 - 2
test/bootstrap.php

@@ -9,7 +9,8 @@
  * file that was distributed with this source code.
  */
 
-$loader = require dirname(__FILE__).'/../vendor/autoload.php';
-$loader->add('Mustache_Test', dirname(__FILE__));
+require dirname(__FILE__).'/../src/Mustache/Autoloader.php';
+Mustache_Autoloader::register();
+Mustache_Autoloader::register(dirname(__FILE__).'/../test');
 
 require dirname(__FILE__).'/../vendor/yaml/lib/sfYamlParser.php';