pocketarc / codeigniter

Fork of CI3 kept up to date with PHP 8.3 (and beyond; will be maintained indefinitely).
MIT License
61 stars 14 forks source link

Fix deprecated dynamic property creation in CI_Profiler Library #12

Open ajdunn2 opened 3 months ago

ajdunn2 commented 3 months ago

Due to PHP 8.2 deprecation of dynamic property creation, we can explicitly declare all compile* properties in the CI_Profiler class. These properties are known as they are created based on the $_available_sections array. This would be a clearer approach than just using #[AllowDynamicProperties]

RedDragonWebDesign commented 2 months ago

Fixes #13

RedDragonWebDesign commented 2 months ago

Any chance this can be merged soon and a release made? I'd like to turn deprecation notices back on in my repo.