@@ -97,9 +97,9 @@ discard block |
||
97 | 97 | $listenTypes[] = $tokenType; |
98 | 98 | |
99 | 99 | $patternArray = array( |
100 | - 'listen_pos' => $pos, |
|
101 | - 'pattern' => $parsedPattern, |
|
102 | - 'pattern_code' => $pattern, |
|
100 | + 'listen_pos' => $pos, |
|
101 | + 'pattern' => $parsedPattern, |
|
102 | + 'pattern_code' => $pattern, |
|
103 | 103 | ); |
104 | 104 | |
105 | 105 | if (isset($this->_parsedPatterns[$tokenType]) === false) { |
@@ -743,17 +743,17 @@ discard block |
||
743 | 743 | }//end registerSupplementary() |
744 | 744 | |
745 | 745 | |
746 | - /** |
|
747 | - * Processes any tokens registered with registerSupplementary(). |
|
748 | - * |
|
749 | - * @param Symplify\PHP7_CodeSniffer_File $phpcsFile The Symplify\PHP7_CodeSniffer file where to |
|
750 | - * process the skip. |
|
751 | - * @param int $stackPtr The position in the tokens stack to |
|
752 | - * process. |
|
753 | - * |
|
754 | - * @return void |
|
755 | - * @see registerSupplementary() |
|
756 | - */ |
|
746 | + /** |
|
747 | + * Processes any tokens registered with registerSupplementary(). |
|
748 | + * |
|
749 | + * @param Symplify\PHP7_CodeSniffer_File $phpcsFile The Symplify\PHP7_CodeSniffer file where to |
|
750 | + * process the skip. |
|
751 | + * @param int $stackPtr The position in the tokens stack to |
|
752 | + * process. |
|
753 | + * |
|
754 | + * @return void |
|
755 | + * @see registerSupplementary() |
|
756 | + */ |
|
757 | 757 | protected function processSupplementary(File $phpcsFile, $stackPtr) |
758 | 758 | { |
759 | 759 | |
@@ -926,10 +926,10 @@ discard block |
||
926 | 926 | $patterns = array(); |
927 | 927 | foreach ($tokens as $patternInfo) { |
928 | 928 | $patterns[] = array( |
929 | - 'type' => 'token', |
|
930 | - 'token' => $patternInfo['code'], |
|
931 | - 'value' => $patternInfo['content'], |
|
932 | - ); |
|
929 | + 'type' => 'token', |
|
930 | + 'token' => $patternInfo['code'], |
|
931 | + 'value' => $patternInfo['content'], |
|
932 | + ); |
|
933 | 933 | } |
934 | 934 | |
935 | 935 | return $patterns; |