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

Version 2.20+ requiring php 7.1 >= but using arrow functions #1182

Closed
cirovargas opened this issue Dec 6, 2023 · 2 comments · Fixed by #1183
Closed

Version 2.20+ requiring php 7.1 >= but using arrow functions #1182

cirovargas opened this issue Dec 6, 2023 · 2 comments · Fixed by #1183

Comments

@cirovargas
Copy link

cirovargas commented Dec 6, 2023

In the EnableEncryptionConfigCommand command you are using arrow functions (php 7.4 feature) and in composer are requiring PHP version >= 7.1

This is throwing an exception when installing the package on a PHP 7.2 environment

https://github.com/lexik/LexikJWTAuthenticationBundle/blob/3df8317555ea899a81b5c6b7558e421838f2f926/composer.json#L40C15-L40C15

https://github.com/lexik/LexikJWTAuthenticationBundle/blob/v2.20.2/Command/EnableEncryptionConfigCommand.php#L89

image

@aandriano931
Copy link

aandriano931 commented Dec 6, 2023

I agree. Same error here on a PHP 7.3 environment, lexik/jwt-authentication-bundle:v2.20.2

image

@chalasr
Copy link
Collaborator

chalasr commented Dec 6, 2023

Will be fixed by #1183. Turns out we have a CI job giving false positives...

@chalasr chalasr closed this as completed in a4df695 Dec 8, 2023
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 a pull request may close this issue.

3 participants