Skip to content

Commit

Permalink
chore: remove support Symfony 4.4 + upgrade CI to Symfony 6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentchalamon committed Oct 2, 2023
1 parent b123001 commit 1d8865b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 31 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ jobs:
- '8.2'
symfony:
# Only Symfony supported versions: https://symfony.com/releases
- '4.4.*'
- '5.4.*'
- '6.2.*'
- '6.3.*'
api-platform:
# Only API Platform supported versions
- '^2.6'
Expand All @@ -41,26 +40,20 @@ jobs:
include:
# Ensure the bundle is bootable
- php: '8.2'
symfony: '6.2.*'
symfony: '6.3.*'
bootable: true
quality: true
api-platform: '^3.1'
# Fix laminas/laminas-code support
- php: '8.0'
symfony: '4.4.*'
laminas: true
exclude:
# Symfony 6 requires PHP >= 8.1
- symfony: '6.2.*'
- symfony: '6.3.*'
php: '8.0'
# Symfony 6.2.* requires PHP >= 8.1
- symfony: '6.2.*'
# Symfony 6.* requires PHP >= 8.1
- symfony: '6.3.*'
php: '8.0'
# API Platform 3.1 requires PHP >= 8.1 and Symfony >= 6.1.*
- api-platform: '^3.1'
php: '8.0'
- api-platform: '^3.1'
symfony: '4.4.*'
- api-platform: '^3.1'
symfony: '5.4.*'
fail-fast: false
Expand All @@ -83,9 +76,6 @@ jobs:
restore-keys: ${{ runner.os }}-composer-
- name: Configure Symfony
run: composer config extra.symfony.require "${{ matrix.symfony }}"
- name: Configure Laminas
if: matrix.laminas
run: composer require laminas/laminas-zendframework-bridge --no-install --no-update --no-progress --no-scripts
- name: Configure API Platform
run: composer require api-platform/core:${{ matrix.api-platform }} --dev --no-install --no-update --no-progress --no-scripts
- name: Update project dependencies
Expand Down
32 changes: 16 additions & 16 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"require": {
"php": ">=7.4",
"ircmaxell/random-lib": "^1.2",
"symfony/config": "^4.4 || ^5.1 || ^6.0",
"symfony/dependency-injection": "^4.4 || ^5.1 || ^6.0",
"symfony/event-dispatcher": "^4.4 || ^5.1 || ^6.0",
"symfony/http-foundation": "^4.4.7 || ^5.1 || ^6.0",
"symfony/http-kernel": "^4.4.13 || ^5.1.5 || ^6.0",
"symfony/serializer": "^4.4 || ^5.1 || ^6.0"
"symfony/config": "^5.1 || ^6.0",
"symfony/dependency-injection": "^5.1 || ^6.0",
"symfony/event-dispatcher": "^5.1 || ^6.0",
"symfony/http-foundation": "^5.1 || ^6.0",
"symfony/http-kernel": "^5.1.5 || ^6.0",
"symfony/serializer": "^5.1 || ^6.0"
},
"require-dev": {
"ext-json": "*",
Expand All @@ -40,17 +40,17 @@
"ocramius/proxy-manager": "^2.0.4",
"phpspec/prophecy": "^1.10",
"sebastian/comparator": "^3.0",
"symfony/asset": "^4.4 || ^5.1 || ^6.0",
"symfony/browser-kit": "^4.4 || ^5.1 || ^6.0",
"symfony/framework-bundle": "^4.4 || ^5.1 || ^6.0",
"symfony/mailer": "^4.4 || ^5.1 || ^6.0",
"symfony/asset": "^5.1 || ^6.0",
"symfony/browser-kit": "^5.1 || ^6.0",
"symfony/framework-bundle": "^5.1 || ^6.0",
"symfony/mailer": "^5.1 || ^6.0",
"symfony/phpunit-bridge": "^5.1 || ^6.0",
"symfony/property-access": "^4.4 || ^5.1 || ^6.0",
"symfony/security-bundle": "^4.4 || ^5.1 || ^6.0",
"symfony/stopwatch": "^4.4 || ^5.1 || ^6.0",
"symfony/templating": "^4.4 || ^5.1 || ^6.0",
"symfony/twig-bundle": "^4.4 || ^5.1 || ^6.0",
"symfony/var-dumper": "^4.4 || ^5.1 || ^6.0"
"symfony/property-access": "^5.1 || ^6.0",
"symfony/security-bundle": "^5.1 || ^6.0",
"symfony/stopwatch": "^5.1 || ^6.0",
"symfony/templating": "^5.1 || ^6.0",
"symfony/twig-bundle": "^5.1 || ^6.0",
"symfony/var-dumper": "^5.1 || ^6.0"
},
"suggest": {
"doctrine/doctrine-bundle": "To connect with Doctrine in Symfony project",
Expand Down

0 comments on commit 1d8865b

Please sign in to comment.