Skip to content

Conversation

@devfrey
Copy link
Contributor

@devfrey devfrey commented Dec 8, 2025

Static properties cannot be marked as readonly. See note in PHP docs: https://www.php.net/manual/en/language.oop5.properties.php#language.oop5.properties.readonly-properties

@JanTvrdik JanTvrdik requested a review from janedbal December 8, 2025 13:45
@janedbal janedbal merged commit 791c9e8 into shipmonk-rnd:master Dec 8, 2025
26 checks passed
@janedbal
Copy link
Member

janedbal commented Dec 8, 2025

Thank you, released in https://github.com/shipmonk-rnd/phpstan-rules/releases/tag/4.3.1

@devfrey devfrey deleted the static-readonly branch December 8, 2025 14:12
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.

2 participants