Skip to content
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

Upgrade to PHP 8.0 #262

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from
Draft
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM composer:1.10 AS build
FROM composer:2.2 AS build

COPY composer.json composer.lock ./
RUN composer --no-interaction install --no-suggest --prefer-dist

FROM elifesciences/php_7.0_cli:656bb4bdf1e49a5e80337e2a7c4f44f10c3f52b0 AS base
FROM ghcr.io/elifesciences/php:8.0-cli@sha256:f681973227dbab578218a98f252dfd36fd42016b74be6d0044221a7d8cdcc4e6 AS base

USER elife

Expand Down
34 changes: 17 additions & 17 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,32 @@
}
},
"require": {
"php": "^7.0",
"elife/api-problem": "^1.0",
"elife/content-negotiator": "^1.0",
"elife/ping": "^1.0",
"php": "8.0.*",
"elife/api-problem": "^1.3",
"elife/content-negotiator": "^1.1",
"elife/ping": "^1.2",
"jdesrosiers/silex-cors-provider": "^1.2",
"silex/silex": "^2.0",
"symfony/finder": "^3.1",
"symfony/http-foundation": "^3.1",
"symfony/http-kernel": "^3.1"
"nyholm/psr7": "^1.8",
"silex/silex": "^2.3",
"symfony/finder": "^4.4",
"symfony/http-foundation": "^4.4",
"symfony/http-kernel": "^4.4"
},
"require-dev": {
"elife/api": "^2.31",
"elife/api-client": "^1.0@dev",
"elife/api-validator": "^1.0@dev",
"guzzlehttp/guzzle": "^6.0",
"guzzlehttp/psr7": "^1.3",
"elife/api-client": "^1.1",
"elife/api-validator": "^1.1",
"guzzlehttp/guzzle": "^7.9",
"guzzlehttp/psr7": "^2.7",
"justinrainbow/json-schema": "^5.1",
"phpunit/phpunit": "^5.5",
"phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "^3.5",
"symfony/filesystem": "^3.4",
"symfony/psr-http-message-bridge": "^1.0",
"zendframework/zend-diactoros": "^1.3"
"symfony/filesystem": "^4.4",
"symfony/psr-http-message-bridge": "^2.0"
},
"config": {
"platform": {
"php": "7.0.29"
"php": "8.0.30"
},
"sort-packages": true
}
Expand Down
Loading
Loading