Skip to content

Commit

Permalink
Drop support for PHP < 7.4 and Symfony < 4.4, fix deprecations (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
garak authored Jun 18, 2024
1 parent d6ae50a commit 16b5677
Show file tree
Hide file tree
Showing 12 changed files with 46 additions and 5,237 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
- php: 7.4
symfony: "^4.4"
- php: 8.1
symfony: "^4.4"
symfony: "^5.4"
- php: 8.2
symfony: "^4.4"
symfony: "^5.4"
- php: 8.3
symfony: "^4.4"
symfony: "^6.4"
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -30,7 +30,7 @@ jobs:
php-version: ${{ matrix.php }}
- name: Restrict Symfony version
if: matrix.symfony
run: rm composer.lock && composer require "symfony/symfony:${{ matrix.symfony }}" --no-update
run: composer require "symfony/symfony:${{ matrix.symfony }}" --no-update
- name: Install dependencies
uses: ramsey/composer-install@v3
- name: Docker compose wait
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@
"crossbar"
],
"require": {
"php": "^7.0|^8.0",
"symfony/http-kernel": "^2.7 || ^3.0 || ^4.0",
"symfony/framework-bundle": "^2.7 || ^3.0 || ^4.0",
"symfony/dependency-injection": "^2.7 || ^3.0 || ^4.0",
"symfony/config": "^2.7 || ^3.0 || ^4.0",
"php": "^7.4 || ^8.0",
"symfony/http-kernel": "^4.4 || ^5.4 || ^6.4",
"symfony/framework-bundle": "^4.4 || ^5.4 || ^6.4",
"symfony/dependency-injection": "^4.4 || ^5.4 || ^6.4",
"symfony/config": "^4.4 || ^5.4 || ^6.4",
"guzzlehttp/guzzle": "^5.0 || ^6.0"
},
"require-dev": {
"phpunit/phpunit": "^9",
"symfony/yaml": "^2.7 || ^3.0 || ^4.0",
"phpunit/phpunit": "^9.6",
"symfony/yaml": "^4.4 || ^5.4 || ^6.4",
"rector/rector": "^1",
"phpspec/prophecy": "^1.18",
"phpspec/prophecy-phpunit": "^2.1"
Expand Down
Loading

0 comments on commit 16b5677

Please sign in to comment.