123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?php
- /*
- * This file is part of PHP CS Fixer.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- * Dariusz Rumiński <dariusz.ruminski@gmail.com>
- *
- * This source file is subject to the MIT license that is bundled
- * with this source code in the file LICENSE.
- */
- namespace PhpCsFixer\Tests\Test;
- use PhpCsFixer\RuleSet;
- use PhpCsFixer\Test\IntegrationCase as LegacyIntegrationCase;
- use PhpCsFixer\Tests\TestCase;
- /**
- * @internal
- *
- * @covers \PhpCsFixer\Test\IntegrationCase
- */
- final class IntegrationCaseTest extends TestCase
- {
- /**
- * @group legacy
- * @expectedDeprecation The "PhpCsFixer\Test\IntegrationCase::shouldCheckPriority" method is deprecated. You should stop using it, as it will be removed in 3.0 version.
- */
- public function testLegacyShouldCheckPriority()
- {
- $integrationCase = new LegacyIntegrationCase(
- 'foo',
- 'Foo',
- [],
- [],
- [],
- new RuleSet(),
- 'Bar',
- 'Baz'
- );
- $integrationCase->shouldCheckPriority();
- }
- }
|