Skip to content

Commit 98cafbd

Browse files
committed
fix: disable static lambda fixer
1 parent bbe0c83 commit 98cafbd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.php-cs-fixer.dist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
require_once 'vendor/autoload.php';
99

10-
$config = ConfigBuilder::createFromRuleSet(new DefaultSet())
10+
$config = ConfigBuilder::createFromRuleSet(new DefaultSet(['static_lambda' => false]))
1111
->inDir(__DIR__ . '/src')
1212
->inDir(__DIR__ . '/tests')
1313
->addFiles([__FILE__])

tests/Pest/ExampleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
declare(strict_types=1);
44

5-
test('example', static function (): void {
5+
test('example', function (): void {
66
expect(true)->toBeTrue();
77
});

0 commit comments

Comments
 (0)