lexik/LexikJWTAuthenticationBundle

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

cirovargas opened this issue · 2 comments

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

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

image

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