* * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Symfony\CS\Tests\Fixer\PSR2; use Symfony\CS\Tests\Fixer\AbstractFixerTestBase; /** * @author Marc Aubé */ class ParenthesisFixerTest extends AbstractFixerTestBase { /** * @dataProvider provideCases */ public function testFixSpaceInsideParenthesis($expected, $input = null) { $this->makeTest($expected, $input); } public function testLeaveNewLinesAlone() { $expected = <<makeTest($expected); } public function provideCases() { return array( array( 'bar($arg1, $arg2);', 'bar( $arg1, $arg2 );', ), array( '