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

[10.x] Remove obsolete function_exists('enum_exists') calls #46319

Merged

Conversation

jnoordsij
Copy link
Contributor

The function_exists('enum_exists') call is used in various places for feature detection. As the minimum PHP version for Laravel 10 is 8.1, this should now always return true, and therefore can be safely removed.

Copy link
Member

@driesvints driesvints left a comment

Choose a reason for hiding this comment

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

Thanks!

@taylorotwell taylorotwell merged commit 664f095 into laravel:10.x Mar 2, 2023
@jnoordsij jnoordsij deleted the remove-obsolete-function-exists-calls branch March 2, 2023 14:33
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.

3 participants