@@ -20,7 +20,7 @@ public function testMatchComposerTriggered(): void
2020 $ setManager = $ this ->createSetManagerWithProjectDirectory (getcwd ());
2121
2222 $ twigComposerTriggeredSet = $ setManager ->matchComposerTriggered (SetGroup::TWIG );
23- $ this ->assertCount (7 , $ twigComposerTriggeredSet );
23+ $ this ->assertCount (8 , $ twigComposerTriggeredSet );
2424 }
2525
2626 /**
@@ -43,13 +43,20 @@ public function testByVersion(string $projectDirectory, array $expectedSets): vo
4343 public static function provideInstalledTwigData (): Iterator
4444 {
4545 // here we cannot used features coming up in 2.4, as we only have 2.0
46- yield [__DIR__ . '/Fixture/project-twig-20 ' , [realpath (TwigSetList::TWIG_20 )]];
46+ yield [
47+ __DIR__ . '/Fixture/project-twig-20 ' ,
48+ [realpath (TwigSetList::COMPOSER_BASED ), realpath (TwigSetList::TWIG_20 )],
49+ ];
4750
48- yield [__DIR__ . '/Fixture/project-twig-24 ' , [realpath (TwigSetList::TWIG_20 ), realpath (TwigSetList::TWIG_24 )]];
51+ yield [
52+ __DIR__ . '/Fixture/project-twig-24 ' ,
53+ [realpath (TwigSetList::COMPOSER_BASED ), realpath (TwigSetList::TWIG_20 ), realpath (TwigSetList::TWIG_24 )],
54+ ];
4955
5056 yield [
5157 __DIR__ . '/Fixture/project-twig-127 ' ,
52- [realpath (TwigSetList::TWIG_112 ), realpath (TwigSetList::TWIG_127 )]];
58+ [realpath (TwigSetList::COMPOSER_BASED ), realpath (TwigSetList::TWIG_112 ), realpath (TwigSetList::TWIG_127 )],
59+ ];
5360 }
5461
5562 private function createSetManagerWithProjectDirectory (string $ projectDirectory ): SetManager
0 commit comments