Closed jon-frankel closed 6 years ago
PR #16 caused our installation of Lumen 5.4.7 to fail. The version string returned by $this->container->version() is "Lumen (5.4.7) (Laravel Components 5.4.*)". But if you do
$this->container->version()
"Lumen (5.4.7) (Laravel Components 5.4.*)"
>>> version_compare("Lumen (5.4.7) (Laravel Components 5.4.*)", '5.4')
this returns -1. So the update to this conditional doesn't work properly in this case. I'm currently reverting to the previous 0.1.8 tag.
-1
I'll revert back to regular expression instead of version_compare() shortly, thanks for reporting
I'm tagging a new release, I brought back the regexp
Thanks!
PR #16 caused our installation of Lumen 5.4.7 to fail. The version string returned by
$this->container->version()
is"Lumen (5.4.7) (Laravel Components 5.4.*)"
. But if you do>>> version_compare("Lumen (5.4.7) (Laravel Components 5.4.*)", '5.4')
this returns
-1
. So the update to this conditional doesn't work properly in this case. I'm currently reverting to the previous 0.1.8 tag.