The 4.2.0 version of lcobucci/jwt does not allow you to create an empty InMemory-key anymore using InMemory::plainText(''). Using this construct now results in an exception, breaking different flows through this library.
This PR solves this issue by using the dedicated method to create such an empty key. There is some more code needed to make sure the code also works with the PHP 7 branches (as they depend on an older version of the library).
Please let me know if you need any additional information or tests.
Hi there,
The 4.2.0 version of
lcobucci/jwt
does not allow you to create an emptyInMemory
-key anymore usingInMemory::plainText('')
. Using this construct now results in an exception, breaking different flows through this library.This PR solves this issue by using the dedicated method to create such an empty key. There is some more code needed to make sure the code also works with the PHP 7 branches (as they depend on an older version of the library).
Please let me know if you need any additional information or tests.