Skip to content

Commit

Permalink
IBX-8119: Upgraded minimum PHP version to 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveb-p committed May 23, 2024
1 parent 44d7095 commit 3896334
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 18 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
strategy:
matrix:
php:
- '8.0'
- '8.3'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup PHP Action
uses: shivammathur/setup-php@v2
Expand All @@ -26,7 +26,7 @@ jobs:
extensions: 'pdo_sqlite, gd'
tools: cs2pr

- uses: ramsey/composer-install@v2
- uses: ramsey/composer-install@v3
with:
dependency-versions: highest

Expand All @@ -42,12 +42,10 @@ jobs:
fail-fast: false
matrix:
php:
- '7.4'
- '8.0'
- '8.1'
- '8.3'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup PHP Action
uses: shivammathur/setup-php@v2
Expand All @@ -57,7 +55,7 @@ jobs:
extensions: pdo_sqlite, gd
tools: cs2pr

- uses: ramsey/composer-install@v2
- uses: ramsey/composer-install@v3
with:
dependency-versions: highest

Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version:
- '8.3'
solr-version:
- '7.7.3'
- '8.11.2'
Expand All @@ -34,15 +36,15 @@ jobs:
name: "Set up single core"
run: echo "SOLR_CORES=collection1" >> $GITHUB_ENV

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup PHP Action
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: ${{ matrix.php-version }}
coverage: none

- uses: ramsey/composer-install@v2
- uses: ramsey/composer-install@v3
with:
dependency-versions: highest

Expand Down
15 changes: 8 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": ">=8.3",
"ext-json": "*",
"ext-xmlwriter": "*",
"ibexa/core": "~5.0.0@dev",
Expand All @@ -26,15 +26,15 @@
"symfony/http-client": "^5.4"
},
"require-dev": {
"symfony/proxy-manager-bridge": "^5.4",
"symfony/phpunit-bridge": "^5.4",
"ibexa/code-style": "~2.0.0",
"ibexa/doctrine-schema": "~5.0.0@dev",
"phpunit/phpunit": "^8.2",
"matthiasnoback/symfony-dependency-injection-test": "^4.1",
"ibexa/code-style": "^1.0",
"phpstan/phpstan": "^1.8",
"phpstan/phpstan-phpunit": "^1.1",
"phpstan/phpstan-symfony": "^1.2"
"phpstan/phpstan-symfony": "^1.2",
"phpunit/phpunit": "^9.6",
"symfony/phpunit-bridge": "^5.4",
"symfony/proxy-manager-bridge": "^5.4"
},
"autoload": {
"psr-4": {
Expand Down Expand Up @@ -74,6 +74,7 @@
}
},
"config": {
"allow-plugins": false
"allow-plugins": false,
"sort-packages": true
}
}

0 comments on commit 3896334

Please sign in to comment.