diff options
author | Florian Pritz <bluewind@xinu.at> | 2023-01-29 14:20:06 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2023-01-29 14:20:06 +0100 |
commit | a4dccec7626946879f2110733a220aee3105193f (patch) | |
tree | bbce4bb65e760b09927b07cf62e321096161dd5b | |
parent | 0ca713be4d12c0c27c4997c5f206cab699dcaa15 (diff) |
feat(PHP8.2): Fix dynamic properties deprecation warnings
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r-- | application/controllers/api/api_controller.php | 1 | ||||
-rw-r--r-- | application/models/Mfile.php | 1 | ||||
-rw-r--r-- | application/service/multipaste_queue.php | 4 | ||||
-rw-r--r-- | application/test/tests/test_service_multipaste_queue.php | 5 | ||||
-rwxr-xr-x | application/third_party/test-more-php/Test-Simple-OO.php | 1 | ||||
-rw-r--r-- | system/libraries/Driver.php | 1 |
6 files changed, 13 insertions, 0 deletions
diff --git a/application/controllers/api/api_controller.php b/application/controllers/api/api_controller.php index d615d6cec..ad3ac6e73 100644 --- a/application/controllers/api/api_controller.php +++ b/application/controllers/api/api_controller.php @@ -10,6 +10,7 @@ namespace controllers\api; abstract class api_controller { + public $CI; public function __construct() { $this->CI =& get_instance(); } diff --git a/application/models/Mfile.php b/application/models/Mfile.php index 2c433887d..b9bb67d3c 100644 --- a/application/models/Mfile.php +++ b/application/models/Mfile.php @@ -10,6 +10,7 @@ class Mfile extends CI_Model { private $upload_path; + private $id_validation_config; function __construct() { diff --git a/application/service/multipaste_queue.php b/application/service/multipaste_queue.php index 553e9a6c2..ff202366c 100644 --- a/application/service/multipaste_queue.php +++ b/application/service/multipaste_queue.php @@ -11,6 +11,10 @@ namespace service; class multipaste_queue { + private $session; + private $mfile; + private $mmultipaste; + public function __construct($session = null, $mfile = null, $mmultipaste = null) { $CI =& get_instance(); diff --git a/application/test/tests/test_service_multipaste_queue.php b/application/test/tests/test_service_multipaste_queue.php index cab53e335..6bf078d97 100644 --- a/application/test/tests/test_service_multipaste_queue.php +++ b/application/test/tests/test_service_multipaste_queue.php @@ -11,6 +11,11 @@ namespace test\tests; class test_service_multipaste_queue extends \test\Test { + private $session; + private $mfile; + private $mmultipaste; + private $m; + public function __construct() { parent::__construct(); diff --git a/application/third_party/test-more-php/Test-Simple-OO.php b/application/third_party/test-more-php/Test-Simple-OO.php index 33fb643a9..a8302d208 100755 --- a/application/third_party/test-more-php/Test-Simple-OO.php +++ b/application/third_party/test-more-php/Test-Simple-OO.php @@ -73,6 +73,7 @@ class TestSimple { protected $NumberOfTests; protected $CurrentTestNumber; protected $Filter; + protected $LastFail; protected $notes; diff --git a/system/libraries/Driver.php b/system/libraries/Driver.php index 84f0b6c3e..7059be645 100644 --- a/system/libraries/Driver.php +++ b/system/libraries/Driver.php @@ -50,6 +50,7 @@ defined('BASEPATH') OR exit('No direct script access allowed'); * @author EllisLab Dev Team * @link */ +#[\AllowDynamicProperties] class CI_Driver_Library { /** |