Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.3: Deprecation Warning for Dynamic Property Creation in Class #6299

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 78 additions & 0 deletions system/core/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,84 @@ class CI_Controller {
*/
public $load;

/**
* CI_Benchmark
*
* @var CI_Benchmark
*/
public $benchmark;

/**
* CI_Config
*
* @var CI_Config
*/
public $config;

/**
* CI_Log
*
* @var CI_Log
*/
public $log;

/**
* CI_Hooks
*
* @var CI_Hooks
*/
public $hooks;

/**
* CI_Lang
*
* @var CI_Lang
*/
public $lang;

/**
* CI_Utf8
*
* @var CI_Utf8
*/
public $utf8;

/**
* CI_Uri
*
* @var CI_Uri
*/
public $uri;

/**
* CI_Router
*
* @var CI_Router
*/

public $router;

/**
* CI_Output
*
* @var CI_Output
*/
public $output;

/**
* CI_Security
*
* @var CI_Security
*/
public $security;

/**
* CI_Input
*
* @var CI_Input
*/
public $input;

/**
* Class constructor
*
Expand Down
74 changes: 74 additions & 0 deletions system/core/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,80 @@ class CI_Loader {
*/
protected $_ci_helpers = array();

/**
* List of loaded libraries
*
* @var array
*/
protected $load;

/**
*
* @var CI_Benchmark
*/
protected $benchmark;

/**
*
* @var CI_Config
*/
protected $config;

/**
*
* @var CI_Log
*/
protected $log;

/**
*
* @var CI_Hooks
*/
protected $hooks;

/**
*
* @var CI_Lang
*/
protected $lang;

/**
*
* @var CI_Utf8
*/
protected $utf8;

/**
*
* @var CI_Uri
*/
protected $uri;

/**
*
* @var CI_Router
*/
protected $router;

/**
*
* @var CI_output
*/
protected $output;

/**
*
* @var CI_security
*/
protected $security;

/**
*
* @var CI_Input
*/
protected $input;


/**
* List of class name mappings
*
Expand Down
8 changes: 8 additions & 0 deletions system/core/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,14 @@ class CI_Router {
*/
public $enable_query_strings = FALSE;

/**
* CI_URI class object
*
* @var object
*/
public $uri;


// --------------------------------------------------------------------

/**
Expand Down
7 changes: 7 additions & 0 deletions system/core/URI.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@ class CI_URI {
*/
public $rsegments = array();

/**
* Associative array of URI config
*
* @var array
*/
public $config;

/**
* Permitted URI chars
*
Expand Down