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 Apr 23, 2024
1 parent e5dc647 commit df31656
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 26 deletions.
22 changes: 10 additions & 12 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.1'
- '8.3'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup PHP Action
uses: shivammathur/setup-php@v2
Expand All @@ -26,28 +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'
- '8.1'
- '8.3'

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

- name: Setup PHP Action
uses: shivammathur/setup-php@v2
Expand All @@ -57,9 +55,9 @@ 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: Setup problem matchers for PHPUnit
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
Expand Down
29 changes: 15 additions & 14 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,24 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"ibexa/core": "~5.0.0@dev",
"twig/twig": "^3.0",
"symfony/dependency-injection": "^5.0",
"symfony/http-kernel": "^5.0",
"symfony/http-foundation": "^5.0",
"php": " >=8.3",
"ibexa/core": "~5.0.x-dev",
"symfony/asset": "^5.0",
"symfony/config": "^5.0",
"symfony/finder": "^5.0",
"symfony/dependency-injection": "^5.0",
"symfony/filesystem": "^5.0",
"symfony/asset": "^5.0",
"symfony/templating": "^5.0"
"symfony/finder": "^5.0",
"symfony/http-foundation": "^5.0",
"symfony/http-kernel": "^5.0",
"symfony/templating": "^5.0",
"twig/twig": "^3.0"
},
"require-dev": {
"ibexa/code-style": "^1.0",
"ibexa/doctrine-schema": "~5.0.0@dev",
"phpunit/phpunit": "^8.1",
"friendsofphp/php-cs-fixer": "^3.0",
"mikey179/vfsstream": "^1.6"
"ibexa/code-style": "^1.0",
"ibexa/doctrine-schema": "~5.0.x-dev",
"mikey179/vfsstream": "^1.6",
"phpunit/phpunit": "^8.1"
},
"autoload": {
"psr-4": {
Expand Down Expand Up @@ -67,6 +67,7 @@
"lolautruche/ez-core-extra-bundle": "<2.0"
},
"config": {
"allow-plugins": false
"allow-plugins": false,
"sort-packages": true
}
}

0 comments on commit df31656

Please sign in to comment.