Skip to content

Commit 87bdb15

Browse files
committed
CS: some clean up of test fixtures
Test fixtures do not have to comply with all the CS rules, but it is helpful if their formatting is relative close to the project's rules. This fixes up some sloppiness which had creeped into the test fixture files.
1 parent 41a9203 commit 87bdb15

14 files changed

+18
-18
lines changed

tests/Core/Generators/Fixtures/HTMLDouble.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class HTMLDouble extends HTML
2020
*/
2121
protected function getFormattedFooter()
2222
{
23-
$output =' <div class="tag-line">Documentation generated on #REDACTED# by <a href="https://github.com/PHPCSStandards/PHP_CodeSniffer">PHP_CodeSniffer #VERSION#</a></div>
23+
$output = ' <div class="tag-line">Documentation generated on #REDACTED# by <a href="https://github.com/PHPCSStandards/PHP_CodeSniffer">PHP_CodeSniffer #VERSION#</a></div>
2424
</body>
2525
</html>';
2626

tests/Core/Generators/Fixtures/MarkdownDouble.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ class MarkdownDouble extends Markdown
2020
*/
2121
protected function getFormattedFooter()
2222
{
23-
$output = PHP_EOL.'Documentation generated on *REDACTED*';
24-
$output .= ' by [PHP_CodeSniffer *VERSION*](https://github.com/PHPCSStandards/PHP_CodeSniffer)'.PHP_EOL;
23+
$output = PHP_EOL.'Documentation generated on *REDACTED*';
24+
$output .= ' by [PHP_CodeSniffer *VERSION*](https://github.com/PHPCSStandards/PHP_CodeSniffer)'.PHP_EOL;
2525

2626
return $output;
2727
}

tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/Deprecated/WithLongReplacementSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use PHP_CodeSniffer\Sniffs\DeprecatedSniff;
1212
use PHP_CodeSniffer\Sniffs\Sniff;
1313

14-
class WithLongReplacementSniff implements Sniff,DeprecatedSniff
14+
class WithLongReplacementSniff implements Sniff, DeprecatedSniff
1515
{
1616

1717
public function getDeprecationVersion()

tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/Deprecated/WithReplacementContainingLinuxNewlinesSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use PHP_CodeSniffer\Sniffs\DeprecatedSniff;
1212
use PHP_CodeSniffer\Sniffs\Sniff;
1313

14-
class WithReplacementContainingLinuxNewlinesSniff implements Sniff,DeprecatedSniff
14+
class WithReplacementContainingLinuxNewlinesSniff implements Sniff, DeprecatedSniff
1515
{
1616

1717
public function getDeprecationVersion()

tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/Deprecated/WithReplacementContainingNewlinesSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use PHP_CodeSniffer\Sniffs\DeprecatedSniff;
1212
use PHP_CodeSniffer\Sniffs\Sniff;
1313

14-
class WithReplacementContainingNewlinesSniff implements Sniff,DeprecatedSniff
14+
class WithReplacementContainingNewlinesSniff implements Sniff, DeprecatedSniff
1515
{
1616

1717
public function getDeprecationVersion()

tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/Deprecated/WithReplacementSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use PHP_CodeSniffer\Sniffs\DeprecatedSniff;
1212
use PHP_CodeSniffer\Sniffs\Sniff;
1313

14-
class WithReplacementSniff implements Sniff,DeprecatedSniff
14+
class WithReplacementSniff implements Sniff, DeprecatedSniff
1515
{
1616

1717
public function getDeprecationVersion()

tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/Deprecated/WithoutReplacementSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use PHP_CodeSniffer\Sniffs\DeprecatedSniff;
1212
use PHP_CodeSniffer\Sniffs\Sniff;
1313

14-
class WithoutReplacementSniff implements Sniff,DeprecatedSniff
14+
class WithoutReplacementSniff implements Sniff, DeprecatedSniff
1515
{
1616

1717
public function getDeprecationVersion()

tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/DeprecatedInvalid/EmptyDeprecationVersionSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use PHP_CodeSniffer\Sniffs\DeprecatedSniff;
1212
use PHP_CodeSniffer\Sniffs\Sniff;
1313

14-
class EmptyDeprecationVersionSniff implements Sniff,DeprecatedSniff
14+
class EmptyDeprecationVersionSniff implements Sniff, DeprecatedSniff
1515
{
1616

1717
public function getDeprecationVersion()

tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/DeprecatedInvalid/EmptyRemovalVersionSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use PHP_CodeSniffer\Sniffs\DeprecatedSniff;
1212
use PHP_CodeSniffer\Sniffs\Sniff;
1313

14-
class EmptyRemovalVersionSniff implements Sniff,DeprecatedSniff
14+
class EmptyRemovalVersionSniff implements Sniff, DeprecatedSniff
1515
{
1616

1717
public function getDeprecationVersion()

tests/Core/Ruleset/Fixtures/TestStandard/Sniffs/DeprecatedInvalid/InvalidDeprecationMessageSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use PHP_CodeSniffer\Sniffs\Sniff;
1313
use stdClass;
1414

15-
class InvalidDeprecationMessageSniff implements Sniff,DeprecatedSniff
15+
class InvalidDeprecationMessageSniff implements Sniff, DeprecatedSniff
1616
{
1717

1818
public function getDeprecationVersion()

0 commit comments

Comments
 (0)