-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Php8 support #55
Php8 support #55
Conversation
Signed-off-by: jeger <eger.juergen@gmail.com>
Signed-off-by: jeger <eger.juergen@gmail.com>
Signed-off-by: jeger <eger.juergen@gmail.com>
Signed-off-by: jeger <eger.juergen@gmail.com>
@boesing: Should I do anything else on this task? Anything I should remove again? |
Signed-off-by: jeger <eger.juergen@gmail.com>
I am unsure if in this particular repository we should drop all previous PHP versions... this is migration tool for legacy ZF projects... |
I fully agree here. This tool should migrate old versions of ZF MVC applications, Apigility and Expressive. |
But in the end it should migrate to new laminas applications which have those old versions dropped. |
Right, but I see a different problem: the topic of upgrading the PHP version is not covered in the migration guide. |
@michalbundyra @froschdesign I share the point of @jeger-at Having a new minor which drops old PHP versions should be fine as old PHP versions are still supported by 1.2.x which still can receive bugfix backports. We could think about extending support of this package for example. Another way would be to provide a new major version. But I would not spend time into providing support for all versions back to PHP 5.6 as you have to use packages like the However, we are not even executing unit tests for PHP less than 7.3. Even if there would be bugs, no one will ever realize. So imho, we should just drop old PHP versions. 🤷♂️ |
I'm fine with it. The other versions with support for older versions are still available. |
I think there is no problem with creating a new major as this package shouldnt be a dependency within other packages and thus the migration path would be quite easy (as there wont be BC breaks). Maybe someone of the @laminas/technical-steering-committee has time to prepare this package for v2 and retarget this PR to it. |
@boesing I don't think we need a new major version. The package is supposed to be used outside of a project, either via a global composer install, or by cloning. In the former case, users will install the version that is supported by the PHP version they are using. In the latter, they can choose the package version that works with their PHP version; if they choose incorrectly, Composer will be unable to install dependencies anyways. And since the tooling:
end users should not see any differences in usage between versions of the tooling. As such, I'll target next minor version, as we do elsewhere. |
Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
Updating to add PHP 8.0 support for #54
In order to make this repository compatible, one has to follow these steps:
composer.json
to provide support for PHP 8.0 by adding the constraint~8.0.0
composer.json
to drop support for PHP less than 7.3composer.json
to implement phpunit 9.3 which supports PHP 7.3+.travis.yml
to ignore platform requirements when installing composer dependencies (simply add--ignore-platform-reqs
toCOMPOSER_ARGS
env variable).travis.yml
to add PHP 8.0 to the matrix (NOTE: Do not allow failures as PHP 8.0 has a feature freeze since 2020-08-04!)Additional changes needed