From 1db44e0e72df7fa6e303ffb8e1fe42b12c6de85b Mon Sep 17 00:00:00 2001 From: Jonathan Bouzekri Date: Mon, 25 Dec 2023 14:37:58 +0100 Subject: [PATCH 1/3] feat: add php8.3 and SF7 support --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 8c4aae1..0a5255a 100644 --- a/composer.json +++ b/composer.json @@ -6,16 +6,16 @@ "homepage": "https://github.com/jbouzekri/PhumborBundle", "license": "MIT", "require": { - "php": "^7.2|8.0.*|8.1.*|8.2.*", - "symfony/config": "^3.4|^4.4|^5.0|^6.0", - "symfony/dependency-injection": "^3.4|^4.4|^5.0|^6.0", - "symfony/http-kernel": "^3.4|^4.4|^5.0|^6.0", + "php": "^7.2|8.0.*|8.1.*|8.2.*|8.3.*", + "symfony/config": "^3.4|^4.4|^5.0|^6.0|^7.0", + "symfony/dependency-injection": "^3.4|^4.4|^5.0|^6.0|^7.0", + "symfony/http-kernel": "^3.4|^4.4|^5.0|^6.0|^7.0", "twig/twig": "^1.34|^2.0|^3.0", "webfactory/phumbor": "^1.1" }, "require-dev": { "phpunit/phpunit": "^8.5.26|^9.5.20", - "symfony/yaml": "^3.4|^4.4|^5.0|^6.0", + "symfony/yaml": "^3.4|^4.4|^5.0|^6.0|^7.0", "symfony/phpunit-bridge": ">=6.0" }, "autoload": { From c500da56041cd105746a3f1354083993da8593ad Mon Sep 17 00:00:00 2001 From: Jonathan Bouzekri Date: Mon, 25 Dec 2023 14:42:54 +0100 Subject: [PATCH 2/3] fix: update php and sf version in ci --- .github/workflows/dependencies.yml | 2 +- .github/workflows/tests.yml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index eca630a..f544a4d 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -10,7 +10,7 @@ on: pull_request: env: - PHP_VERSION: 7.4 + PHP_VERSION: 8.2 jobs: composer-require-checker: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0b82489..423babb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,8 +19,9 @@ jobs: - { php-version: 7.2, symfony-locked-version: none, dependency-version: prefer-lowest } - { php-version: 7.4, symfony-locked-version: 4.4.*, dependency-version: prefer-stable } - { php-version: 8.1, symfony-locked-version: 5.4.*, dependency-version: prefer-stable } - - { php-version: 8.1, symfony-locked-version: none, dependency-version: prefer-stable } - - { php-version: 8.2, symfony-locked-version: 5.4.*, dependency-version: prefer-stable } + - { php-version: 8.1, symfony-locked-version: 6.4.*, dependency-version: prefer-stable } + - { php-version: 8.2, symfony-locked-version: 7.0.*, dependency-version: prefer-stable } + - { php-version: 8.3, symfony-locked-version: 7.0.*, dependency-version: prefer-stable } name: PHPUnit (PHP ${{matrix.php-version}}, Symfony Version Lock ${{ matrix.symfony-locked-version }}, ${{ matrix.dependency-version }}) steps: - uses: shivammathur/setup-php@v2 From 9cccff6b8872e7f08044b24bf0b0fc58e7d5fc3d Mon Sep 17 00:00:00 2001 From: Jonathan Bouzekri Date: Mon, 25 Dec 2023 14:52:59 +0100 Subject: [PATCH 3/3] fix: update composer checker version --- .github/workflows/dependencies.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index f544a4d..d0844a4 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -32,4 +32,4 @@ jobs: - run: | composer install --no-interaction --no-progress --ansi --no-scripts composer show - - uses: docker://webfactory/composer-require-checker:3.2.0 + - uses: docker://webfactory/composer-require-checker:4.5.0