Skip to content

Commit

Permalink
Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Oct 12, 2023
1 parent 1f72dcb commit 195c759
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions composer-require-checker.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"Symfony\\Bridge\\Twig\\TokenParser\\TransDefaultDomainTokenParser",
"Symfony\\Bridge\\Twig\\TokenParser\\TransTokenParser",
"Symfony\\UX\\TwigComponent\\TwigComponentBundle",
"Symfony\\UX\\TwigComponent\\Twig\\PropsTokenParser",
"Twig\\Extra\\Cache\\TokenParser\\CacheTokenParser"
]
}
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
],
"config": {
"allow-plugins": {
"infection/extension-installer": true,
"ergebnis/composer-normalize": true
"ergebnis/composer-normalize": true,
"infection/extension-installer": true
},
"sort-packages": true
}
Expand Down
1 change: 1 addition & 0 deletions src/Environment/StubbedEnvironment.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ public function __construct(
if (class_exists(TwigComponentBundle::class)) {
$this->addTokenParser(new ComponentTokenParser());
if (class_exists(PropsTokenParser::class)) {
/** @psalm-suppress InternalClass */
$this->addTokenParser(new PropsTokenParser());
}
}
Expand Down

0 comments on commit 195c759

Please sign in to comment.