h5p-editor-php-library icon indicating copy to clipboard operation
h5p-editor-php-library copied to clipboard

PHP 8.2 creation of dynamic properties is deprecated

Open thibsy opened this issue 1 year ago • 1 comments

Since PHP 8.2 the creation of dynamic properties triggers a deprecation notice.

There is (at least) one case inside H5PEditor::processParameters() which initialises the H5PEditor::$content property dynamically.

I've opened a PR to address this, see #259.

thibsy avatar Jun 17 '24 13:06 thibsy

This has been fixed with 389a551ae9c8a133a1944f0e8759ae366e531630, but the version including this commit has not been officially released yet, I therefore leave the issue open.

thibsy avatar Jun 17 '24 13:06 thibsy