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 f233721 commit a1c222a
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 29 deletions.
14 changes: 6 additions & 8 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.2'
- '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
4 changes: 2 additions & 2 deletions .github/workflows/integration-tests-callable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
timeout-minutes: 15

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

- name: Set project version
run: |
Expand All @@ -33,7 +33,7 @@ jobs:
uses: actions/cache@v2
with:
path: ${{ env.COMPOSER_CACHE_DIR }}
key: ${{ env.PROJECT_EDITION }}-${{ env.version }}-${{ github.sha }}
key: "${{ env.PROJECT_EDITION }}-${{ env.version }}-${{ github.sha }}"
restore-keys: |
${{ env.PROJECT_EDITION }}-${{ env.version }}
Expand Down
39 changes: 20 additions & 19 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,50 +24,51 @@
}
},
"require": {
"php": "^7.4 || ^8.0",
"php": " >=8.3",
"ext-dom": "*",
"ext-json": "*",
"ext-libxml": "*",
"ext-simplexml": "*",
"ext-xmlwriter": "*",
"ibexa/core": "~5.0.0@dev",
"symfony/http-kernel": "^5.3",
"symfony/dependency-injection": "^5.3",
"symfony/routing": "^5.3",
"symfony/http-foundation": "^5.3",
"ibexa/core": "~5.0.x-dev",
"ibexa/templated-uri-bundle": "^3.2",
"lexik/jwt-authentication-bundle": "^2.8",
"symfony/config": "^5.3",
"symfony/yaml": "^5.3",
"symfony/dependency-injection": "^5.3",
"symfony/event-dispatcher": "^5.3",
"symfony/security-csrf": "^5.3",
"symfony/expression-language": "^5.3",
"symfony/form": "^5.3",
"symfony/http-foundation": "^5.3",
"symfony/http-kernel": "^5.3",
"symfony/routing": "^5.3",
"symfony/security-bundle": "^5.3",
"ibexa/templated-uri-bundle": "^3.2",
"lexik/jwt-authentication-bundle": "^2.8"
"symfony/security-csrf": "^5.3",
"symfony/yaml": "^5.3"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"ibexa/ci-scripts": "^0.2@dev",
"ibexa/doctrine-schema": "~5.0.0@dev",
"ibexa/code-style": "^1.0",
"ibexa/doctrine-schema": "~5.0.x-dev",
"ibexa/test-core": "^0.1.x-dev",
"friendsofphp/php-cs-fixer": "^3.0",
"phpunit/phpunit": "^8.5",
"justinrainbow/json-schema": "^5.2",
"matthiasnoback/symfony-dependency-injection-test": "^4.1",
"nyholm/psr7": "^1.1",
"symfony/http-client": "^5.3",
"symfony/browser-kit": "^5.3",
"justinrainbow/json-schema": "^5.2",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-symfony": "^1.3",
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/phpstan-webmozart-assert": "^1.2"
"phpstan/phpstan-symfony": "^1.3",
"phpstan/phpstan-webmozart-assert": "^1.2",
"phpunit/phpunit": "^8.5",
"symfony/browser-kit": "^5.3",
"symfony/http-client": "^5.3"
},
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": true,
"*": false
},
"process-timeout": 600
"process-timeout": 600,
"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 a1c222a

Please sign in to comment.