summaryrefslogtreecommitdiffstats
path: root/php-doctrine-doctrine-bundle-vendor.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-doctrine-doctrine-bundle-vendor.patch')
-rw-r--r--php-doctrine-doctrine-bundle-vendor.patch19
1 files changed, 4 insertions, 15 deletions
diff --git a/php-doctrine-doctrine-bundle-vendor.patch b/php-doctrine-doctrine-bundle-vendor.patch
index 7eb2638..2452445 100644
--- a/php-doctrine-doctrine-bundle-vendor.patch
+++ b/php-doctrine-doctrine-bundle-vendor.patch
@@ -1,6 +1,6 @@
diff -up ./Tests/ProfilerTest.php.rpm ./Tests/ProfilerTest.php
---- ./Tests/ProfilerTest.php.rpm 2019-05-13 08:27:20.088593657 +0200
-+++ ./Tests/ProfilerTest.php 2019-05-13 08:27:53.090782715 +0200
+--- ./Tests/ProfilerTest.php.rpm 2019-11-20 15:05:37.038969160 +0100
++++ ./Tests/ProfilerTest.php 2019-11-20 15:07:34.760380533 +0100
@@ -41,7 +41,7 @@ class ProfilerTest extends BaseTestCase
$this->collector->addLogger('foo', $this->logger);
@@ -9,16 +9,5 @@ diff -up ./Tests/ProfilerTest.php.rpm ./Tests/ProfilerTest.php
+ $twigLoaderFilesystem->addPath('/usr/share/php/Symfony4/Bundle/WebProfilerBundle/Resources/views', 'WebProfiler');
$this->twig = new 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-05-13 08:11:25.000000000 +0200
-+++ ./Tests/ServiceRepositoryTest.php 2019-05-13 08:27:20.089593662 +0200
-@@ -35,7 +35,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',
+ $fragmentHandler = $this->getMockBuilder(FragmentHandler::class)->disableOriginalConstructor()->getMock();
+