Skip to content

PHP Deprecated: Creation of dynamic property should get fixed #30

@alexclst

Description

@alexclst

Current Outcome

Currently whenever I use this PHP SDK on PHP 8.2 and above I see a bunch of deprecation notices about dynamic properties. One example of many I get with any run of the PHP SDK is:

PHP Deprecated:  Creation of dynamic property SpinupWp\Resources\Site::$status is deprecated in ./vendor/spinupwp/spinupwp-php-sdk/src/Resources/Resource.php on line 32

Desired Outcome

Ideally the PHP SDK would be updated to not generate any such notices.

Acceptance Criteria

  • Fix all deprecation notices in the library, of which there are particularly quite a few for the creation of dynamic properties.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: ChoreImproves non-user-facing functionality that makes other jobs possible to achieve

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions