Control: tags -1 patch
Control: severity -1 serious

Dear maintainers,

Here's my proposed patch for php-illuminate-database 6 compatibility.
I'll pursue a NMU soon if there are no objections.

I'm bumping the severity of this bug to serious. That seems to be the
adviced severity according to the transition workflow [1].

[1] https://wiki.debian.org/Teams/ReleaseTeam/Transitions

Regards,
Robin
From 9880ccb83e0c46120c7f5467b328519e2a8e7d22 Mon Sep 17 00:00:00 2001
From: Robin Gustafsson <ro...@rgson.se>
Date: Sun, 20 Dec 2020 14:08:36 +0100
Subject: [PATCH] Use php-illuminate-database 6

---
 debian/autoload.php                   | 2 +-
 debian/patches/composer-versions.diff | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/debian/autoload.php b/debian/autoload.php
index 3401dff..7f04fc3 100644
--- a/debian/autoload.php
+++ b/debian/autoload.php
@@ -2,7 +2,7 @@
 
 require_once('Composer/Autoload/ClassLoader.php');
 include_once('/usr/share/php/HTMLPurifier.composer.php');
-include_once('/usr/share/php/Illuminate/Support/helpers.php');
+include_once('/usr/share/php/Illuminate/Database/autoload.php');
 include_once('/usr/share/php/GuzzleHttp/Psr7/functions_include.php');
 include_once('/usr/share/php/React/Promise/functions_include.php');
 include_once('/usr/share/php/React/Promise/Stream/functions_include.php');
diff --git a/debian/patches/composer-versions.diff b/debian/patches/composer-versions.diff
index cbf3930..c54531c 100644
--- a/debian/patches/composer-versions.diff
+++ b/debian/patches/composer-versions.diff
@@ -25,9 +25,8 @@ Subject: Amend composer dependencies to use Debian versions
          "defuse/php-encryption": "^2.2.1",
  
 -        "robmorgan/phinx": "^0.11.4",
--        "illuminate/database": "^6.0",
 +        "robmorgan/phinx": "^0.9",
-+        "illuminate/database": "^5.8",
+         "illuminate/database": "^6.0",
          "doctrine/dbal": "^2.10",
  
          "cboden/ratchet": "^0.4.2",
-- 
2.20.1

Reply via email to