From 57f13599e83b77c6acd2a29e9dba933fa4e8abf1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 27 Apr 2017 16:02:21 +0200 Subject: v3.3.0 --- phpspec-autoload.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'phpspec-autoload.php') 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', + ], +]); -- cgit