Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Symfony 7.0 #291

Merged
merged 4 commits into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
fail-fast: false
matrix:
php: [8.0, 8.1, 8.2]
symfony: [4.4, 5.4, 6.0]
symfony: [4.4, 5.4, 6.0, 7.0]
steps:
- name: Setup PHP
uses: shivammathur/[email protected]
Expand Down
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@
"phpstan/phpstan": "^1.4",
"phpunit/phpunit": "^9.5",
"royvoetman/flysystem-gitlab-storage": "^2.0 || ^3.0",
"symfony/asset": "^4.4 || ^5.3 || ^6.0",
"symfony/browser-kit": "^4.4 || ^5.3 || ^6.0",
"symfony/finder": "^4.4 || ^5.3 || ^6.0",
"symfony/framework-bundle": "^4.4 || ^5.3 || ^6.0",
"symfony/phpunit-bridge": "^6.0",
"symfony/templating": "^4.4 || ^5.3 || ^6.0",
"symfony/translation": "^4.4 || ^5.3 || ^6.0",
"symfony/yaml": "^4.4 || ^5.3 || ^6.0"
"symfony/asset": "^4.4 || ^5.3 || ^6.0 || ^7.0",
"symfony/browser-kit": "^4.4 || ^5.3 || ^6.0 || ^7.0",
"symfony/finder": "^4.4 || ^5.3 || ^6.0 || ^7.0",
"symfony/framework-bundle": "^4.4 || ^5.3 || ^6.0 || ^7.0",
"symfony/phpunit-bridge": "^6.0 || ^7.0",
"symfony/templating": "^4.4 || ^5.3 || ^6.0 || ^7.0",
"symfony/translation": "^4.4 || ^5.3 || ^6.0 || ^7.0",
"symfony/yaml": "^4.4 || ^5.3 || ^6. || ^7.00"
},
"suggest": {
"ext-fileinfo": "Required for MimeType",
Expand Down
4 changes: 2 additions & 2 deletions tests/Model/ContainerAwareTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Symfony\Bundle\FrameworkBundle\KernelBrowser;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Container;

class ContainerAwareTestCase extends WebTestCase
{
Expand All @@ -31,10 +31,10 @@
/**
* BC layer: to be removed once sf <5.3 will not be supported anymore.
bytehead marked this conversation as resolved.
Show resolved Hide resolved
*/
protected static function getContainer(): ContainerInterface
protected static function getContainer(): Container
{
if (\is_callable('parent::getContainer')) {
return parent::getContainer();

Check failure on line 37 in tests/Model/ContainerAwareTestCase.php

View workflow job for this annotation

GitHub Actions / Coding Style

Method Oneup\FlysystemBundle\Tests\Model\ContainerAwareTestCase::getContainer() should return Symfony\Component\DependencyInjection\Container but returns Symfony\Component\DependencyInjection\ContainerInterface.
}

/* @phpstan-ignore-next-line */
Expand Down
Loading