We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38f565c commit 59b5d46Copy full SHA for 59b5d46
Magento2/Sniffs/Annotation/MethodArgumentsSniff.php
@@ -668,10 +668,14 @@ private function checkIfNamespaceContainsApi(File $phpcsFile) : bool
668
return false;
669
}
670
$tokens = $phpcsFile->getTokens();
671
+ // phpcs:ignore Squiz.ControlStructures.ForLoopDeclaration.SpacingAfterOpen,Generic.CodeAnalysis.ForLoopWithTestFunctionCall.NotAllowed
672
for (
673
+ // phpcs:ignore Squiz.ControlStructures.ForLoopDeclaration.SpacingAfterFirst
674
$index = $namespaceStackPtr;
675
+ // phpcs:ignore Squiz.ControlStructures.ForLoopDeclaration.SpacingAfterSecond
676
array_key_exists($index, $tokens) && 'T_SEMICOLON' !== $tokens[$index]['type'];
677
$index++
678
+ // phpcs:ignore Squiz.ControlStructures.ForLoopDeclaration.SpacingBeforeClose
679
) {
680
if ('T_STRING' === $tokens[$index]['type'] && 'Api' === $tokens[$index]['content']) {
681
return true;
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments