From d1e307c8158328e6559fcadc493a65cfa0b59ee6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 8 Jan 2019 09:02:28 +0100 Subject: update to 1.10.1 prefer symfony 4 --- php-doctrine-doctrine-bundle-vendor.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 php-doctrine-doctrine-bundle-vendor.patch (limited to 'php-doctrine-doctrine-bundle-vendor.patch') diff --git a/php-doctrine-doctrine-bundle-vendor.patch b/php-doctrine-doctrine-bundle-vendor.patch new file mode 100644 index 0000000..d3c9e13 --- /dev/null +++ b/php-doctrine-doctrine-bundle-vendor.patch @@ -0,0 +1,24 @@ +diff -up ./Tests/ProfilerTest.php.rpm ./Tests/ProfilerTest.php +--- ./Tests/ProfilerTest.php.rpm 2019-01-08 08:34:53.547673232 +0100 ++++ ./Tests/ProfilerTest.php 2019-01-08 08:35:26.067868176 +0100 +@@ -42,7 +42,7 @@ class ProfilerTest extends BaseTestCase + $this->collector->addLogger('foo', $this->logger); + + $twigLoaderFilesystem = new Twig_Loader_Filesystem(__DIR__ . '/../Resources/views/Collector'); +- $twigLoaderFilesystem->addPath(__DIR__ . '/../vendor/symfony/web-profiler-bundle/Resources/views', 'WebProfiler'); ++ $twigLoaderFilesystem->addPath('/usr/share/php/Symfony4/Bundle/WebProfilerBundle/Resources/views', 'WebProfiler'); + $this->twig = new Twig_Environment($twigLoaderFilesystem, ['debug' => true, 'strict_variables' => true]); + + $this->twig->addExtension(new CodeExtension('', '', '')); +diff -up ./Tests/ServiceRepositoryTest.php.rpm ./Tests/ServiceRepositoryTest.php +--- ./Tests/ServiceRepositoryTest.php.rpm 2019-01-08 08:31:26.000000000 +0100 ++++ ./Tests/ServiceRepositoryTest.php 2019-01-08 08:34:53.547673232 +0100 +@@ -36,7 +36,7 @@ class ServiceRepositoryTest extends Test + public function testRepositoryServiceWiring() + { + // needed for older versions of Doctrine +- AnnotationRegistry::registerFile(__DIR__ . '/../vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php'); ++ AnnotationRegistry::registerFile('/usr/share/php/Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php'); + + $container = new ContainerBuilder(new ParameterBag([ + 'kernel.name' => 'app', -- cgit