Skip to content

Commit c928192

Browse files
[Config] decouple tests from DI
1 parent fbb4fc3 commit c928192

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/Resource/ReflectionClassResourceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
use PHPUnit\Framework\TestCase;
1515
use Symfony\Component\Config\Resource\ReflectionClassResource;
16-
use Symfony\Component\DependencyInjection\ServiceSubscriberInterface;
1716
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
1817
use Symfony\Component\Messenger\Handler\MessageSubscriberInterface;
18+
use Symfony\Contracts\Service\ServiceSubscriberInterface;
1919

2020
class ReflectionClassResourceTest extends TestCase
2121
{

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
"symfony/polyfill-ctype": "~1.8"
2222
},
2323
"require-dev": {
24-
"symfony/dependency-injection": "^3.4|^4.0|^5.0",
2524
"symfony/event-dispatcher": "^3.4|^4.0|^5.0",
2625
"symfony/finder": "^3.4|^4.0|^5.0",
2726
"symfony/messenger": "^4.1|^5.0",
27+
"symfony/service-contracts": "^1.1",
2828
"symfony/yaml": "^3.4|^4.0|^5.0"
2929
},
3030
"conflict": {

0 commit comments

Comments
 (0)