From b7e6500f7674768eb53b0cacaad983be98bd7059 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 30 Oct 2016 18:05:33 +0100 Subject: php-cs-fixer: 1.12.3 --- php-cs-fixer-autoload.php | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) (limited to 'php-cs-fixer-autoload.php') diff --git a/php-cs-fixer-autoload.php b/php-cs-fixer-autoload.php index dcaa350..5523869 100644 --- a/php-cs-fixer-autoload.php +++ b/php-cs-fixer-autoload.php @@ -1,20 +1,12 @@ register(); -} +\Fedora\Autoloader\Autoload::addPsr4('Symfony\\CS\\', __DIR__); -$fedoraClassLoader->addPrefix('Symfony\\CS\\', dirname(dirname(__DIR__))); - -// Dependencies -require_once $vendorDir . '/Symfony/Component/autoload.php'; -require_once $vendorDir . '/SebastianBergmann/Diff/autoload.php'; +\Fedora\Autoloader\Dependencies::required(array( + '/usr/share/php/Symfony/Component/autoload.php', + '/usr/share/php/SebastianBergmann/Diff/autoload.php', +)); -- cgit