Skip to content

Commit

Permalink
Fix the CI chain (see #7138)
Browse files Browse the repository at this point in the history
Description
-----------



Commits
-------

09b360c Fix the CI chain
  • Loading branch information
leofeyer committed Apr 20, 2024
1 parent 43625e2 commit c393ddf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 10 additions & 1 deletion core-bundle/tests/Twig/TwigIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
use Contao\CoreBundle\Framework\ContaoFramework;
use Contao\CoreBundle\InsertTag\ChunkedText;
use Contao\CoreBundle\InsertTag\InsertTagParser;
use Contao\CoreBundle\Routing\PageFinder;
use Contao\CoreBundle\Tests\TestCase;
use Contao\CoreBundle\Twig\Extension\ContaoExtension;
use Contao\CoreBundle\Twig\Global\ContaoVariable;
Expand Down Expand Up @@ -144,7 +145,15 @@ public function testRendersTwigTemplateWithLegacyParent(): void
$this->createMock(Connection::class),
);

$filesystemLoader = new ContaoFilesystemLoader(new NullAdapter(), $templateLocator, $themeNamespace, $this->createMock(ContaoFramework::class), $this->getTempDir());
$filesystemLoader = new ContaoFilesystemLoader(
new NullAdapter(),
$templateLocator,
$themeNamespace,
$this->createMock(ContaoFramework::class),
$this->createMock(PageFinder::class),
$this->getTempDir(),
);

$environment = new Environment($filesystemLoader);

$environment->addExtension(
Expand Down
1 change: 1 addition & 0 deletions depcheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
return (new Configuration())
->ignoreUnknownClasses([
AppBundle::class,
'Imagick',
'Gmagick',
'Swift_Attachment',
'Swift_EmbeddedFile',
Expand Down

0 comments on commit c393ddf

Please sign in to comment.