Home
last modified time | relevance | path

Searched refs:recordMetric (Results 1 – 25 of 47) sorted by relevance

12

/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/NamingConventions/
H A DUpperCaseConstantNameSniff.php110 $phpcsFile->recordMetric($stackPtr, 'Constant name case', 'lower');
112 $phpcsFile->recordMetric($stackPtr, 'Constant name case', 'mixed');
122 $phpcsFile->recordMetric($stackPtr, 'Constant name case', 'upper');
169 $phpcsFile->recordMetric($stackPtr, 'Constant name case', 'lower');
171 $phpcsFile->recordMetric($stackPtr, 'Constant name case', 'mixed');
181 $phpcsFile->recordMetric($stackPtr, 'Constant name case', 'upper');
H A DCamelCapsFunctionNameSniff.php168 $phpcsFile->recordMetric($stackPtr, 'CamelCase method name', 'no');
171 $phpcsFile->recordMetric($stackPtr, 'CamelCase method name', 'yes');
213 $phpcsFile->recordMetric($stackPtr, 'CamelCase function name', 'no');
215 $phpcsFile->recordMetric($stackPtr, 'CamelCase method name', 'yes');
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR1/Sniffs/Classes/
H A DClassDeclarationSniff.php83 $phpcsFile->recordMetric($stackPtr, 'One class per file', 'no');
85 $phpcsFile->recordMetric($stackPtr, 'One class per file', 'yes');
93 $phpcsFile->recordMetric($stackPtr, 'Class defined in namespace', 'no');
95 $phpcsFile->recordMetric($stackPtr, 'Class defined in namespace', 'yes');
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Strings/
H A DEchoedStringsSniff.php63 $phpcsFile->recordMetric($stackPtr, 'Brackets around echoed strings', 'no');
72 $phpcsFile->recordMetric($stackPtr, 'Brackets around echoed strings', 'no');
78 $phpcsFile->recordMetric($stackPtr, 'Brackets around echoed strings', 'no');
82 $phpcsFile->recordMetric($stackPtr, 'Brackets around echoed strings', 'yes');
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/WhiteSpace/
H A DOperatorSpacingSniff.php139 $phpcsFile->recordMetric($stackPtr, 'Space before operator', 0);
147 $phpcsFile->recordMetric($stackPtr, 'Space before operator', $found);
168 $phpcsFile->recordMetric($stackPtr, 'Space after operator', 0);
176 $phpcsFile->recordMetric($stackPtr, 'Space after operator', $found);
250 $phpcsFile->recordMetric($stackPtr, 'Space before operator', 0);
260 $phpcsFile->recordMetric($stackPtr, 'Space before operator', $found);
297 $phpcsFile->recordMetric($stackPtr, 'Space after operator', 0);
307 $phpcsFile->recordMetric($stackPtr, 'Space after operator', $found);
H A DControlStructureSpacingSniff.php89 … $phpcsFile->recordMetric($stackPtr, 'Spaces after control structure open parenthesis', 'newline');
92 … $phpcsFile->recordMetric($stackPtr, 'Spaces after control structure open parenthesis', $gap);
102 … $phpcsFile->recordMetric($stackPtr, 'Spaces after control structure open parenthesis', 0);
117 …$phpcsFile->recordMetric($stackPtr, 'Spaces before control structure close parenthesis', 'newline'…
119 … $phpcsFile->recordMetric($stackPtr, 'Spaces before control structure close parenthesis', $gap);
122 … $phpcsFile->recordMetric($stackPtr, 'Spaces before control structure close parenthesis', 0);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/PHP/
H A DUpperCaseConstantSniff.php66 $phpcsFile->recordMetric($stackPtr, 'PHP constant case', 'lower');
68 $phpcsFile->recordMetric($stackPtr, 'PHP constant case', 'mixed');
82 $phpcsFile->recordMetric($stackPtr, 'PHP constant case', 'upper');
H A DLowerCaseConstantSniff.php76 $phpcsFile->recordMetric($stackPtr, 'PHP constant case', 'upper');
78 $phpcsFile->recordMetric($stackPtr, 'PHP constant case', 'mixed');
92 $phpcsFile->recordMetric($stackPtr, 'PHP constant case', 'lower');
H A DLowerCaseKeywordSniff.php126 $phpcsFile->recordMetric($stackPtr, 'PHP keyword case', 'upper');
128 $phpcsFile->recordMetric($stackPtr, 'PHP keyword case', 'mixed');
142 $phpcsFile->recordMetric($stackPtr, 'PHP keyword case', 'lower');
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/Commenting/
H A DInlineCommentSniff.php60 $phpcsFile->recordMetric($stackPtr, 'Inline comment style', '# ...');
73 $phpcsFile->recordMetric($stackPtr, 'Inline comment style', '// ...');
77 $phpcsFile->recordMetric($stackPtr, 'Inline comment style', '/* ... */');
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Files/
H A DLineLengthSniff.php121 $phpcsFile->recordMetric($stackPtr, 'Line length', '80 or less');
123 $phpcsFile->recordMetric($stackPtr, 'Line length', '81-120');
125 $phpcsFile->recordMetric($stackPtr, 'Line length', '121-150');
127 $phpcsFile->recordMetric($stackPtr, 'Line length', '151 or more');
H A DLowercasedFilenameSniff.php67 $phpcsFile->recordMetric($stackPtr, 'Lowercase filename', 'no');
69 $phpcsFile->recordMetric($stackPtr, 'Lowercase filename', 'yes');
H A DByteOrderMarkSniff.php84 $phpcsFile->recordMetric($stackPtr, 'Using byte order mark', 'yes');
89 $phpcsFile->recordMetric($stackPtr, 'Using byte order mark', 'no');
H A DEndFileNewlineSniff.php77 $phpcsFile->recordMetric($stackPtr, 'Newline at EOF', 'no');
85 $phpcsFile->recordMetric($stackPtr, 'Newline at EOF', 'yes');
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/WhiteSpace/
H A DDisallowSpaceIndentSniff.php128 $phpcsFile->recordMetric($i, 'Line indent', 'tabs');
147 $phpcsFile->recordMetric($i, 'Line indent', 'spaces');
156 $phpcsFile->recordMetric($i, 'Line indent', 'tabs');
164 $phpcsFile->recordMetric($i, 'Line indent', 'mixed');
H A DDisallowTabIndentSniff.php104 $phpcsFile->recordMetric($i, 'Line indent', 'tabs');
108 $phpcsFile->recordMetric($i, 'Line indent', 'mixed');
111 $phpcsFile->recordMetric($i, 'Line indent', 'spaces');
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Formatting/
H A DDisallowMultipleStatementsSniff.php62 $phpcsFile->recordMetric($stackPtr, 'Multiple statements on same line', 'no');
82 $phpcsFile->recordMetric($stackPtr, 'Multiple statements on same line', 'yes');
96 $phpcsFile->recordMetric($stackPtr, 'Multiple statements on same line', 'no');
H A DSpaceAfterCastSniff.php66 $phpcsFile->recordMetric($stackPtr, 'Spacing after cast statement', 0);
70 …$phpcsFile->recordMetric($stackPtr, 'Spacing after cast statement', $tokens[($stackPtr + 1)]['leng…
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Zend/Sniffs/Files/
H A DClosingTagSniff.php72 $phpcsFile->recordMetric($stackPtr, 'PHP closing tag at EOF', 'yes');
74 $phpcsFile->recordMetric($stackPtr, 'PHP closing tag at EOF', 'no');
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Commenting/
H A DFileCommentSniff.php73 $phpcsFile->recordMetric($stackPtr, 'File has doc comment', 'yes');
77 $phpcsFile->recordMetric($stackPtr, 'File has doc comment', 'no');
112 $phpcsFile->recordMetric($stackPtr, 'File has doc comment', 'no');
116 $phpcsFile->recordMetric($stackPtr, 'File has doc comment', 'yes');
H A DClassCommentSniff.php70 $phpcsFile->recordMetric($stackPtr, 'Class has doc comment', 'no');
74 $phpcsFile->recordMetric($stackPtr, 'Class has doc comment', 'yes');
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Files/
H A DFileExtensionSniff.php63 $phpcsFile->recordMetric($stackPtr, 'File extension for class files', $extension);
70 $phpcsFile->recordMetric($stackPtr, 'File extension for non-class files', $extension);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/ControlStructures/
H A DElseIfDeclarationSniff.php61 $phpcsFile->recordMetric($stackPtr, 'Use of ELSE IF or ELSEIF', 'elseif');
67 $phpcsFile->recordMetric($stackPtr, 'Use of ELSE IF or ELSEIF', 'else if');
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR1/Sniffs/Methods/
H A DCamelCapsMethodNameSniff.php70 $phpcsFile->recordMetric($stackPtr, 'CamelCase method name', 'no');
72 $phpcsFile->recordMetric($stackPtr, 'CamelCase method name', 'yes');
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/Files/
H A DClosingTagSniff.php89 $phpcsFile->recordMetric($stackPtr, 'PHP closing tag at end of PHP-only file', 'yes');
91 $phpcsFile->recordMetric($stackPtr, 'PHP closing tag at end of PHP-only file', 'no');

12