summaryrefslogtreecommitdiffstats
path: root/php-doctrine-orm-bin.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-10-17 17:31:28 +0200
committerRemi Collet <remi@remirepo.net>2018-10-17 17:31:28 +0200
commit3cd9d08dd8200462615c1e53c790d741ba8096b1 (patch)
treef2f7dd446d77998cf86dec9561d328b7176081d6 /php-doctrine-orm-bin.patch
parent7a3ba4eb845cefedc54246244ece644b7f97822d (diff)
update to 2.6.2
raise dependency on PHP 7.1 add dependency on doctrine/annotations raise dependency on doctrine/cache 1.6 raise dependency on doctrine/collections 1.4 raise dependency on doctrine/common 2.7.1 raise dependency on doctrine/dbal 2.6 raise dependency on doctrine/instantiator 1.1 switch to symfony 3 and 4 switch to phpunit6
Diffstat (limited to 'php-doctrine-orm-bin.patch')
-rw-r--r--php-doctrine-orm-bin.patch11
1 files changed, 7 insertions, 4 deletions
diff --git a/php-doctrine-orm-bin.patch b/php-doctrine-orm-bin.patch
index 08c7645..4b6ffa5 100644
--- a/php-doctrine-orm-bin.patch
+++ b/php-doctrine-orm-bin.patch
@@ -7,19 +7,22 @@ index 842c5493f..e1ccb7506 100755
<?php
/*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-@@ -20,14 +21,7 @@
+@@ -20,17 +21,7 @@
use Symfony\Component\Console\Helper\HelperSet;
use Doctrine\ORM\Tools\Console\ConsoleRunner;
--$autoloadFiles = array(__DIR__ . '/../vendor/autoload.php',
-- __DIR__ . '/../../../autoload.php');
+-$autoloadFiles = [
+- __DIR__ . '/../vendor/autoload.php',
+- __DIR__ . '/../../../autoload.php'
+-];
-
-foreach ($autoloadFiles as $autoloadFile) {
- if (file_exists($autoloadFile)) {
- require_once $autoloadFile;
+- break;
- }
-}
+require_once '__PHPDIR__/Doctrine/ORM/autoload.php';
- $directories = array(getcwd(), getcwd() . DIRECTORY_SEPARATOR . 'config');
+ $directories = [getcwd(), getcwd() . DIRECTORY_SEPARATOR . 'config'];