|
2 | 2 |
|
3 | 3 | declare(strict_types=1); |
4 | 4 |
|
5 | | -return TwigStan\Config\TwigStanConfig::configure(__DIR__) |
| 5 | +use TwigStan\Config\TwigStanConfig; |
| 6 | + |
| 7 | +return TwigStanConfig::configure(__DIR__) |
6 | 8 | ->reportUnmatchedIgnoredErrors(true) |
7 | 9 | ->phpstanConfigurationFile(__DIR__.'/phpstan.neon') |
8 | 10 | ->phpstanMemoryLimit(false) |
9 | 11 | ->twigEnvironmentLoader(__DIR__.'/twig-loader.php') |
10 | 12 | ->twigPaths(__DIR__.'/templates') |
11 | | - // ->twigPaths(__DIR__ . '/tests/EndToEnd/Types') |
12 | | - // ->twigExcludes('something.html.twig') |
13 | | - // ->phpPaths(__DIR__ . '/tests/Fixtures') |
14 | | - // ->phpExcludes('something.php') |
15 | | - // ->ignoreErrors( |
16 | | - // TwigStan\Error\IgnoreError::create('#SomeOther#', 'someIdentifier.someValue', __DIR__ . '/some/path.php'), |
17 | | - // TwigStan\Error\IgnoreError::message('#SomePattern#'), |
18 | | - // TwigStan\Error\IgnoreError::identifier('someIdentifier'), |
19 | | - // TwigStan\Error\IgnoreError::path(__DIR__ . '/some/path.php'), |
20 | | - // TwigStan\Error\IgnoreError::messageAndIdentifier('#SomePattern#', 'someIdentifier'), |
21 | | - // TwigStan\Error\IgnoreError::messageAndPath('#SomePattern#', __DIR__ . '/some/path.php'), |
22 | | - // TwigStan\Error\IgnoreError::identifierAndPath('someIdentifier', __DIR__ . '/some/path.php'), |
23 | | - // ) |
| 13 | + ->phpPaths(__DIR__.'/src/Controller') |
24 | 14 | ->create(); |
0 commit comments