Skip to content

Commit

Permalink
Working
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Jul 20, 2024
1 parent 9830c48 commit d2a2a4f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ composer.lock
## Infection
infection.log
infection.html

## Box
bin/twig-cs-fixer.phar
19 changes: 17 additions & 2 deletions scoper.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,25 @@

declare(strict_types=1);

use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Finder\Finder;
use Twig\Environment;
use Twig\Extension\ExtensionInterface;
use Twig\NodeVisitor\NodeVisitorInterface;
use Twig\TokenParser\TokenParserInterface;

return [
'exclude-namespaces' => ['^TwigCsFixer\\'],
'exclude-namespaces' => ['TwigCsFixer'],
'expose-global-constants' => false,
'expose-global-classes' => false,
'expose-global-functions' => false,
'expose-namespaces' => ['^Symfony\\', '^Twig\\'],
'expose-namespaces' => ['Twig\Node'],
'expose-classes' => [
OutputInterface::class,
Finder::class,
Environment::class,
ExtensionInterface::class,
NodeVisitorInterface::class,
TokenParserInterface::class,
],
];

0 comments on commit d2a2a4f

Please sign in to comment.