From b37f0962920a43b492f08f3e7b5167c60d7a77c5 Mon Sep 17 00:00:00 2001 From: core23 Date: Sun, 24 Jul 2016 11:22:03 +0200 Subject: [PATCH] Removed ugly symfony2 workaround --- Resources/stubs/symfony2.php | 18 ------------------ composer.json | 3 +-- 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 Resources/stubs/symfony2.php diff --git a/Resources/stubs/symfony2.php b/Resources/stubs/symfony2.php deleted file mode 100644 index 5ae426bb2..000000000 --- a/Resources/stubs/symfony2.php +++ /dev/null @@ -1,18 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\OptionsResolver; - -if (!interface_exists('Symfony\Component\OptionsResolver\OptionsResolverInterface')) { - interface OptionsResolverInterface - { - } -} diff --git a/composer.json b/composer.json index 7eadcfb20..b4a10752a 100644 --- a/composer.json +++ b/composer.json @@ -38,8 +38,7 @@ "psr-4": { "Sonata\\BlockBundle\\": "" }, "exclude-from-classmap": [ "Tests/" - ], - "files": ["Resources/stubs/symfony2.php"] + ] }, "autoload-dev": { "psr-4": { "Sonata\\BlockBundle\\Tests\\": "Tests/" }