Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/Core/Generators/Fixtures/HTMLDouble.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class HTMLDouble extends HTML
*/
protected function getFormattedFooter()
{
$output =' <div class="tag-line">Documentation generated on #REDACTED# by <a href="https://github.com/PHPCSStandards/PHP_CodeSniffer">PHP_CodeSniffer #VERSION#</a></div>
$output = ' <div class="tag-line">Documentation generated on #REDACTED# by <a href="https://github.com/PHPCSStandards/PHP_CodeSniffer">PHP_CodeSniffer #VERSION#</a></div>
</body>
</html>';

Expand Down
4 changes: 2 additions & 2 deletions tests/Core/Generators/Fixtures/MarkdownDouble.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ class MarkdownDouble extends Markdown
*/
protected function getFormattedFooter()
{
$output = PHP_EOL.'Documentation generated on *REDACTED*';
$output .= ' by [PHP_CodeSniffer *VERSION*](https://github.com/PHPCSStandards/PHP_CodeSniffer)'.PHP_EOL;
$output = PHP_EOL.'Documentation generated on *REDACTED*';
$output .= ' by [PHP_CodeSniffer *VERSION*](https://github.com/PHPCSStandards/PHP_CodeSniffer)'.PHP_EOL;

return $output;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use PHP_CodeSniffer\Sniffs\DeprecatedSniff;
use PHP_CodeSniffer\Sniffs\Sniff;

class WithLongReplacementSniff implements Sniff,DeprecatedSniff
class WithLongReplacementSniff implements Sniff, DeprecatedSniff
{

public function getDeprecationVersion()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use PHP_CodeSniffer\Sniffs\DeprecatedSniff;
use PHP_CodeSniffer\Sniffs\Sniff;

class WithReplacementContainingLinuxNewlinesSniff implements Sniff,DeprecatedSniff
class WithReplacementContainingLinuxNewlinesSniff implements Sniff, DeprecatedSniff
{

public function getDeprecationVersion()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use PHP_CodeSniffer\Sniffs\DeprecatedSniff;
use PHP_CodeSniffer\Sniffs\Sniff;

class WithReplacementContainingNewlinesSniff implements Sniff,DeprecatedSniff
class WithReplacementContainingNewlinesSniff implements Sniff, DeprecatedSniff
{

public function getDeprecationVersion()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use PHP_CodeSniffer\Sniffs\DeprecatedSniff;
use PHP_CodeSniffer\Sniffs\Sniff;

class WithReplacementSniff implements Sniff,DeprecatedSniff
class WithReplacementSniff implements Sniff, DeprecatedSniff
{

public function getDeprecationVersion()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use PHP_CodeSniffer\Sniffs\DeprecatedSniff;
use PHP_CodeSniffer\Sniffs\Sniff;

class WithoutReplacementSniff implements Sniff,DeprecatedSniff
class WithoutReplacementSniff implements Sniff, DeprecatedSniff
{

public function getDeprecationVersion()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use PHP_CodeSniffer\Sniffs\DeprecatedSniff;
use PHP_CodeSniffer\Sniffs\Sniff;

class EmptyDeprecationVersionSniff implements Sniff,DeprecatedSniff
class EmptyDeprecationVersionSniff implements Sniff, DeprecatedSniff
{

public function getDeprecationVersion()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use PHP_CodeSniffer\Sniffs\DeprecatedSniff;
use PHP_CodeSniffer\Sniffs\Sniff;

class EmptyRemovalVersionSniff implements Sniff,DeprecatedSniff
class EmptyRemovalVersionSniff implements Sniff, DeprecatedSniff
{

public function getDeprecationVersion()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use PHP_CodeSniffer\Sniffs\Sniff;
use stdClass;

class InvalidDeprecationMessageSniff implements Sniff,DeprecatedSniff
class InvalidDeprecationMessageSniff implements Sniff, DeprecatedSniff
{

public function getDeprecationVersion()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use PHP_CodeSniffer\Sniffs\DeprecatedSniff;
use PHP_CodeSniffer\Sniffs\Sniff;

class InvalidDeprecationVersionSniff implements Sniff,DeprecatedSniff
class InvalidDeprecationVersionSniff implements Sniff, DeprecatedSniff
{

public function getDeprecationVersion()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use PHP_CodeSniffer\Sniffs\DeprecatedSniff;
use PHP_CodeSniffer\Sniffs\Sniff;

class InvalidRemovalVersionSniff implements Sniff,DeprecatedSniff
class InvalidRemovalVersionSniff implements Sniff, DeprecatedSniff
{

public function getDeprecationVersion()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ final class ValidImplementsViaAbstractSniff extends AbstractArraySniff
{

protected function processSingleLineArray($phpcsFile, $stackPtr, $arrayStart, $arrayEnd, $indices)
{
// Do something.
{
// Do something.
}

protected function processMultiLineArray($phpcsFile, $stackPtr, $arrayStart, $arrayEnd, $indices)
{
// Do something.
{
// Do something.
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function register()
{
return [
T_OPEN_TAG,
T_OPEN_TAG_WITH_ECHO
T_OPEN_TAG_WITH_ECHO,
];
}

Expand Down
Loading