Skip to content

Commit a28345a

Browse files
committed
fix pipeline
1 parent 83fc927 commit a28345a

11 files changed

Lines changed: 4 additions & 18 deletions

MO4/Sniffs/Arrays/ArrayDoubleArrowAlignmentSniff.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ class ArrayDoubleArrowAlignmentSniff implements Sniff
5353
*
5454
* @see Tokens.php
5555
*/
56-
#[\Override]
5756
public function register(): array
5857
{
5958
return $this->arrayTokens;
@@ -69,7 +68,6 @@ public function register(): array
6968
* the stack passed in $tokens.
7069
*
7170
*/
72-
#[\Override]
7371
public function process(File $phpcsFile, $stackPtr): void
7472
{
7573
$tokens = $phpcsFile->getTokens();

MO4/Sniffs/Arrays/MultiLineArraySniff.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ class MultiLineArraySniff implements Sniff
5050
*
5151
* @see Tokens.php
5252
*/
53-
#[\Override]
5453
public function register(): array
5554
{
5655
return $this->arrayTokens;
@@ -66,7 +65,6 @@ public function register(): array
6665
* the stack passed in $tokens.
6766
*
6867
*/
69-
#[\Override]
7068
public function process(File $phpcsFile, $stackPtr): void
7169
{
7270
$tokens = $phpcsFile->getTokens();

MO4/Sniffs/Commenting/PropertyCommentSniff.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ public function __construct()
7676
*
7777
* @throws RuntimeException
7878
*/
79-
#[\Override]
8079
protected function processTokenWithinScope(File $phpcsFile, $stackPtr, $currScope): void
8180
{
8281
$find = [
@@ -244,7 +243,6 @@ protected function processTokenWithinScope(File $phpcsFile, $stackPtr, $currScop
244243
* token was found.
245244
*
246245
*/
247-
#[\Override]
248246
protected function processTokenOutsideScope(File $phpcsFile, $stackPtr): void
249247
{
250248
}

MO4/Sniffs/Formatting/AlphabeticalUseStatementsSniff.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ class AlphabeticalUseStatementsSniff extends UseDeclarationSniff
8888
* the stack passed in $tokens.
8989
*
9090
*/
91-
#[\Override]
9291
public function process(File $phpcsFile, $stackPtr): void
9392
{
9493
if (!\in_array($this->order, self::SUPPORTED_ORDERING_METHODS, true)) {

MO4/Sniffs/Formatting/UnnecessaryNamespaceUsageSniff.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ class UnnecessaryNamespaceUsageSniff implements Sniff
5656
*
5757
* @see Tokens.php
5858
*/
59-
#[\Override]
6059
public function register(): array
6160
{
6261
return [T_CLASS];
@@ -77,7 +76,6 @@ public function register(): array
7776
*
7877
* @throws RuntimeException
7978
*/
80-
#[\Override]
8179
public function process(File $phpcsFile, $stackPtr): void
8280
{
8381
$docCommentTags = [

MO4/Sniffs/Strings/VariableInDoubleQuotedStringSniff.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ class VariableInDoubleQuotedStringSniff implements Sniff
4141
*
4242
* @see Tokens.php
4343
*/
44-
#[\Override]
4544
public function register(): array
4645
{
4746
return [T_DOUBLE_QUOTED_STRING];
@@ -60,7 +59,6 @@ public function register(): array
6059
* was found.
6160
*
6261
*/
63-
#[\Override]
6462
public function process(File $phpcsFile, $stackPtr): void
6563
{
6664
$varRegExp = '/\$[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*(?:\->[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*|\[[^\]]*\])?/';

MO4/Sniffs/WhiteSpace/ConstantSpacingSniff.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ class ConstantSpacingSniff implements Sniff
4848
*
4949
* @see Tokens.php
5050
*/
51-
#[\Override]
5251
public function register(): array
5352
{
5453
return $this->arrayTokens;
@@ -64,7 +63,6 @@ public function register(): array
6463
* the stack passed in $tokens.
6564
*
6665
*/
67-
#[\Override]
6866
public function process(File $phpcsFile, $stackPtr): void
6967
{
7068
$tokens = $phpcsFile->getTokens();

MO4/Sniffs/WhiteSpace/MultipleEmptyLinesSniff.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ class MultipleEmptyLinesSniff implements Sniff
2525
*
2626
* @see Tokens.php
2727
*/
28-
#[\Override]
2928
public function register(): array
3029
{
3130
return [
@@ -45,7 +44,6 @@ public function register(): array
4544
*
4645
* @return void|int
4746
*/
48-
#[\Override]
4947
public function process(File $phpcsFile, $stackPtr)
5048
{
5149
$tokens = $phpcsFile->getTokens();

MO4/Tests/AbstractMo4SniffUnitTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ abstract class AbstractMo4SniffUnitTest extends AbstractSniffTestCase
6868
*
6969
* @throws RuntimeException
7070
*/
71-
#[\Override]
7271
protected function getErrorList(string $testFile = ''): array
7372
{
7473
return $this->getRecordForTestFile($testFile, $this->expectedErrorList);
@@ -86,7 +85,6 @@ protected function getErrorList(string $testFile = ''): array
8685
*
8786
* @throws RuntimeException
8887
*/
89-
#[\Override]
9088
protected function getWarningList(string $testFile = ''): array
9189
{
9290
return $this->getRecordForTestFile($testFile, $this->expectedWarningList);

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"psalm/plugin-phpunit": "^0.19",
4040
"sabre/event": ">= 5.1.6",
4141
"symfony/filesystem": ">= 5.4.45",
42-
"symfony/polyfill-php83": "^1.32",
4342
"vimeo/psalm": ">= 6.0.0 < 6.15.0"
4443
},
4544
"config": {

0 commit comments

Comments
 (0)