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 2259e90 commit f72427c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 deletions.
23 changes: 9 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ jobs:
name: Run code style check
runs-on: "ubuntu-22.04"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup PHP Action
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.3'
coverage: none
extensions: pdo_sqlite, gd
tools: cs2pr

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

Expand All @@ -38,12 +38,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 @@ -53,7 +51,7 @@ jobs:
extensions: pdo_sqlite, gd
tools: cs2pr

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

Expand Down Expand Up @@ -89,14 +87,11 @@ jobs:
strategy:
fail-fast: false
matrix:
experimental: [ false ]
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 @@ -106,7 +101,7 @@ jobs:
extensions: pdo_mysql, gd
tools: cs2pr

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

Expand Down
9 changes: 6 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"ezsystems/doctrine-dbal-schema": "*"
},
"require": {
"php": "^7.4 || ^8.0",
"php": " >=8.3",
"doctrine/dbal": "^2.13",
"symfony/config": "^5.3",
"symfony/console": "^5.3",
Expand All @@ -17,10 +17,10 @@
},
"require-dev": {
"ibexa/code-style": "^1.0",
"phpunit/phpunit": "^8.5",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/phpstan-symfony": "^1.2",
"phpstan/phpstan-phpunit": "^1.3"
"phpunit/phpunit": "^8.5"
},
"autoload": {
"psr-4": {
Expand All @@ -46,5 +46,8 @@
"branch-alias": {
"dev-main": "5.0.x-dev"
}
},
"config": {
"sort-packages": true
}
}

0 comments on commit f72427c

Please sign in to comment.