|
@@ -221,7 +221,6 @@ final class FixerFactoryTest extends TestCase
|
|
|
[$fixers['phpdoc_annotation_without_dot'], $fixers['phpdoc_types']],
|
|
|
[$fixers['phpdoc_annotation_without_dot'], $fixers['phpdoc_types_order']],
|
|
|
[$fixers['phpdoc_no_access'], $fixers['no_empty_phpdoc']],
|
|
|
- [$fixers['phpdoc_no_access'], $fixers['phpdoc_order']],
|
|
|
[$fixers['phpdoc_no_access'], $fixers['phpdoc_separation']],
|
|
|
[$fixers['phpdoc_no_access'], $fixers['phpdoc_trim']],
|
|
|
[$fixers['phpdoc_no_alias_tag'], $fixers['phpdoc_add_missing_param_annotation']],
|
|
@@ -231,7 +230,6 @@ final class FixerFactoryTest extends TestCase
|
|
|
[$fixers['phpdoc_no_empty_return'], $fixers['phpdoc_separation']],
|
|
|
[$fixers['phpdoc_no_empty_return'], $fixers['phpdoc_trim']],
|
|
|
[$fixers['phpdoc_no_package'], $fixers['no_empty_phpdoc']],
|
|
|
- [$fixers['phpdoc_no_package'], $fixers['phpdoc_order']],
|
|
|
[$fixers['phpdoc_no_package'], $fixers['phpdoc_separation']],
|
|
|
[$fixers['phpdoc_no_package'], $fixers['phpdoc_trim']],
|
|
|
[$fixers['phpdoc_no_useless_inheritdoc'], $fixers['no_empty_phpdoc']],
|
|
@@ -338,13 +336,6 @@ final class FixerFactoryTest extends TestCase
|
|
|
*/
|
|
|
public function testFixersPriorityPairsHaveIntegrationTest(FixerInterface $first, FixerInterface $second)
|
|
|
{
|
|
|
- // This structure contains older cases that are not yet covered by tests.
|
|
|
- // It may only shrink, never add anything to it.
|
|
|
- $casesWithoutTests = [
|
|
|
- 'phpdoc_no_access,phpdoc_order.test',
|
|
|
- 'phpdoc_no_package,phpdoc_order.test',
|
|
|
- ];
|
|
|
-
|
|
|
$integrationTestName = $this->generateIntegrationTestName($first, $second);
|
|
|
$file = $this->getIntegrationPriorityDirectory().$integrationTestName;
|
|
|
|
|
@@ -357,11 +348,6 @@ final class FixerFactoryTest extends TestCase
|
|
|
$integrationTestExists = is_file($file);
|
|
|
}
|
|
|
|
|
|
- if (\in_array($integrationTestName, $casesWithoutTests, true)) {
|
|
|
- static::assertFalse($integrationTestExists, sprintf('Case "%s" already has an integration test, so it should be removed from "$casesWithoutTests".', $integrationTestName));
|
|
|
- static::markTestIncomplete(sprintf('Case "%s" has no integration test yet, please help and add it.', $integrationTestName));
|
|
|
- }
|
|
|
-
|
|
|
static::assertTrue($integrationTestExists, sprintf('There shall be an integration test "%s". How do you know that priority set up is good, if there is no integration test to check it?', $integrationTestName));
|
|
|
|
|
|
$file = realpath($file);
|