Skip to content

Commit 40dc988

Browse files
committed
Fix CS, remove unneeded ignore in PHPStan config
1 parent ae197d0 commit 40dc988

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ parameters:
77
- "/Call to function method_exists.. with 'Symfony.+' and 'getProjectDir' will always evaluate to false./"
88
excludes_analyse:
99
- '%currentWorkingDirectory%/src/DependencyInjection/Configuration.php'
10-
- '%currentWorkingDirectory%/test/EventListener/ExceptionListenerTest.php'
10+
1111
includes:
1212
- vendor/jangregor/phpstan-prophecy/src/extension.neon
1313
- vendor/phpstan/phpstan-phpunit/extension.neon

test/DependencyInjection/ConfigurationTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ public function testConfigurationDefaults(): void
4949
],
5050
'options' => [
5151
'environment' => '%kernel.environment%',
52-
'in_app_exclude' => $defaultSdkValues->getInAppExcludedPaths(),
52+
'in_app_exclude' => [
53+
'%kernel.cache_dir%',
54+
],
5355
'excluded_exceptions' => $defaultSdkValues->getExcludedExceptions(),
5456
'prefixes' => $defaultSdkValues->getPrefixes(),
5557
'project_root' => '%kernel.root_dir%/..',

0 commit comments

Comments
 (0)