doTest($expected, $input); } public function provideFixCases(): iterable { yield 'simple' => [ ' [ 'fixer->configure([ MultilineIfStatementBracesFixer::C_KEEP_ON_OWN_LINE => false, ]); $this->doTest($expected, $input); } public function provideInvertedFixCases(): iterable { foreach ($this->provideFixCases() as $name => $case) { yield $name => [$case[1], $case[0]]; } } protected function createFixer(): AbstractFixer { return new MultilineIfStatementBracesFixer(); } }