* * 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 PhpdocOrderFixerTest extends AbstractFixerTestBase { public function testNoChanges() { $expected = <<<'EOF' makeTest($expected); } public function testOnlyParams() { $expected = <<<'EOF' makeTest($expected); } public function testOnlyReturns() { $expected = <<<'EOF' makeTest($expected); } public function testEmpty() { $this->makeTest('/***/'); } public function testNoAnnotations() { $expected = <<<'EOF' makeTest($expected); } public function testFixBasicCase() { $expected = <<<'EOF' makeTest($expected, $input); } public function testFixCompeteCase() { $expected = <<<'EOF' makeTest($expected, $input); } public function testExampleFromSymfony() { $expected = <<<'EOF' makeTest($expected, $input); } }