Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
acbramley committed Nov 30, 2023
1 parent e289efc commit c0921be
Show file tree
Hide file tree
Showing 36 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion tests/Ignore/fixtures/IgnoreDocCommentSniff.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace PreviousNext\CodingStandard\Tests\Ignore\fixtures;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

$foo = ['Lorem ipsum dolor sit amet, consectetur adipiscing elit', 'sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.'];
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace PreviousNext\CodingStandard\Tests\Ignore\fixtures;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

/**
* @param class-string $a
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

/**
* @return class-string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

// @TODO: fix this or that.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace PreviousNext\CodingStandard\Tests\Ignore\fixtures;

Expand Down
2 changes: 1 addition & 1 deletion tests/Ignore/fixtures/IgnoreUnreachable.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace PreviousNext\CodingStandard\Tests\Ignore\fixtures;

Expand Down
2 changes: 1 addition & 1 deletion tests/Sniffs/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// rule of this standard until it has been reworked.
// @codingStandardsIgnoreFile

declare(strict_types = 1);
declare(strict_types=1);

namespace PreviousNext\CodingStandard\Tests\Sniffs;

Expand Down
2 changes: 1 addition & 1 deletion tests/Sniffs/fixtures/AlphabeticallySortedUsesError.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Sniffs\fixtures;

Expand Down
2 changes: 1 addition & 1 deletion tests/Sniffs/fixtures/AlphabeticallySortedUsesNoError.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Sniffs\fixtures;

Expand Down
2 changes: 1 addition & 1 deletion tests/Sniffs/fixtures/ClassStructureError.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Sniffs\fixtures;

Expand Down
2 changes: 1 addition & 1 deletion tests/Sniffs/fixtures/ClassStructureNoError.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Sniffs\fixtures;

Expand Down
2 changes: 1 addition & 1 deletion tests/Sniffs/fixtures/DrupalRulesetError.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

if (true) $a = 1;
2 changes: 1 addition & 1 deletion tests/Sniffs/fixtures/DrupalRulesetNoError.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* A passing fixture.
*/

declare(strict_types = 1);
declare(strict_types=1);

if (TRUE) {
$a = 1;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Sniffs\fixtures;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Sniffs\fixtures;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Sniffs\fixtures;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Sniffs\fixtures;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Sniffs\fixtures;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Sniffs\fixtures;

Expand Down
2 changes: 1 addition & 1 deletion tests/Sniffs/fixtures/RequireTrailingCommaInCallError.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

hello(
'foo',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

hello(
'foo',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Sniffs\fixtures;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Sniffs\fixtures;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace PreviousNext\CodingStandard\Tests\Sniffs\fixtures;

Expand Down
2 changes: 1 addition & 1 deletion tests/Sniffs/fixtures/ReturnTypeHintIgnoreTraversable.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

/**
* A function.
Expand Down
2 changes: 1 addition & 1 deletion tests/Sniffs/fixtures/ReturnTypeHintNoError.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

/**
* A function.
Expand Down
2 changes: 1 addition & 1 deletion tests/Sniffs/fixtures/ReturnTypeHintSpacingError.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

/**
* A function.
Expand Down
2 changes: 1 addition & 1 deletion tests/Sniffs/fixtures/ReturnTypeHintSpacingNoError.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

/**
* A function.
Expand Down
2 changes: 1 addition & 1 deletion tests/Sniffs/fixtures/ReturnTypeHintUseless.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

/**
* A function.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

/**
* A function.
Expand Down
2 changes: 1 addition & 1 deletion tests/Sniffs/fixtures/StrictTypesNoError.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);
2 changes: 1 addition & 1 deletion tests/Sniffs/fixtures/StrictTypesSpacing.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php

declare(strict_types=1);
declare(strict_types = 1);
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Sniffs\fixtures;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

declare(strict_types = 1);
declare(strict_types=1);

namespace Sniffs\fixtures;

Expand Down

0 comments on commit c0921be

Please sign in to comment.