Skip to content

Commit 34748dd

Browse files
authored
fix: removes void return fixer from laravel preset (#312)
1 parent 143a56e commit 34748dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Application/Adapters/Laravel/Preset.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
use NunoMaduro\PhpInsights\Domain\Insights\ForbiddenDefineGlobalConstants;
1111
use NunoMaduro\PhpInsights\Domain\Sniffs\ForbiddenSetterSniff;
1212
use PHP_CodeSniffer\Standards\Generic\Sniffs\PHP\ForbiddenFunctionsSniff;
13+
use PhpCsFixer\Fixer\FunctionNotation\VoidReturnFixer;
1314

1415
/**
1516
* @internal
@@ -41,7 +42,7 @@ public static function get(): array
4142
// ...
4243
],
4344
'remove' => [
44-
// ...
45+
VoidReturnFixer::class,
4546
],
4647
'config' => [
4748
ForbiddenDefineGlobalConstants::class => [

0 commit comments

Comments
 (0)