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 63d8e4b commit ad3521b
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 32 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
php:
- '8.0'
- '8.3'
steps:
- uses: actions/checkout@v4

Expand All @@ -26,9 +26,9 @@ jobs:
extensions: 'pdo_sqlite, gd'
tools: cs2pr

- uses: "ramsey/composer-install@v2"
- 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
Expand All @@ -42,7 +42,6 @@ jobs:
fail-fast: false
matrix:
php:
- '8.2'
- '8.3'

steps:
Expand All @@ -56,9 +55,9 @@ jobs:
extensions: pdo_sqlite, gd
tools: cs2pr

- uses: "ramsey/composer-install@v2"
- 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 All @@ -76,7 +75,6 @@ jobs:
fail-fast: false
matrix:
php:
- '8.2'
- '8.3'

steps:
Expand All @@ -90,9 +88,9 @@ jobs:
extensions: pdo_sqlite, gd
tools: cs2pr

- uses: "ramsey/composer-install@v2"
- 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
4 changes: 2 additions & 2 deletions .github/workflows/frontend-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
timeout-minutes: 5

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
- run: yarn install
Expand Down
43 changes: 22 additions & 21 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,35 +21,35 @@
}
},
"require": {
"php": "^7.4 || ^8.0",
"php": " >=8.3",
"ext-libxml": "*",
"ext-simplexml": "*",
"ibexa/core": "~5.0.0@dev",
"ibexa/content-forms": "~5.0.0@dev",
"ibexa/graphql": "~5.0.0@dev",
"symfony/http-kernel": "^5.0",
"symfony/console": "^5.0",
"ibexa/content-forms": "~5.0.x-dev",
"ibexa/core": "~5.0.x-dev",
"ibexa/graphql": "~5.0.x-dev",
"symfony/config": "^5.0",
"symfony/console": "^5.0",
"symfony/dependency-injection": "^5.0",
"symfony/yaml": "^5.0",
"symfony/form": "^5.0",
"symfony/options-resolver": "^5.0"
"symfony/http-kernel": "^5.0",
"symfony/options-resolver": "^5.0",
"symfony/yaml": "^5.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"ibexa/admin-ui": "~5.0.x-dev",
"ibexa/ci-scripts": "^0.2@dev",
"ibexa/doctrine-schema": "~5.0.0@dev",
"ibexa/admin-ui": "~5.0.0@dev",
"ibexa/user": "~5.0.0@dev",
"ibexa/fieldtype-richtext": "~5.0.0@dev",
"ibexa/search": "~5.0.0@dev",
"ibexa/rest": "~5.0.0@dev",
"ibexa/test-core": "~5.0.x-dev",
"ibexa/http-cache": "~5.0.0@dev",
"ibexa/design-engine": "~5.0.0@dev",
"ibexa/code-style": "^1.0",
"friendsofphp/php-cs-fixer": "^3.0",
"phpunit/phpunit": "^9.5",
"ibexa/notifications": "~5.0.x-dev"
"ibexa/design-engine": "~5.0.x-dev",
"ibexa/doctrine-schema": "~5.0.x-dev",
"ibexa/fieldtype-richtext": "~5.0.x-dev",
"ibexa/http-cache": "~5.0.x-dev",
"ibexa/notifications": "~5.0.x-dev",
"ibexa/rest": "~5.0.x-dev",
"ibexa/search": "~5.0.x-dev",
"ibexa/test-core": "~5.0.x-dev",
"ibexa/user": "~5.0.x-dev",
"phpunit/phpunit": "^9.5"
},
"scripts": {
"fix-cs": "php-cs-fixer fix --config=.php-cs-fixer.php -v --show-progress=dots",
Expand All @@ -63,6 +63,7 @@
}
},
"config": {
"allow-plugins": false
"allow-plugins": false,
"sort-packages": true
}
}

0 comments on commit ad3521b

Please sign in to comment.