Skip to content

Commit

Permalink
chore: add tests for php 8.2 and 8.3, update tests to symfony 6.4, dr…
Browse files Browse the repository at this point in the history
…op support symfony 4 (#283)

* chore: add tests for php 8.2 and 8.3, update tests to symfony 6.3, bump github actions

* Empty-Commit

* chore: add tests for php 8.2 and 8.3, update tests to symfony 6.4, bump github actions

* feat: drop support for symfony 4
chore: add tests for php 8.2 and 8.3, update tests to symfony 6.4, bump github actions

* feat: drop support for symfony 4
chore: add tests for php 8.2 and 8.3, update tests to symfony 6.4, bump github actions

* feat: drop support for symfony 4
chore: add tests for php 8.2 and 8.3, update tests to symfony 6.4, bump github actions

---------

Co-authored-by: Christopher Georg <[email protected]>
  • Loading branch information
Chris53897 and Chris8934 authored Jan 2, 2024
1 parent 8339ae6 commit 7e9cbad
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 24 deletions.
32 changes: 17 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,23 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.4, 8.0, 8.1]
symfony: [4.4.*, 5.3.*, 5.4.*]
include:
- php: 7.4
symfony: 5.4.*
- php: 8.0
symfony: 6.0.*
symfony: 5.4.*
- php: 8.1
symfony: 6.0.*
- php: 8.1
symfony: 6.1.*
symfony: 6.4.*
- php: 8.2
symfony: 6.4.*
- php: 8.2
symfony: 7.0.*
- php: 8.3
symfony: 7.0.*

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -42,7 +44,7 @@ jobs:
run: composer require --dev "symfony/mailer" --no-update

- name: Install dependencies
uses: ramsey/composer-install@v1
uses: ramsey/composer-install@v2
with:
composer-options: --prefer-dist
env:
Expand All @@ -58,7 +60,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -67,7 +69,7 @@ jobs:
coverage: none

- name: Install dependencies
uses: ramsey/composer-install@v1
uses: ramsey/composer-install@v2
with:
dependency-versions: lowest
composer-options: --prefer-dist
Expand All @@ -80,7 +82,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -92,7 +94,7 @@ jobs:
run: composer require --dev "symfony/mailer" --no-update

- name: Install dependencies
uses: ramsey/composer-install@v1
uses: ramsey/composer-install@v2
with:
composer-options: --prefer-dist

Expand All @@ -104,7 +106,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -120,7 +122,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -129,7 +131,7 @@ jobs:
coverage: none

- name: Install dependencies
uses: ramsey/composer-install@v1
uses: ramsey/composer-install@v2
with:
composer-options: --prefer-dist

Expand Down
18 changes: 9 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,27 @@
],
"require": {
"php": "^7.3 || ^8.0",
"symfony/framework-bundle": "^4.4 || ^5.0 || ^6.0 || ^7.0",
"symfony/framework-bundle": "^5.4 || ^6.0 || ^7.0",
"laminas/laminas-diagnostics": "^1.9"
},
"require-dev": {
"matthiasnoback/symfony-dependency-injection-test": "^4.3 || ^5.0",
"enlightn/security-checker": "^1.11",
"guzzlehttp/guzzle": "^5.3.2 || ^6.3.3 || ^7.0.1",
"symfony/expression-language": "^4.4 || ^5.0 || ^6.0 || ^7.0",
"symfony/expression-language": "^5.4 || ^6.0 || ^7.0",
"swiftmailer/swiftmailer": "^5.4 || ^6.1 || ^7.0",
"doctrine/migrations": "^2.0 || ^3.0",
"doctrine/doctrine-migrations-bundle": "^2.0 || ^3.0 || ^7.0",
"symfony/twig-bundle": "^4.4 || ^5.0 || ^6.0 || ^7.0",
"symfony/browser-kit": "^4.4 || ^5.0 || ^6.0 || ^7.0",
"symfony/asset": "^4.4 || ^5.0 || ^6.0 || ^7.0",
"symfony/templating": "^4.4 || ^5.0 || ^6.0 || ^7.0",
"symfony/mailer": "^4.4 || ^5.0 || ^6.0 || ^7.0",
"symfony/twig-bundle": "^5.4 || ^6.0 || ^7.0",
"symfony/browser-kit": "^5.4 || ^6.0 || ^7.0",
"symfony/asset": "^5.4 || ^6.0 || ^7.0",
"symfony/templating": "^5.4 || ^6.0 || ^7.0",
"symfony/mailer": "^5.4 || ^6.0 || ^7.0",
"phpunit/phpunit": "^9.0",
"symfony/finder": "^4.4 || ^5.0 || ^6.0 || ^7.0",
"symfony/finder": "^5.4 || ^6.0 || ^7.0",
"friendsofphp/php-cs-fixer": "^3.4",
"doctrine/persistence": "^1.3.3 || ^2.0 || ^3.0",
"symfony/messenger": "^4.4|^5.4|^6.0|^7.0"
"symfony/messenger": "^5.4 ||^6.0 || ^7.0"
},
"suggest": {
"symfony/expression-language": "To use the Expression check"
Expand Down

0 comments on commit 7e9cbad

Please sign in to comment.