Skip to content

Commit

Permalink
Update test matrix for PHP 8.1 and above, Symfony 6.4 and above
Browse files Browse the repository at this point in the history
  • Loading branch information
mpdude committed Jan 4, 2024
1 parent 44a0939 commit a47e363
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ on:
pull_request:

env:
PHP_VERSION: 7.2
PHP_VERSION: 8.1

jobs:
composer-require-checker:
name: Check missing composer requirements
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Konfiguriere PHP-Version und -Einstellungen im Worker-Node
Expand All @@ -33,4 +33,4 @@ jobs:
composer install --no-interaction --no-scripts --no-progress --no-suggest
composer show
- name: ComposerRequireChecker
uses: docker://webfactory/composer-require-checker:3.2.0
uses: docker://ghcr.io/webfactory/composer-require-checker:4.8.0
4 changes: 2 additions & 2 deletions .github/workflows/fix-cs-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ name: Coding Standards
jobs:
open-pr-for-cs-violations:
name: PHP-CS-Fixer
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.actor != 'dependabot[bot]'
steps:
- name: Checkout code
Expand All @@ -21,7 +21,7 @@ jobs:
ref: ${{ github.head_ref }}

- name: Run PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga:3.11.0
uses: docker://oskarstark/php-cs-fixer-ga:3.26.0

- name: Commit and push back changes
uses: stefanzweifel/git-auto-commit-action@v4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ env:
jobs:
PHPUnit:

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
include:
- { php-version: 7.2, symfony-locked-version: none, dependency-version: prefer-lowest }
- { php-version: 7.2, symfony-locked-version: 3.4.*, dependency-version: prefer-stable }
- { php-version: 7.4, symfony-locked-version: 4.4.*, dependency-version: prefer-stable }
- { php-version: 8.1, symfony-locked-version: none, dependency-version: prefer-stable }
- { php-version: 8.1, symfony-locked-version: none, dependency-version: prefer-lowest }
- { php-version: 8.1, symfony-locked-version: 6.4.*, dependency-version: prefer-stable }
- { php-version: 8.2, symfony-locked-version: none, dependency-version: prefer-stable }
- { php-version: 8.3, symfony-locked-version: none, dependency-version: prefer-stable }
name: PHPUnit (PHP ${{matrix.php-version}}, Symfony Version Lock ${{ matrix.symfony-locked-version }}, ${{ matrix.dependency-version }})
steps:
- uses: actions/checkout@v3
Expand Down
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,22 @@
},

"require": {
"php": "^7.2|8.0.*|8.1.*",
"php": "8.1.*|8.2.*|8.3.*",
"doctrine/annotations": "^1.11",
"doctrine/collections": "^1.0",
"doctrine/orm": "^2.2",
"doctrine/persistence": "^1.3.8 | ^2.1",
"psr/log": "^1.0",
"symfony/config": "^2.0|^3.0|^4.0|^5.0|^6.0",
"symfony/dependency-injection": "^2.0|^3.0|^4.0|^5.0|^6.0",
"symfony/event-dispatcher": "^2.0|^3.0|^4.0|^5.0|^6.0",
"symfony/http-kernel": "^4.3|^5.0|^6.0"
"symfony/config": "^5.4|^6.4|^7.0",
"symfony/dependency-injection": "^5.4|^6.4|^7.0",
"symfony/event-dispatcher": "^5.4|^6.4|^7.0",
"symfony/http-kernel": "^5.4|^6.4|^7.0"
},

"require-dev": {
"phpunit/phpunit": "^8.5.22",
"symfony/error-handler": "^4.4|^5.0|^6.0",
"symfony/phpunit-bridge": ">= 4.4",
"phpunit/phpunit": "^8.5.36|^9.6",
"symfony/error-handler": "^5.4|^6.4|^7.0",
"symfony/phpunit-bridge": ">= 7.0",
"webfactory/doctrine-orm-test-infrastructure": "^1.9"
},

Expand Down

0 comments on commit a47e363

Please sign in to comment.