Conversation
573fd78 to
b139949
Compare
|
IMO this is ready. CI is green so all the main features work with PHP 7.4. After merging this we can then think about if there are other "special" features that should be separately tested. Please review. |
| if (\version_compare(PHP_VERSION, '7.4.0alpha1') !== -1) { | ||
| echo 'This version of ownCloud is not compatible with PHP 7.4' . PHP_EOL; | ||
| // Show warning if PHP 7.5 or later is used as ownCloud is not compatible with PHP 7.5 | ||
| if (\version_compare(PHP_VERSION, '7.5.0alpha1') !== -1) { |
There was a problem hiding this comment.
It seems that the next version will be php 8.0
There was a problem hiding this comment.
That will be fine also. I put 7.5 because if there is a 7.5 then we do not know if we would automatically support it or not.
Codecov Report
@@ Coverage Diff @@
## master #37302 +/- ##
=========================================
Coverage 64.52% 64.53%
Complexity 19166 19166
=========================================
Files 1266 1266
Lines 74938 74952 +14
Branches 1331 1331
=========================================
+ Hits 48356 48372 +16
+ Misses 26190 26188 -2
Partials 392 392
Continue to review full report at Codecov.
|
|
Note: PHP 7.4 emits messages about array access attempts on things that are not arrays, e.g. I purposely put some rubbish code to get this message from the server output: And this message in Now that unit tests are passing, there should not be "too many" of this remaining. I will check the server and owncloud logs in CI. |
|
https://drone.owncloud.com/owncloud/core/24446/85/17 Needs investigating. I raised issue #37303 to follow-up these. Edit: see the issue - 2 different "access array offset" were found. |
|
IMO this can be merged so that people can use |
VicDeo
left a comment
There was a problem hiding this comment.
it would be a bit easier for me to improve compatibility if master will have these changes
|
Now that this has been merged, tonight's daily-master tarballs will allow PHP 7.4. |
Description
console.phpandindex.phpNote: for pipelines that use a federated server as part of the test environment, those will keep running the federated server on PHP 7.2, because the federated server will be some older release of ownCloud (e.g. 10.3.2 or 10.4.1) that we know does not support PHP 7.4.
Related Issue
#36509
How Has This Been Tested?
CI
Types of changes
Checklist: