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

PHP Version < 7.4 broken #3034

Closed
DisabledMonkey opened this issue Jun 3, 2024 · 2 comments
Closed

PHP Version < 7.4 broken #3034

DisabledMonkey opened this issue Jun 3, 2024 · 2 comments
Labels
Milestone

Comments

@DisabledMonkey
Copy link

Hello,

Trying to update to the latest version of Carbon 2 results in error during install results in parse error.
image

Carbon version: 2.72.4
PHP version: 7.2

The library says Carbon version 2 supports php versions >= 7.1.8
But this piece of code uses php arrow functions which were introduced in php 7.4

Was broken in this commit 117671b

@kylekatarnls kylekatarnls added this to the 2.72.5 milestone Jun 3, 2024
kylekatarnls added a commit that referenced this issue Jun 3, 2024
@kylekatarnls
Copy link
Collaborator

Thank you for the report 🙏 2.72.5 patch released with the fix.

@DisabledMonkey
Copy link
Author

thanks for the quick patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants