Skip to content

Commit 6fb644f

Browse files
committed
AC-201: Move phpcs checks from magento2 to magento-coding-standard repo
- Format multi-line comments
1 parent b0f1365 commit 6fb644f

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

Magento2/Sniffs/GraphQL/ValidArgumentNameSniff.php

+4-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,10 @@ 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> token.
131+
* Find the argument list open pointer
132+
*
133+
* Seeks the next available {@link T_OPEN_PARENTHESIS} token
134+
* that comes directly after <var>$stackPointer</var> token.
132135
*
133136
* @param int $stackPointer
134137
* @param array $tokens

Magento2/Sniffs/GraphQL/ValidEnumValueSniff.php

+8-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,10 @@ 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 pointer.
71+
* Find the closing curly bracket pointer
72+
*
73+
* Seeks the next available token of type {@link T_CLOSE_CURLY_BRACKET}
74+
* in <var>$tokens</var> and returns its pointer.
7275
*
7376
* @param int $startPointer
7477
* @param array $tokens
@@ -80,7 +83,10 @@ private function getClosingCurlyBracketPointer($startPointer, array $tokens)
8083
}
8184

8285
/**
83-
* Seeks the next available token of type {@link T_OPEN_CURLY_BRACKET} in <var>$tokens</var> and returns its pointer.
86+
* Find the opening curly bracket pointer
87+
*
88+
* Seeks the next available token of type {@link T_OPEN_CURLY_BRACKET}
89+
* in <var>$tokens</var> and returns its pointer.
8490
*
8591
* @param int $startPointer
8692
* @param array $tokens

0 commit comments

Comments
 (0)