diff options
Diffstat (limited to 'phpspec-autoload.php')
| -rw-r--r-- | phpspec-autoload.php | 13 | 
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', +    ], +]); | 
