Skip to content

Commit 605efdb

Browse files
committed
Soft drop PHP 5.X support, in favour of PHP 7.4
- This commit drops support for PHP 5.X, in favour of PHP 7.4 support "out of the box". - It is still possible to run GOCDB on PHP 5.X - however this will require specific deployments reverting this commit to restore the appropriate composer files. - The `composer-5.4.{json, lock}` files will remain in the short term to facilitiate continued testing of the codebase against PHP 5.X. These files will be removed from the repository after 1st July 2024. - NB: The diff rendered here is slightly weird. - it appears as a rename of the composer-7.4 files to the composer-5.4 files, which is not what has happened. - the pre-existing composer files were renamed to composer-5.4 files and then the composer-7.4 files were renamed to the composer files
1 parent a3ce3c5 commit 605efdb

File tree

5 files changed

+2079
-2079
lines changed

5 files changed

+2079
-2079
lines changed

.github/workflows/continuous-integration.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ jobs:
1818
extension: ["pdo_mysql"]
1919
include:
2020
- php-version: "5.4"
21-
composer-json: "composer.json"
21+
composer-json: "composer-5.4.json"
2222
- php-version: "5.5"
23-
composer-json: "composer.json"
23+
composer-json: "composer-5.4.json"
2424
- php-version: "5.6"
25-
composer-json: "composer.json"
25+
composer-json: "composer-5.4.json"
2626
- php-version: "7.0"
27-
composer-json: "composer.json"
27+
composer-json: "composer-5.4.json"
2828
- php-version: "7.1"
29-
composer-json: "composer.json"
29+
composer-json: "composer-5.4.json"
3030
- php-version: "7.4"
31-
composer-json: "composer-7.4.json"
31+
composer-json: "composer.json"
3232

3333
services:
3434
mariadb:

composer-7.4.json composer-5.4.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "stfc-egi/gocdb",
33
"description": "A web portal and REST style API for e-Infrastructure topology managment",
44
"require": {
5-
"doctrine/orm": "2.6.*"
5+
"doctrine/orm": "2.5.14"
66
},
77
"require-dev": {
88
"phpunit/phpunit": "4.8.*",

0 commit comments

Comments
 (0)