Skip to content
Unverified Commit b4f71ccf authored by Christoph Wurst's avatar Christoph Wurst
Browse files

Fix app fetcher php comparison to allow wider ranges



When app app specifies php 7.4 as upper limit we have to allow the
installation on php>7.4.0. The previous version check didn't do that.
This adjusts the regexes to discard any irrelevant suffix after the
three version numbers so that we can use more fine granular checks than
php's version_compare can do out of the box, like for php 7.4 we only
compare the major and minor version numbers and ignore the patch level.

Signed-off-by: default avatarChristoph Wurst <christoph@winzerhof-wurst.at>
parent 652bf9d3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment