Skip to content

Dynamic Properties deprecation in PHP 8.2 #501

Closed
@stesie

Description

@stesie

With PHP 8.2 the test suite actually works, but reports half of the tests failing, since they have deprecation notices like this:

Deprecated: Creation of dynamic property V8Js::$foo is deprecated

... because of this: https://php.watch/versions/8.2/dynamic-properties-deprecated

It's likely best to tag all V8Js classes with #[AllowDynamicProperties] attribute to omit this notice.
Need to find out how to programatically set this attribute in C++ code 🙂

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions