[PHP8.2] Updated CI files to work with PHP8.2

This commit is contained in:
Andreas
2023-07-16 09:49:49 +02:00
parent 1e300fbc30
commit 1f116eee67
6 changed files with 19 additions and 1 deletions

View File

@@ -49,6 +49,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
* @author EllisLab Dev Team * @author EllisLab Dev Team
* @link https://codeigniter.com/userguide3/general/controllers.html * @link https://codeigniter.com/userguide3/general/controllers.html
*/ */
#[AllowDynamicProperties]
class CI_Controller { class CI_Controller {
/** /**

View File

@@ -48,6 +48,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
* @author EllisLab Dev Team * @author EllisLab Dev Team
* @link https://codeigniter.com/userguide3/libraries/loader.html * @link https://codeigniter.com/userguide3/libraries/loader.html
*/ */
#[AllowDynamicProperties]
class CI_Loader { class CI_Loader {
// All these are set automatically. Don't mess with them. // All these are set automatically. Don't mess with them.

View File

@@ -50,6 +50,13 @@ defined('BASEPATH') OR exit('No direct script access allowed');
*/ */
class CI_Router { class CI_Router {
/**
* CI_URI class object
*
* @var object
*/
public $uri;
/** /**
* CI_Config class object * CI_Config class object
* *

View File

@@ -50,6 +50,13 @@ defined('BASEPATH') OR exit('No direct script access allowed');
*/ */
class CI_URI { class CI_URI {
/**
* CI_Config instance
*
* @var CI_Config
*/
public $config;
/** /**
* List of cached URI segments * List of cached URI segments
* *

View File

@@ -50,6 +50,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
* @author EllisLab Dev Team * @author EllisLab Dev Team
* @link https://codeigniter.com/userguide3/database/ * @link https://codeigniter.com/userguide3/database/
*/ */
#[AllowDynamicProperties]
abstract class CI_DB_driver { abstract class CI_DB_driver {
/** /**

View File

@@ -52,6 +52,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
* @author EllisLab Dev Team * @author EllisLab Dev Team
* @link https://codeigniter.com/userguide3/general/profiling.html * @link https://codeigniter.com/userguide3/general/profiling.html
*/ */
#[AllowDynamicProperties]
class CI_Profiler { class CI_Profiler {
/** /**