summaryrefslogtreecommitdiffstats
path: root/phpspec-autoload.php
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-04-27 16:02:21 +0200
committerRemi Collet <remi@remirepo.net>2017-04-27 16:02:21 +0200
commit57f13599e83b77c6acd2a29e9dba933fa4e8abf1 (patch)
treeae667d6a9a243a81bf20c52023c257daa7a40184 /phpspec-autoload.php
parent8634961179fd52ab1b09cc454cdccab70cc08047 (diff)
v3.3.0
Diffstat (limited to 'phpspec-autoload.php')
-rw-r--r--phpspec-autoload.php13
1 files changed, 9 insertions, 4 deletions
diff --git a/phpspec-autoload.php b/phpspec-autoload.php
index 8124ff4..13e657f 100644
--- a/phpspec-autoload.php
+++ b/phpspec-autoload.php
@@ -13,7 +13,12 @@ if (is_dir(getcwd().'/spec')) {
}
// Dependencies (Rely on include_path as in PHPUnit dependencies + circular dependencies)
-require_once 'phpspec/php-diff/autoload.php';
-require_once 'SebastianBergmann/Exporter/autoload.php';
-require_once 'Prophecy/autoload.php'; // After exporter to avoid newer version
-require_once 'Doctrine/Instantiator/autoload.php';
+\Fedora\Autoloader\Dependencies::required([
+ 'phpspec/php-diff/autoload.php',
+ 'Prophecy/autoload.php',
+ 'Doctrine/Instantiator/autoload.php',
+ [
+ 'SebastianBergmann/Exporter3/autoload.php',
+ 'SebastianBergmann/Exporter/autoload.php',
+ ],
+]);