Skip to content

Commit

Permalink
Drop support for PHP 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-davis committed Sep 2, 2021
1 parent 1e099c8 commit e9d5ed8
Show file tree
Hide file tree
Showing 6 changed files with 148 additions and 120 deletions.
21 changes: 10 additions & 11 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ config = {
"phpunit": {
"mostDatabases": {
"phpVersions": [
"7.2",
"7.3",
],
# Gather coverage for all databases except Oracle
"coverage": True,
Expand All @@ -41,7 +41,7 @@ config = {
},
"slowDatabases": {
"phpVersions": [
"7.2",
"7.3",
],
# Oracle takes a long time to start and run
# So do not collect coverage for that
Expand All @@ -53,7 +53,6 @@ config = {
},
"reducedDatabases": {
"phpVersions": [
"7.3",
"7.4",
],
"databases": [
Expand All @@ -63,7 +62,7 @@ config = {
},
"external-samba-windows": {
"phpVersions": [
"7.2",
"7.3",
"7.4",
],
"databases": [
Expand All @@ -83,7 +82,7 @@ config = {
},
"external-other": {
"phpVersions": [
"7.2",
"7.3",
"7.4",
],
"databases": [
Expand Down Expand Up @@ -401,7 +400,7 @@ def dependencies(ctx):
return pipelines

default = {
"phpVersions": ["7.2"],
"phpVersions": ["7.3"],
"nodeJsVersion": "14",
}

Expand Down Expand Up @@ -768,7 +767,7 @@ def phan():
return pipelines

default = {
"phpVersions": ["7.2", "7.3", "7.4"],
"phpVersions": ["7.3", "7.4"],
"logLevel": "2",
}

Expand Down Expand Up @@ -840,7 +839,7 @@ def litmus():
return pipelines

default = {
"phpVersions": ["7.2", "7.3", "7.4"],
"phpVersions": ["7.3", "7.4"],
"logLevel": "2",
"useHttps": True,
}
Expand Down Expand Up @@ -999,7 +998,7 @@ def dav():
return pipelines

default = {
"phpVersions": ["7.2", "7.3", "7.4"],
"phpVersions": ["7.3", "7.4"],
"logLevel": "2",
}

Expand Down Expand Up @@ -1191,7 +1190,7 @@ def phpTests(ctx, testType, withCoverage):
errorFound = False

default = {
"phpVersions": ["7.2", "7.3", "7.4"],
"phpVersions": ["7.3", "7.4"],
"databases": [
"sqlite",
"mariadb:10.2",
Expand Down Expand Up @@ -1442,7 +1441,7 @@ def acceptance(ctx):
"phpVersions": ["7.4"],
"nodeJsVersion": "14",
"databases": ["mariadb:10.2"],
"federatedPhpVersion": "7.2",
"federatedPhpVersion": "7.4",
"federatedServerNeeded": False,
"federatedDb": "",
"filterTags": "",
Expand Down
9 changes: 9 additions & 0 deletions changelog/unreleased/38697
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Change: Drop PHP 7.2 support across the platform

Support for security fixes for PHP 7.2 ended in Dec 2020
ownCloud core no longer supports PHP 7.2.
Ensure that you are using PHP 7.3 or 7.4. PHP 7.4 is recommended.

https://github.com/owncloud/core/issues/39134
https://github.com/owncloud/core/pull/38697
https://www.php.net/supported-versions.php
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"optimize-autoloader": true,
"classmap-authoritative": false,
"platform": {
"php": "7.2.5"
"php": "7.3"
}
},
"autoload" : {
Expand All @@ -30,7 +30,7 @@
"roave/security-advisories": "dev-master"
},
"require": {
"php": ">=7.2",
"php": ">=7.3",
"doctrine/dbal": "^2.10",
"phpseclib/phpseclib": "^3.0",
"opis/closure": "^3.5",
Expand Down
Loading

0 comments on commit e9d5ed8

Please sign in to comment.