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

Normalize enum value to ClassConstFetch #940

Open
wants to merge 2 commits into
base: 4.x
Choose a base branch
from

Conversation

ruudk
Copy link
Contributor

@ruudk ruudk commented Aug 15, 2023

Fixes #930

@ruudk ruudk force-pushed the enum-normalize branch 3 times, most recently from 7438d96 to f302ccb Compare August 15, 2023 11:35
Comment on lines +11 to +15
if (\PHP_VERSION_ID <= 80100) {
$this->markTestSkipped('Enums are supported since PHP 8.1');
}

include __DIR__ . '/../code/Suit.php';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nikic Is this the correct way to handle this?

@vitek-rostislav
Copy link

Hi, just encountered the problem described in #930. I can confirm the solution proposed here fixes the issue. What is the status of this PR, please? It has been pending for a while now

@ruudk
Copy link
Contributor Author

ruudk commented Mar 26, 2024

@nikic could you have a look please 🙏🏻

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.

Enum as a Attribute parameter
2 participants