Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary constants #1441

Closed
wants to merge 2 commits into from

Conversation

akmandev
Copy link

@akmandev akmandev commented Aug 1, 2024

No description provided.

Ozan Akman added 2 commits August 1, 2024 13:21
The option "--test-suite" doesn't exist, the correct one doesn't have dash character between test and suite. It should be "--testsuite" instead.

This will correct it.
These constants came from the parent classes, and they're exactly the same as the parent ones.
The issue is they conflict on PHP 8.4, because of the "int" type is being added there.

Since the values are exactly the same, and there is no usage different; This will remove the unneeded constants.
@Ocramius Ocramius linked an issue Aug 1, 2024 that may be closed by this pull request
@Ocramius Ocramius added bug enhancement dependencies Pull requests that update a dependency file labels Aug 1, 2024
@Ocramius Ocramius added this to the 6.40.0 milestone Aug 1, 2024
@Ocramius
Copy link
Member

Ocramius commented Aug 3, 2024

Handled in #1442

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug dependencies Pull requests that update a dependency file enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ReflectionClass::IS_READONLY is a typed class constant in PHP 8.4
2 participants