Skip to content

Commit

Permalink
Merge pull request #36 from jerowork/master
Browse files Browse the repository at this point in the history
Support Symfony 7.0
  • Loading branch information
mcg-web authored Feb 1, 2024
2 parents 4cdc87b + 6a83580 commit dfc4bdc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,14 @@ jobs:
symfony-version:
- '5.4.*'
- '6.3.*'
- '7.0.*'
dependencies:
- 'lowest'
- 'highest'
remove-dependencies: [ '' ]
exclude:
- php-version: '8.1'
symfony-version: '7.0.*'

steps:
- name: "Checkout"
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
"require": {
"php": "^8.1",
"overblog/dataloader-php": "^1",
"symfony/dependency-injection": "^5.4 || ^6.3"
"symfony/dependency-injection": "^5.4 || ^6.3 || ^7.0"
},
"require-dev": {
"phpunit/phpunit": "^10.3",
"react/promise": "^2.8.0",
"symfony/framework-bundle": "^5.4||^6.3",
"symfony/phpunit-bridge": "^6.3",
"symfony/yaml": "^5.4 || ^6.3"
"symfony/framework-bundle": "^5.4||^6.3 || ^7.0",
"symfony/phpunit-bridge": "^6.3 || ^7.0",
"symfony/yaml": "^5.4 || ^6.3 || ^7.0"
},
"extra": {
"branch-alias": {
Expand Down
4 changes: 2 additions & 2 deletions tests/Functional/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

use Overblog\DataLoaderBundle\Tests\Functional\app\AppKernel;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Container;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\HttpKernel\KernelInterface;

Expand Down Expand Up @@ -49,7 +49,7 @@ public static function setUpBeforeClass(): void
$fs->remove(sys_get_temp_dir().'/OverblogDataLoaderBundle/');
}

protected static function getContainer(): ContainerInterface
protected static function getContainer(): Container
{
return static::$kernel->getContainer();
}
Expand Down

0 comments on commit dfc4bdc

Please sign in to comment.