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

pull/2300/head
Andreas 2023-07-16 09:49:49 +02:00
rodzic 1e300fbc30
commit 1f116eee67
6 zmienionych plików z 19 dodań i 1 usunięć

Wyświetl plik

@ -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 {
/** /**

Wyświetl plik

@ -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.

Wyświetl plik

@ -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
* *

Wyświetl plik

@ -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
* *

Wyświetl plik

@ -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 {
/** /**
@ -825,7 +826,7 @@ abstract class CI_DB_driver {
{ {
return $this->_trans_status; return $this->_trans_status;
} }
// -------------------------------------------------------------------- // --------------------------------------------------------------------
/** /**

Wyświetl plik

@ -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 {
/** /**