From f72427c3477b391ab48372e02ec644a845808f8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Tue, 23 Apr 2024 13:21:04 +0200 Subject: [PATCH] IBX-8119: Upgraded minimum PHP version to 8.3 --- .github/workflows/ci.yaml | 23 +++++++++-------------- composer.json | 9 ++++++--- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 20ac532..a147f1d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/composer.json b/composer.json index 2f00ebb..706a00b 100644 --- a/composer.json +++ b/composer.json @@ -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", @@ -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": { @@ -46,5 +46,8 @@ "branch-alias": { "dev-main": "5.0.x-dev" } + }, + "config": { + "sort-packages": true } }