Skip to content

Fix typed property syntax for PHP 7.3 compatibility in WebhookTest#405

Merged
Keith-wright merged 1 commit into
masterfrom
fix/webhook-test-php73-compat
May 26, 2026
Merged

Fix typed property syntax for PHP 7.3 compatibility in WebhookTest#405
Keith-wright merged 1 commit into
masterfrom
fix/webhook-test-php73-compat

Conversation

@Keith-wright
Copy link
Copy Markdown
Contributor

The unit tests added in #404 used public array $logs = [] in anonymous classes, which requires PHP 7.4+. PHP 7.3 is in the test matrix and fails with a syntax error on this line. Removes the type annotation to restore compatibility across all supported PHP versions.

@Keith-wright Keith-wright requested a review from aonemd May 18, 2026 13:19
@Keith-wright Keith-wright merged commit e275938 into master May 26, 2026
16 checks passed
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.

3 participants