Skip to content

Commit

Permalink
Update integrations tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SpacePossum committed Jul 2, 2018
1 parent fab8486 commit 73adc32
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/AutoReview/FixerFactoryTest.php
Expand Up @@ -184,7 +184,6 @@ public function provideFixersPriorityCases()
[$fixers['phpdoc_to_comment'], $fixers['phpdoc_no_useless_inheritdoc']],
[$fixers['phpdoc_to_return_type'], $fixers['fully_qualified_strict_types']],
[$fixers['phpdoc_to_return_type'], $fixers['return_type_declaration']],
[$fixers['phpdoc_var_without_name'], $fixers['phpdoc_trim']],
[$fixers['pow_to_exponentiation'], $fixers['binary_operator_spaces']],
[$fixers['pow_to_exponentiation'], $fixers['method_argument_space']],
[$fixers['pow_to_exponentiation'], $fixers['native_function_casing']],
Expand Down Expand Up @@ -276,15 +275,13 @@ public function testFixersPriorityPairsHaveIntegrationTest(FixerInterface $first
'method_separation,indentation_type.test',
'no_empty_statement,multiline_whitespace_before_semicolons.test',
'no_empty_statement,no_multiline_whitespace_before_semicolons.test',
'no_empty_statement,no_singleline_whitespace_before_semicolons.test',
'phpdoc_no_access,phpdoc_order.test',
'phpdoc_no_access,phpdoc_separation.test',
'phpdoc_no_package,phpdoc_order.test',
'phpdoc_order,phpdoc_separation.test',
'phpdoc_order,phpdoc_trim.test',
'phpdoc_separation,phpdoc_trim.test',
'phpdoc_summary,phpdoc_trim.test',
'phpdoc_var_without_name,phpdoc_trim.test',
];

$integrationTestExists = $this->doesIntegrationTestExist($first, $second);
Expand Down
@@ -0,0 +1,9 @@
--TEST--
Integration of fixers: no_empty_statement,no_singleline_whitespace_before_semicolons.
--RULESET--
{"no_empty_statement": true, "no_singleline_whitespace_before_semicolons": true}
--EXPECT--
<?php /**/ //

--INPUT--
<?php ; /**/ ;//

0 comments on commit 73adc32

Please sign in to comment.