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

Enum assertion #312

Merged
merged 3 commits into from
Feb 14, 2025
Merged

Enum assertion #312

merged 3 commits into from
Feb 14, 2025

Conversation

naxvog
Copy link

@naxvog naxvog commented Jan 16, 2025

I am currently migrating to PHPat and found that currently it is impossible to assert that selected classes are enums.
This PR fixes that 😉

@naxvog
Copy link
Author

naxvog commented Jan 16, 2025

About the tests: phpstan requires php 8.1 so I am not at all surprised that tests fail for 7.4

@carlosas carlosas changed the base branch from master to v0.12 February 1, 2025 18:24
@carlosas
Copy link
Owner

carlosas commented Feb 1, 2025

Hey 👋 since enums only exist from PHP 8.1, could you rebase from the branch v0.12 which will bump the minimum PHP version?

@naxvog
Copy link
Author

naxvog commented Feb 2, 2025

Rebased to branch v0.12

@carlosas carlosas merged commit 12cd866 into carlosas:v0.12 Feb 14, 2025
9 checks passed
@naxvog naxvog deleted the enum branch February 14, 2025 21:11
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