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 authored Apr 25, 2024
1 parent 920fff0 commit 97bf4af
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 38 deletions.
26 changes: 10 additions & 16 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ on:
jobs:
cs-fix:
name: Run code style check
runs-on: "ubuntu-20.04"
runs-on: "ubuntu-22.04"
strategy:
matrix:
php:
- '8.0'
- '8.3'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

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

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

- name: Run code style check
run: composer run-script check-cs -- --format=checkstyle | cs2pr

tests:
name: Unit tests
runs-on: "ubuntu-20.04"
runs-on: "ubuntu-22.04"
timeout-minutes: 15

strategy:
fail-fast: false
matrix:
php:
- '7.4'
- '8.0'
composer_options: [ "" ]
include:
- php: '8.1'
composer_options: "--ignore-platform-req php"
- '8.3'

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

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

- uses: "ramsey/composer-install@v1"
- uses: ramsey/composer-install@v3
with:
dependency-versions: "highest"
composer-options: "${{ matrix.composer_options }}"
dependency-versions: highest

- name: Setup problem matchers for PHPUnit
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
Expand Down
45 changes: 23 additions & 22 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,36 +14,36 @@
"bdunogier/ezplatform-graphql-bundle": "self.version"
},
"require": {
"php": "^7.4 || ^8.0",
"php": " >=8.3",
"ext-dom": "*",
"ibexa/core": "~5.0.0@dev",
"ibexa/admin-ui": "~5.0.0@dev",
"ibexa/rest": "~5.0.0@dev",
"ibexa/fieldtype-richtext": "~5.0.0@dev",
"erusev/parsedown": "^1.7",
"ibexa/admin-ui": "~5.0.x-dev",
"ibexa/core": "~5.0.x-dev",
"ibexa/fieldtype-richtext": "~5.0.x-dev",
"ibexa/rest": "~5.0.x-dev",
"lexik/jwt-authentication-bundle": "^2.8",
"overblog/graphql-bundle": "^0.14.2",
"erusev/parsedown": "^1.7",
"symfony/dependency-injection": "^5.0",
"symfony/http-kernel": "^5.0",
"symfony/config": "^5.0",
"symfony/console": "^5.0",
"symfony/dependency-injection": "^5.0",
"symfony/filesystem": "^5.0",
"symfony/yaml": "^5.0",
"symfony/config": "^5.0",
"symfony/http-foundation": "^5.0",
"symfony/serializer": "^5.0"
"symfony/http-kernel": "^5.0",
"symfony/serializer": "^5.0",
"symfony/yaml": "^5.0"
},
"require-dev": {
"ibexa/doctrine-schema": "~5.0.0@dev",
"ibexa/content-forms": "~5.0.0@dev",
"ibexa/design-engine": "~5.0.0@dev",
"ibexa/user": "~5.0.0@dev",
"ibexa/search": "~5.0.0@dev",
"ibexa/http-cache": "~5.0.0@dev",
"ibexa/notifications": "~5.0.0@dev",
"overblog/graphiql-bundle": "^0.2",
"phpspec/phpspec": "^7.1",
"ibexa/code-style": "~1.2.0",
"mikey179/vfsstream": "^1.6"
"ibexa/content-forms": "~5.0.x-dev",
"ibexa/design-engine": "~5.0.x-dev",
"ibexa/doctrine-schema": "~5.0.x-dev",
"ibexa/http-cache": "~5.0.x-dev",
"ibexa/notifications": "~5.0.x-dev",
"ibexa/search": "~5.0.x-dev",
"ibexa/user": "~5.0.x-dev",
"mikey179/vfsstream": "^1.6",
"overblog/graphiql-bundle": "^0.2",
"phpspec/phpspec": "^7.1"
},
"autoload": {
"psr-4": {
Expand Down Expand Up @@ -72,7 +72,8 @@
}
},
"config": {
"allow-plugins": false
"allow-plugins": false,
"sort-packages": true
},
"scripts": {
"fix-cs": "php-cs-fixer fix --config=.php-cs-fixer.php -v --show-progress=dots",
Expand Down

0 comments on commit 97bf4af

Please sign in to comment.