* * 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\Contrib; use Symfony\CS\Tests\Fixer\AbstractFixerTestBase; /** * @author Graham Campbell */ class NoBlankLinesBeforeNamespaceFixerTest extends AbstractFixerTestBase { /** * @dataProvider provideExamples * * @param string $expected * @param string|null $input */ public function testFix($expected, $input = null) { $this->makeTest($expected, $input); } /** * @return array */ public function provideExamples() { return array( array(" * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Symfony\CS\Fixer\Contrib; EOF; $input = <<<'EOF' * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Symfony\CS\Fixer\Contrib; EOF; $this->makeTest($expected, $input); } }