CI updates and bump minimum supported versions #245
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Composer lists PHP 5.5 as the minimum supported version, yet this isn't actually tested. So, I've bumped the PHP minimum up to 7.1.3 which matches Symfony 4 and the lowest tested PHP version. This also helps unblock bringing in new code to address Symfony 5.3 deprecations.
I've also tightened the supported Symfony version list up so now only the 3.4 and 4.4 LTS' are supported, as well as only
^5.2
(this effectively drops 4.0-3 and 5.0-1).The dependency list is updated to list out all of the actual dependencies instead of relying on transient dependencies to bring them in.
For CI, the matrix is updated to test PHP 7.4 and 8.0 (previously untested), to use Flex for restricting the Symfony version range (which avoids needing to install the
symfony/symfony
monorepo, which hid the broken dependency list), and makes sure all supported Symfony versions are tested. There is also now a--prefer-lowest
build in the queue to ensure the minimum dependencies are valid.(On a side note, migrating to GitHub Actions would be a good idea here too)