Skip to content

Commit 73801dc

Browse files
authored
Merge pull request #3125 from tarlepp/chore(ci)/phpinsights-configuration
Chore(ci) - Change PHP Insights configuration
2 parents 43eb88d + a2137b4 commit 73801dc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

phpinsights.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@
5353
// ExampleInsight::class,
5454
NunoMaduro\PhpInsights\Domain\Insights\Composer\ComposerMustBeValid::class,
5555
NunoMaduro\PhpInsights\Domain\Insights\ForbiddenNormalClasses::class,
56-
// Disabled for now because of the - https://github.com/nunomaduro/phpinsights/issues/704
57-
NunoMaduro\PhpInsights\Domain\Insights\ForbiddenSecurityIssues::class,
5856
NunoMaduro\PhpInsights\Domain\Insights\ForbiddenTraits::class,
5957
NunoMaduro\PhpInsights\Domain\Sniffs\ForbiddenSetterSniff::class,
6058
ObjectCalisthenics\Sniffs\Classes\ForbiddenPublicPropertySniff::class,
@@ -109,6 +107,11 @@
109107
'&' => 'align',
110108
],
111109
],
110+
PHP_CodeSniffer\Standards\Squiz\Sniffs\PHP\EvalSniff::class => [
111+
'exclude' => [
112+
'src/Decorator/StopwatchDecorator.php',
113+
],
114+
],
112115
SlevomatCodingStandard\Sniffs\Functions\UnusedParameterSniff::class => [
113116
'exclude' => [
114117
'src/ArgumentResolver/LoggedInUserValueResolver.php',

0 commit comments

Comments
 (0)