Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
php-db
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian PHP Team
PEAR
php-db
Commits
f2123b04
Verified
Commit
f2123b04
authored
2 years ago
by
William Desportes
Browse files
Options
Downloads
Patches
Plain Diff
Add a patch for PHP 8.2 dynamic properties (Closes: #1033832)
parent
914a40f8
No related branches found
No related tags found
1 merge request
!1
Fix failing tests
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/patches/0004-Fix-DB_error-tests-dynamic-properties-PHP-8.2.patch
+25
-0
25 additions, 0 deletions
.../0004-Fix-DB_error-tests-dynamic-properties-PHP-8.2.patch
debian/patches/series
+1
-0
1 addition, 0 deletions
debian/patches/series
with
26 additions
and
0 deletions
debian/patches/0004-Fix-DB_error-tests-dynamic-properties-PHP-8.2.patch
0 → 100644
+
25
−
0
View file @
f2123b04
From: William Desportes <williamdes@wdes.fr>
Date: Sun, 2 Apr 2023 16:56:24 +0200
Subject: Fix DB_error tests dynamic properties PHP 8.2
Warning: Undefined array key 8192 in DB-1.11.0/tests/db_error2.php on line 43
: creation of dynamic property db_error::$callback is deprecated in pear.php on line xxx
Origin: vendor
Forwarded: no
---
DB-1.11.0/DB.php | 1 +
1 file changed, 1 insertion(+)
diff --git a/DB-1.11.0/DB.php b/DB-1.11.0/DB.php
index f4df46a..cdb6c35 100644
--- a/DB-1.11.0/DB.php
+++ b/DB-1.11.0/DB.php
@@ -961,6 +961,7 @@
class DB
* @version Release: 1.11.0
* @link http://pear.php.net/package/DB
*/
+#[\AllowDynamicProperties]
class DB_Error extends PEAR_Error
{
// {{{ constructor
This diff is collapsed.
Click to expand it.
debian/patches/series
+
1
−
0
View file @
f2123b04
0001-Remove-GET-and-POST-sections-in-tests-to-fix-FTBFS-o.patch
0002-PHP8-fixes.patch
0003-Fix-PHP8-tests-and-query-function.patch
0004-Fix-DB_error-tests-dynamic-properties-PHP-8.2.patch
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment