-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[stable10] drop php 5.6 support #34698
Conversation
note to self:
|
CI passed, so this first minimal set of changes seems "a good thing" (tm) |
Maybe also when merging this:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now the minimum is 7.0.7 based on SLES12 SP4 requirement from customers.
Let's double check that and see if we can move to 7.0.8 . minimum or if we have to keep lower
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use php7.0.7 as baseline for SLES 12 SP4 ( see: https://scc.suse.com/packages?name=SUSE%20Linux%20Enterprise%20Server&version=12.4&arch=x86_64&query=php7&module= )
OK, that introduces a challenge:
Then ask composer to sort it out:
So At the moment in I can back down to |
Can we find out what the issue was and double check if that code path oft the library is actually used in ownCloud. |
https://forums.suse.com/showthread.php?12384-PHP-7-version SUSE keep reporting that PHP 7.0.7 version number, but actually they backport security patches from 7.0.8, 7.0.9... and internally have versions like Maybe we keep the |
Taken from your reference
So we have no way of knowing if the fix required for translations is there? |
The reason for the symfony PHP 7.0.8 minimum requirement is in PR symfony/symfony#23703 which refers to PHP bug https://bugs.php.net/bug.php?id=72229 |
So far I could only see that CVEs are mentioned in changelogs - though the bug doesn't have a CVE assigned. |
@crrodriguez has found the patch to be included in SLES12 SP4 Let's go ahead with your suggestion of using 7.0.8 in composer - but setting index.php and console.php to 7.0.7 Any objections @PVince81 ? |
Codecov Report
@@ Coverage Diff @@
## stable10 #34698 +/- ##
===========================================
Coverage 64% 64%
Complexity 19247 19247
===========================================
Files 1276 1276
Lines 75801 75801
Branches 1291 1291
===========================================
Hits 48515 48515
Misses 26907 26907
Partials 379 379
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## stable10 #34698 +/- ##
==============================================
+ Coverage 64.04% 64.19% +0.14%
- Complexity 19258 19887 +629
==============================================
Files 1278 1278
Lines 75838 76245 +407
Branches 1291 1291
==============================================
+ Hits 48572 48947 +375
- Misses 26887 26919 +32
Partials 379 379
Continue to review full report at Codecov.
|
Commit added to back down the tested PHP version from 7.0.8 to 7.0.7 |
eda900a
to
d2a59c0
Compare
Description
These are the easy things.
1a) bump in
index.php
andconsole.php
1b) adjust matrix entries in
.drone.yml
2a) let composer find the latest things based on PHP 7.0
composer decided on :
When doing the composer bump, it complained that symfony requires PHP 7.0.8 minimum. I guess there was some PHP fix in 7.0.8 that symfony really wants. So make that the absolute minimum patch level specified in
composer.json
Make the corresponding bump to
7.0.8
inindex.php
andconsole.php
But SLES12 SP4 delivers a PHP that reports version
7.0.7
but it really has been patched with the "good"7.0.8
stuff. So inindex.php
andconsole.php
allow a minimum reported PHP version7.0.7
Bump
phpseclib/phpseclib (2.0.14 => 2.0.15)
(a recent patch release while this PR is being developed)6,7,8) cherry-pick backport of drone composer cache fixups (see backport PR #34717 )
Run phan for PHP 7.0 in a separate drone job. An older version of phan is needed for PHP 7.0, so the
composer
step for that needs to also be running PHP 7.0.Add some smarts to
Makefile
forphpstan
so that it does not try to evercomposer install
it when running PHP 7.0.phpstan
has no PHP 7.0 support!Related Issue
Motivation and Context
See what test complain, if any.
How Has This Been Tested?
CI
Types of changes
Checklist:
Open tasks: