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 75c175a
Show file tree
Hide file tree
Showing 2 changed files with 22 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
21 changes: 19 additions & 2 deletions scoper.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,27 @@

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\Source;
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,
Source::class,
TokenParserInterface::class,
],
];

0 comments on commit 75c175a

Please sign in to comment.