Open midahp opened 2 years ago
No, php7 support for tagged releases is going to be kept until PHP 7 EOL. The development branch gets transpiled down to PHP 7.4 for release. Please use the phar in the meanwhile if you need functionality not present in the latest tagged release.
https://horde-satis.maintaina.com/horde-components
The transpiling is not yet automated - a few more nights.
It would be interesting to have your feedback on the transpiled PHP 7.4 branch and the 1.0.0-alpha5.php.7.4 tag. The workflow is ugly but after some improvement it should fit well into a pipeline. Composer should be able to automatically choose the best compatible build.
The PHP 7.4 branch works perfectly, thanks.
Installing the tag with composer does not work for me though:
>>> composer require horde/components 1.0.0-alpha5.php.7.4
In VersionParser.php line 521:
Could not parse version constraint 1.0.0-alpha5.php.7.4: Invalid version string "1.0.0-alpha5.php.7.4"
And:
>>> composer require horde/components 1.0.0-alpha5 [1]
./composer.json has been updated
Running composer update horde/components
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- symfony/console 6.2.x-dev requires php >=8.1 -> your php version (7.4.30) does not satisfy that requirement.
- friendsofphp/php-cs-fixer dev-master requires symfony/console ^5.4 || ^6.0 -> satisfiable by symfony/console[6.2.x-dev].
- friendsofphp/php-cs-fixer is locked to version dev-master and an update of this package was not requested.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
I see. Composer does not really implement SemVer v2. I will change the label to fit...
The latest version (7948127) uses for example
readonly
andfinal public const
keywords that are not supported by php7. If this is intentional, I think it should be made clear in the composer.json/horde.yml.