Skip to content

Commit

Permalink
misc: change to use supported PHP versions (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aviortheking authored Mar 8, 2023
1 parent 4fda20d commit 7a5d2dc
Show file tree
Hide file tree
Showing 5 changed files with 264 additions and 554 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.195.0/containers/php/.devcontainer/base.Dockerfile
# [Choice] PHP version (use -bullseye variants on local arm64/Apple Silicon): 8, 8.0, 7, 7.4, 7.3, 8-bullseye, 8.0-bullseye, 7-bullseye, 7.4-bullseye, 7.3-bullseye, 8-buster, 8.0-buster, 7-buster, 7.4-buster, 7.3-buster
ARG VARIANT=7.4
ARG VARIANT=8.0
FROM mcr.microsoft.com/vscode/devcontainers/php:0-${VARIANT}

# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"args": {
// Use oldest supported version: https://www.php.net/supported-versions.php
// Update VARIANT to pick a PHP version: 8, 8.0, 7, 7.4, 7.3
"VARIANT": "7.4",
"VARIANT": "8.0",
"INSTALL_NODE": "false",
"NODE_VERSION": "lts/*"
}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.4', '8.0', '8.1']
# follows https://www.php.net/supported-versions.php
php-versions: ['8.0', '8.1', '8.2']
phpunit-versions: ['latest']

steps:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
],
"minimum-stability": "stable",
"require": {
"php": ">=7.4",
"php": ">=8.0",
"psr/http-client": "^1.0",
"psr/simple-cache": "^1.0"
},
Expand Down
Loading

0 comments on commit 7a5d2dc

Please sign in to comment.