Skip to content

Conversation

@spaze
Copy link
Owner

@spaze spaze commented Feb 23, 2025

@spaze spaze self-assigned this Feb 23, 2025
@spaze spaze merged commit 8b08807 into main Feb 23, 2025
4 checks passed
@spaze spaze deleted the spaze/constant-type-hints branch February 23, 2025 20:31
spaze added a commit to spaze/phpstan-disallowed-calls that referenced this pull request Feb 24, 2025
Need to bump the coding standard because otherwise phpcs complains that "Referenced sniff does not exist" even if excluded.

I could still add docblock types for the constants, but let's not go there and wait until only PHP 8.3+ is supported (don't hold your breath).

spaze/coding-standard [1.8.0](https://github.com/spaze/coding-standard/releases/tag/v1.8.0) adds the rule in spaze/coding-standard#26.
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