From 5fe557962a12382b0c2881626a51fc20a4c27091 Mon Sep 17 00:00:00 2001 From: mpetit-labsoft Date: Tue, 2 Jul 2024 15:42:30 +0200 Subject: [PATCH 1/2] Fixed deprecated info "Creation of dynamic property" This fixed deprecated info in PHP 8.3 --- src/Nulpunkt/Yesql/Statement/Select.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Nulpunkt/Yesql/Statement/Select.php b/src/Nulpunkt/Yesql/Statement/Select.php index 47ae3bf..84a1c0b 100644 --- a/src/Nulpunkt/Yesql/Statement/Select.php +++ b/src/Nulpunkt/Yesql/Statement/Select.php @@ -7,6 +7,7 @@ class Select implements Statement private $sql; private $modline; private $rowFunc; + private $rowClass; private $stmt; public function __construct($sql, $modline) From 2d57fc2f24a8772b785242bc515126f73af3e6ba Mon Sep 17 00:00:00 2001 From: mpetit-labsoft Date: Tue, 2 Jul 2024 15:45:08 +0200 Subject: [PATCH 2/2] Fixed deprecated "Creation of dynamic property" in PHP 8.3 Creation of dynamic property is deprecated in PHP 8.3, so, this missing property are declared in class definition --- src/Nulpunkt/Yesql/Statement/MapInput.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Nulpunkt/Yesql/Statement/MapInput.php b/src/Nulpunkt/Yesql/Statement/MapInput.php index 6f2b915..16178d4 100644 --- a/src/Nulpunkt/Yesql/Statement/MapInput.php +++ b/src/Nulpunkt/Yesql/Statement/MapInput.php @@ -6,6 +6,8 @@ class MapInput implements Statement { private $statement; private $modline; + private $argNames; + private $inFunc; public function __construct($statement, $modline, $argNames) {