diff options
Diffstat (limited to 'php-doctrine-dbal-bin.patch')
-rw-r--r-- | php-doctrine-dbal-bin.patch | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/php-doctrine-dbal-bin.patch b/php-doctrine-dbal-bin.patch index abb302e..2d1269f 100644 --- a/php-doctrine-dbal-bin.patch +++ b/php-doctrine-dbal-bin.patch @@ -1,7 +1,7 @@ diff -up ./bin/doctrine-dbal.php.rpm ./bin/doctrine-dbal.php ---- ./bin/doctrine-dbal.php.rpm 2018-12-10 15:16:50.314834508 +0100 -+++ ./bin/doctrine-dbal.php 2018-12-10 15:16:54.519857316 +0100 -@@ -1,26 +1,21 @@ +--- ./bin/doctrine-dbal.php.rpm 2020-09-21 12:14:14.995837618 +0200 ++++ ./bin/doctrine-dbal.php 2020-09-21 12:16:37.888455856 +0200 +@@ -1,27 +1,22 @@ +#!/usr/bin/env php <?php @@ -13,6 +13,7 @@ diff -up ./bin/doctrine-dbal.php.rpm ./bin/doctrine-dbal.php +$classLoaderSymfony = new \Doctrine\Common\ClassLoader('Symfony'); +$classLoaderSymfony->register(); + + use Doctrine\DBAL\Tools\Console\ConnectionProvider; use Doctrine\DBAL\Tools\Console\ConsoleRunner; use Symfony\Component\Console\Helper\HelperSet; |