Skip to content

Conversation

@ajdunn2
Copy link

@ajdunn2 ajdunn2 commented Jun 7, 2024

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]

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
Copy link

Fixes #13

@RedDragonWebDesign
Copy link

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

@pocketarc
Copy link
Owner

Thanks for that - I'll have a look and merge + make a new release this week. I've also started looking at PHP 8.4 now that the RC is out, as it seems there's a few changes there that will need to be made.

@ludobesse
Copy link

Great, thank you very much.

@pocketarc pocketarc merged commit 9018343 into pocketarc:develop Oct 27, 2024
@pocketarc pocketarc mentioned this pull request Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants