File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/Resources/SimulationRunEvents/Operations Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 44
55use Rector \Config \RectorConfig ;
66use Rector \Php81 \Rector \Class_ \MyCLabsClassToEnumRector ;
7+ use Rector \Php81 \Rector \MethodCall \MyCLabsMethodCallToEnumConstRector ;
78use Rector \Set \ValueObject \LevelSetList ;
89use Rector \Set \ValueObject \SetList ;
910
2425 '*.json ' ,
2526 '*/Fixture/* ' ,
2627 MyCLabsClassToEnumRector::class,
28+ MyCLabsMethodCallToEnumConstRector::class,
2729 ]);
2830
2931 $ rectorConfig ->importNames ();
Original file line number Diff line number Diff line change @@ -24,8 +24,6 @@ public function __construct(
2424
2525 public function getParameters (): array
2626 {
27- $ enumStringify = fn ($ enum ) => $ enum ->getValue ();
28-
2927 return array_merge (
3028 $ this ->pager ?->getParameters() ?? [],
3129 array_filter ([
You can’t perform that action at this time.
0 commit comments