Skip to content

Commit

Permalink
Raise minimum PHP version to 8.1; add 8.3 to GitHub Actions. (vufind-…
Browse files Browse the repository at this point in the history
…org#3298)

- Includes fixes to serialized test fixture formatting and updates to php-cs-fixer (including some related style fixes)
  • Loading branch information
demiankatz authored Jan 10, 2024
1 parent 2ff49d4 commit 2608ffc
Show file tree
Hide file tree
Showing 13 changed files with 553 additions and 500 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ jobs:
VUFIND_LOCAL_DIR: $GITHUB_WORKSPACE/local
strategy:
matrix:
php-version: ['8.0', '8.1', '8.2']
# We run most tests on all platforms, but we only run Javascript-related tests in 8.1.
# Since the results should be the same on all platforms, we don't need to repeat them.
php-version: ['8.1', '8.2', '8.3']
# We run PHP-based tests on all platforms (qa-php), but we only include PHP AND
# Javascript-related tests (qa-console) once. Since the JS results should be the
# same on all platforms, we don't need to repeat them.
include:
- php-version: 8.0
phing_tasks: "qa-php"
- php-version: 8.1
phing_tasks: "qa-console"
phing_tasks: "qa-php"
- php-version: 8.2
phing_tasks: "qa-console"
- php-version: 8.3
phing_tasks: "qa-php"

steps:
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"license": "GPL-2.0",
"config": {
"platform": {
"php": "8.0"
"php": "8.1"
},
"process-timeout": 0,
"allow-plugins": {
Expand All @@ -25,14 +25,15 @@
"ext-sodium": "*"
},
"require": {
"php": ">=8.0",
"php": ">=8.1",
"ahand/mobileesp": "dev-master",
"apereo/phpcas": "1.6.1",
"cap60552/php-sip2": "1.0.0",
"colinmollenhour/credis": "1.15.0",
"composer/package-versions-deprecated": "1.11.99.5",
"composer/semver": "3.4.0",
"endroid/qr-code": "4.8.2",
"friendsofphp/proxy-manager-lts": "1.0.16",
"laminas/laminas-cache": "3.10.1",
"laminas/laminas-cache-storage-adapter-blackhole": "^2.0",
"laminas/laminas-cache-storage-adapter-filesystem": "^2.0",
Expand Down Expand Up @@ -74,7 +75,6 @@
"league/oauth2-server": "8.5.4",
"lm-commons/lmc-rbac-mvc": "3.3.2",
"matthiasmullie/minify": "1.3.71",
"ocramius/proxy-manager": "2.14.1",
"pear/archive_tar": "^1.4",
"pear/http_request2": "2.5.1",
"phing/phing": "2.17.4",
Expand All @@ -101,7 +101,7 @@
"behat/mink-selenium2-driver": "1.6.0",
"dmore/chrome-mink-driver": "2.9.2",
"firebase/php-jwt": "6.8.1",
"friendsofphp/php-cs-fixer": "3.26.1",
"friendsofphp/php-cs-fixer": "3.46.0",
"phpmd/phpmd": "2.13.0",
"phpstan/phpstan": "1.10.34",
"phpunit/php-code-coverage": "9.2.28",
Expand Down
Loading

0 comments on commit 2608ffc

Please sign in to comment.