Closed TheDevilOnLine closed 6 years ago
Hi,
It seems to me that we can allow Symfony 4 while keeping old PHP 5 compatibility:
symfony/http-foundation
depending on available PHP version and already installed symfony/http-foundation package..travis.yml
so composer command is update
instead of install
(line 23)Tests should then work on every version.
The only way to do that (as far as I'm aware) is to remove the min php requirement, as it overwrites the actual PHP version for Composer. Therefore I couldn't install Symfony 4, unless I up'ed (or removed) the config.platform.php setting.
Hum, I wonder why that platform requirement is there. I remember putting it for a reason, but if all tests pass without it that's good to me
I've updated the PR to remove the composer.json and the PHP platform config. Currently Travis fails due to doctrine/instantiator, which requires PHP 7.1+, and is installed because of phpunit/phpunit 4.8.36
I somehow had completely missed that you updated your PR as I had requested. Merging now, I'll publish a new release later tonight
I've updated the composer json to match the requirements for Symfony 4.0 and ran PHPunit to verify it passes the tests. Please be so kind to merge my change and create a new tag (I'd suggest bumping to 2.0 since the minimal PHP version is also updated).