Skip to content

Commit

Permalink
Try
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Jul 20, 2024
1 parent f9caba5 commit 6606f95
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
__DIR__.'/tests',
__DIR__.'/.php-cs-fixer.php',
__DIR__.'/rector.php',
__DIR__.'/scoper.inc.php',
]);

$rectorConfig->sets([
Expand Down
18 changes: 18 additions & 0 deletions scoper.inc.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

declare(strict_types=1);

use Symfony\Component\Finder\Finder;
use Twig\Extension\ExtensionInterface;
use Twig\NodeVisitor\NodeVisitorInterface;
use Twig\TokenParser\TokenParserInterface;

return [
'exclude-namespaces' => ['TwigCsFixer'],
'expose-classes' => [
Finder::class,
ExtensionInterface::class,
NodeVisitorInterface::class,
TokenParserInterface::class,
],
];

0 comments on commit 6606f95

Please sign in to comment.