From 817066255529d0e5d178a1e8b89161ec3e489a4b Mon Sep 17 00:00:00 2001 From: Yozhef Date: Wed, 17 Jan 2024 20:38:32 +0200 Subject: [PATCH 1/5] add support Symfony 7 --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 0d155f3..c92e118 100644 --- a/composer.json +++ b/composer.json @@ -34,15 +34,15 @@ "doctrine/doctrine-fixtures-bundle": "^3.0", "doctrine/doctrine-migrations-bundle": "^3.0", "theofidry/alice-data-fixtures": "^1.0", - "symfony/dependency-injection": "^4.4 || ^5.4 || ^6.0", - "symfony/http-kernel": "^4.4 || ^5.4 || ^6.0" + "symfony/dependency-injection": "^4.4 || ^5.4 || ^6.0 || ^7.0", + "symfony/http-kernel": "^4.4 || ^5.4 || ^6.0 || ^7.0" }, "require-dev": { "phpstan/phpstan": "^1.2", "phpunit/phpunit": "^9.5", "slevomat/coding-standard": "^7.0", "squizlabs/php_codesniffer": "^3.6", - "symfony/console": "^4.4 || ^5.4 || ^6.0" + "symfony/console": "^4.4 || ^5.4 || ^6.0 || ^7.0" }, "autoload": { "psr-4": { From 3e8fdea8f5a767d98079d7e9726cd71f722ee880 Mon Sep 17 00:00:00 2001 From: Yozhef Date: Wed, 17 Jan 2024 20:40:02 +0200 Subject: [PATCH 2/5] Update ci.yaml --- .github/workflows/ci.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a78eb24..386cb20 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,6 +21,10 @@ jobs: - '6.0.*' - '6.1.*' - '6.2.*' + - '7.0.*' + exclude: + - symfony-versions: '7.0.*' + PHP: '8.1' include: - description: 'Log Code Coverage' php: '8.1' From cd9fd2123c380df37ca0043e021c2f0876f82e3b Mon Sep 17 00:00:00 2001 From: Yozhef Date: Wed, 17 Jan 2024 20:43:37 +0200 Subject: [PATCH 3/5] Update ci.yaml --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 386cb20..fe593d7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,7 +7,7 @@ on: jobs: run: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest strategy: fail-fast: false matrix: From ae78762d8a84fc3f42ff72ffd1f3316a6eb14924 Mon Sep 17 00:00:00 2001 From: Vardan Date: Tue, 6 Feb 2024 18:04:54 +0200 Subject: [PATCH 4/5] add symfony property access package versions --- .github/workflows/ci.yaml | 8 +++++--- composer.json | 3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fe593d7..0e9d5ba 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -23,12 +23,13 @@ jobs: - '6.2.*' - '7.0.*' exclude: - - symfony-versions: '7.0.*' - PHP: '8.1' + - php: '8.1' + symfony-versions: '7.0.*' include: - description: 'Log Code Coverage' - php: '8.1' + php: '8.2' coverage: 'xdebug' + symfony-versions: '^7.0' name: PHP ${{ matrix.php }} ${{ matrix.description }} steps: @@ -66,6 +67,7 @@ jobs: composer require symfony/dependency-injection:${{ matrix.symfony-versions }} --no-update --no-scripts composer require symfony/http-kernel:${{ matrix.symfony-versions }} --no-update --no-scripts composer require --dev symfony/console:${{ matrix.symfony-versions }} --no-update --no-scripts + composer require --dev symfony/property-access:${{ matrix.symfony-versions }} --no-update --no-scripts - name: Install dependencies run: composer install diff --git a/composer.json b/composer.json index c92e118..88eb34a 100644 --- a/composer.json +++ b/composer.json @@ -42,7 +42,8 @@ "phpunit/phpunit": "^9.5", "slevomat/coding-standard": "^7.0", "squizlabs/php_codesniffer": "^3.6", - "symfony/console": "^4.4 || ^5.4 || ^6.0 || ^7.0" + "symfony/console": "^4.4 || ^5.4 || ^6.0 || ^7.0", + "symfony/property-access": "^4.4 || ^5.4 || ^6.0 || ^7.0" }, "autoload": { "psr-4": { From 5aabc87499a3bc942be341da98ad6fa8fc2aaf6b Mon Sep 17 00:00:00 2001 From: Vardan Date: Tue, 6 Feb 2024 18:06:28 +0200 Subject: [PATCH 5/5] remove filter from phpunit configuration --- phpunit.xml.dist | 5 ----- 1 file changed, 5 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index c5221ce..c58cec5 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -19,11 +19,6 @@ tests - - - src/ - - ./src