bcit-ci / CodeIgniter

Open Source PHP Framework (originally from EllisLab)
https://codeigniter.com/
MIT License
18.27k stars 7.6k forks source link

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

Open Richin opened 2 months ago

Richin commented 2 months ago

This pull request addresses the deprecation warning introduced in PHP 8.3 regarding dynamic property creation in core classes.

codestellar commented 1 month ago

sounds good @Richin however, the current version of codeigniter is supporting 8.1 only. I think there would be more changes to support 8.2

pocketarc commented 1 month ago

There's already a heavily-discussed PR for this change: https://github.com/bcit-ci/CodeIgniter/pull/6173

Once/if that gets merged in, this PR will no longer be necessary.

There have also been a number of forks to CodeIgniter 3 that add the necessary changes, including my own: https://github.com/pocketarc/codeigniter