workos-php icon indicating copy to clipboard operation
workos-php copied to clipboard

Fixed deprecation notices in tests

Open blobaugh opened this issue 3 months ago • 0 comments

Description

The tests were throwing deprecation notices due to dynamic class properties being set. This PR resolves them by explicitly setting the properties.

Example of a notice that was thrown:

Deprecated: Creation of dynamic property WorkOS\WebhookTest::$payload is deprecated

Documentation

Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.

[ ] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

blobaugh avatar Aug 27 '25 15:08 blobaugh