* * 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 Dariusz RumiƄski */ class IndentationFixerTest extends AbstractFixerTestBase { /** * @dataProvider provideIndentationOnly */ public function testIndentationOnly($expected, $input = null) { $this->makeTest($expected, $input); } /** * @dataProvider provideIndentationAndAlignment */ public function testIndentationAndAlignment($expected, $input = null) { $this->makeTest($expected, $input); } /** * @dataProvider provideTabInString */ public function testTabInString($expected, $input = null) { $this->makeTest($expected, $input); } /** * @dataProvider provideTabInComment */ public function testTabInComment($expected, $input = null) { $this->makeTest($expected, $input); } public function provideIndentationOnly() { $cases = array(); $cases[] = array( 'makeTest($expected, $input); } public function provideTabInInlineHTML() { $cases = array( array( "\r\n\t\$a = ellow;", ), ); return $cases; } }