Skip to content

Commit 21a6131

Browse files
committed
chore: apply cs fix
1 parent 5cf6923 commit 21a6131

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

rector.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
* For the full copyright and license information, please view
1111
* the LICENSE file that was distributed with this source code.
1212
*/
13-
use Rector\CodeQuality\Rector\BooleanNot\NegatedAndsToPositiveOrsRector;
14-
use Rector\DeadCode\Rector\ClassMethod\RemoveDuplicatedReturnSelfDocblockRector;
13+
1514
use Rector\Caching\ValueObject\Storage\FileCacheStorage;
15+
use Rector\CodeQuality\Rector\BooleanNot\NegatedAndsToPositiveOrsRector;
1616
use Rector\CodeQuality\Rector\Empty_\SimplifyEmptyCheckOnEmptyArrayRector;
1717
use Rector\CodeQuality\Rector\FuncCall\CompactToVariablesRector;
1818
use Rector\CodeQuality\Rector\FunctionLike\SimplifyUselessVariableRector;
@@ -23,6 +23,7 @@
2323
use Rector\CodingStyle\Rector\FuncCall\CountArrayToEmptyArrayComparisonRector;
2424
use Rector\CodingStyle\Rector\FuncCall\VersionCompareFuncCallToConstantRector;
2525
use Rector\Config\RectorConfig;
26+
use Rector\DeadCode\Rector\ClassMethod\RemoveDuplicatedReturnSelfDocblockRector;
2627
use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedConstructorParamRector;
2728
use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPrivateMethodRector;
2829
use Rector\DeadCode\Rector\MethodCall\RemoveNullArgOnNullDefaultParamRector;

tests/system/Test/FeatureTestTraitTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ public function testCallGetWithParams(): void
412412
[
413413
'GET',
414414
'home',
415-
static fn (): string|false => json_encode(service('request')->getGet()),
415+
static fn (): false|string => json_encode(service('request')->getGet()),
416416
],
417417
]);
418418
$data = [
@@ -439,7 +439,7 @@ public function testCallGetWithParamsAndREQUEST(): void
439439
[
440440
'GET',
441441
'home',
442-
static fn (): string|false => json_encode(service('request')->fetchGlobal('request')),
442+
static fn (): false|string => json_encode(service('request')->fetchGlobal('request')),
443443
],
444444
]);
445445
$data = [
@@ -466,7 +466,7 @@ public function testCallPostWithParams(): void
466466
[
467467
'POST',
468468
'home',
469-
static fn (): string|false => json_encode(service('request')->getPost()),
469+
static fn (): false|string => json_encode(service('request')->getPost()),
470470
],
471471
]);
472472
$data = [
@@ -493,7 +493,7 @@ public function testCallPostWithParamsAndREQUEST(): void
493493
[
494494
'POST',
495495
'home',
496-
static fn (): string|false => json_encode(service('request')->fetchGlobal('request')),
496+
static fn (): false|string => json_encode(service('request')->fetchGlobal('request')),
497497
],
498498
]);
499499
$data = [
@@ -544,7 +544,7 @@ public function testCallPutWithJsonRequestAndREQUEST(): void
544544
[
545545
'PUT',
546546
'home',
547-
static fn (): string|false => json_encode(service('request')->fetchGlobal('request')),
547+
static fn (): false|string => json_encode(service('request')->fetchGlobal('request')),
548548
],
549549
]);
550550
$data = [

0 commit comments

Comments
 (0)