Skip to content

Commit b0f1365

Browse files
committed
AC-201: Move phpcs checks from magento2 to magento-coding-standard repo
- Fix CS errors
1 parent 832be53 commit b0f1365

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

Magento2/Sniffs/GraphQL/ValidArgumentNameSniff.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@ private function getArgumentListClosePointer($openParenthesisPointer, array $tok
128128
}
129129

130130
/**
131-
* Seeks the next available {@link T_OPEN_PARENTHESIS} token that comes directly after <var>$stackPointer</var>.
132-
* token.
131+
* Seeks the next available {@link T_OPEN_PARENTHESIS} token that comes directly after <var>$stackPointer</var> token.
133132
*
134133
* @param int $stackPointer
135134
* @param array $tokens

Magento2/Sniffs/GraphQL/ValidEnumValueSniff.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ public function process(File $phpcsFile, $stackPtr)
6868
}
6969

7070
/**
71-
* Seeks the next available token of type {@link T_CLOSE_CURLY_BRACKET} in <var>$tokens</var> and returns its
72-
* pointer.
71+
* Seeks the next available token of type {@link T_CLOSE_CURLY_BRACKET} in <var>$tokens</var> and returns its pointer.
7372
*
7473
* @param int $startPointer
7574
* @param array $tokens
@@ -81,10 +80,9 @@ private function getClosingCurlyBracketPointer($startPointer, array $tokens)
8180
}
8281

8382
/**
84-
* Seeks the next available token of type {@link T_OPEN_CURLY_BRACKET} in <var>$tokens</var> and returns its
85-
* pointer.
83+
* Seeks the next available token of type {@link T_OPEN_CURLY_BRACKET} in <var>$tokens</var> and returns its pointer.
8684
*
87-
* @param $startPointer
85+
* @param int $startPointer
8886
* @param array $tokens
8987
* @return bool|int
9088
*/

0 commit comments

Comments
 (0)