Skip to content

Commit

Permalink
Update CI to remove old PHP versions
Browse files Browse the repository at this point in the history
  • Loading branch information
lruozzi9 committed Apr 29, 2024
1 parent af1e274 commit 53c4b4a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 24 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.1', '7.2', '7.3', '7.4', '8.0']
php: ['7.4', '8.0', '8.1', '8.2', '8.3']
composer: ['']
phpunit: ['']
deprecation: ['']
Expand All @@ -32,25 +32,25 @@ jobs:
- php: 8.0
composer: --prefer-stable --prefer-lowest
deprecation: max[direct]=0
- php: 7.1
- php: 7.4
composer: --prefer-stable --prefer-lowest
deprecation: max[direct]=0

# symfony version
- php: 8.0
symfony: '^3.0'
- php: 8.0
symfony: '^4.0'
- php: 8.0
symfony: '^5.0'
- php: 8.3
symfony: '^5.4'
- php: 8.3
symfony: '^6.4'
- php: 8.3
symfony: '^7.0'

# dev
- php: 8.0
- php: 8.3
stability: 'dev'

steps:
- name: Set up PHP
uses: shivammathur/setup-php@2.7.0
uses: shivammathur/setup-php@2
with:
php-version: ${{ matrix.php }}
coverage: none
Expand Down
24 changes: 10 additions & 14 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,22 @@
}
],
"require": {
"php": "^7.1 | ^8.0",
"symfony/config": "^3.4|^4.0|^5.0|^6.0|^7.0",
"symfony/console": "^3.4|^4.0|^5.0|^6.0|^7.0",
"symfony/dependency-injection": "^3.4|^4.0|^5.0|^6.0|^7.0",
"symfony/event-dispatcher": "^3.4|^4.0|^5.0|^6.0|^7.0",
"symfony/http-kernel": "^3.4|^4.0|^5.0|^6.0|^7.0"
"php": "^7.4|^8.0",
"symfony/config": "^5.4|^6.4|^7.0",
"symfony/console": "^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": {
"matthiasnoback/symfony-dependency-injection-test": "^3.1|^4.0",
"symfony/framework-bundle": "^3.4|^4.0|^5.0|^6.0|^7.0",
"matthiasnoback/symfony-dependency-injection-test": "^5.1",
"symfony/framework-bundle": "^5.4|^6.4|^7.0",
"symfony/phpunit-bridge": "^5.3|^6.0|^7.0",
"symfony/debug": ">3.4.21",
"twig/twig": "^1.32|^2.4|^3.0",
"symfony/monolog-bundle": "^3.2"
},
"conflict": {
"twig/twig": "<1.32"
"symfony/monolog-bundle": "^3.10"
},
"suggest": {
"symfony/monolog-bundle": "^3.2"
"symfony/monolog-bundle": "^3.10"
},
"autoload": {
"psr-4": { "Ekino\\NewRelicBundle\\": "" },
Expand Down

0 comments on commit 53c4b4a

Please sign in to comment.