Home
last modified time | relevance | path

Searched refs:addFixableError (Results 1 – 25 of 100) sorted by relevance

1234

/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/ControlStructures/
H A DForEachLoopDeclarationSniff.php93 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpaceAfterOpen');
109 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingAfterOpen', $data);
123 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpaceBeforeClose');
139 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpaceBeforeClose', $data);
167 $fix = $phpcsFile->addFixableError($error, $asToken, 'AsNotLower', $data);
178 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'NoSpaceBeforeArrow');
196 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'NoSpaceAfterArrow');
215 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'NoSpaceBeforeAs');
224 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingBeforeAs', $data);
233 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'NoSpaceAfterAs');
[all …]
H A DForLoopDeclarationSniff.php96 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingAfterOpen');
112 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingAfterOpen', $data);
126 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingBeforeClose');
142 … $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingBeforeClose', $data);
160 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingBeforeFirst');
170 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'NoSpaceAfterFirst');
179 … $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingAfterFirst', $data);
193 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingBeforeSecond');
203 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'NoSpaceAfterSecond');
213 … $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingAfterSecondNoThird', $data);
[all …]
H A DInlineIfDeclarationSniff.php95 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingBeforeThen', $data);
114 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'ElvisSpacing');
124 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingAfterThen', $data);
139 … $fix = $phpcsFile->addFixableError($error, $inlineElse, 'SpacingBeforeElse', $data);
155 $fix = $phpcsFile->addFixableError($error, $inlineElse, 'SpacingAfterElse', $data);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Arrays/
H A DArrayDeclarationSniff.php73 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'NotLowerCase', $data);
90 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpaceAfterKeyword');
113 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpaceInEmptyArray');
175 $fix = $phpcsFile->addFixableError($error, $i, 'CommaAfterLast');
244 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SingleLineNotAllowed');
292 $fix = $phpcsFile->addFixableError($error, $comma, 'SpaceBeforeComma', $data);
323 $fix = $phpcsFile->addFixableError($error, $arrayEnd, 'CloseBraceNewLine');
337 $fix = $phpcsFile->addFixableError($error, $arrayEnd, 'CloseBraceNotAligned', $data);
530 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'MultiLineNotAllowed');
698 $fix = $phpcsFile->addFixableError($error, $index['index'], 'IndexNoNewline');
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Functions/
H A DFunctionDeclarationArgumentSpacingSniff.php148 … $fix = $phpcsFile->addFixableError($error, $nextToken, 'SpaceBeforeEquals', $data);
171 … $fix = $phpcsFile->addFixableError($error, $nextToken, 'SpaceAfterDefault', $data);
194 … $fix = $phpcsFile->addFixableError($error, $nextToken, 'SpaceBeforeComma', $data);
242 … $fix = $phpcsFile->addFixableError($error, $nextToken, 'SpacingAfterHint', $data);
280 … $fix = $phpcsFile->addFixableError($error, $nextToken, 'NoSpaceBeforeArg', $data);
293 … $fix = $phpcsFile->addFixableError($error, $nextToken, 'SpacingBeforeArg', $data);
326 … $fix = $phpcsFile->addFixableError($error, $nextToken, 'SpacingAfterHint', $data);
348 … $fix = $phpcsFile->addFixableError($error, $nextToken, 'SpacingAfterOpenHint', $data);
365 … $fix = $phpcsFile->addFixableError($error, $nextToken, 'SpacingAfterOpen', $data);
390 $fix = $phpcsFile->addFixableError($error, $openBracket, 'SpacingBetween', $data);
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/Classes/
H A DClassDeclarationSniff.php95 … $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpaceBeforeKeyword', $data);
110 … $fix = $phpcsFile->addFixableError($error, $stackPtr, 'NewlineBeforeKeyword', $data);
145 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpaceAfterKeyword', $data);
162 $fix = $phpcsFile->addFixableError($error, $className, 'SpaceAfterName', $data);
178 … $fix = $phpcsFile->addFixableError($error, $keyword, ucfirst($keywordType).'Line', $data);
272 … $fix = $phpcsFile->addFixableError($error, $className, 'FirstInterfaceSameLine');
291 … $fix = $phpcsFile->addFixableError($error, $className, 'ExtendsInterfaceSameLine');
294 … $fix = $phpcsFile->addFixableError($error, $className, 'InterfaceSameLine');
365 … $fix = $phpcsFile->addFixableError($error, $className, 'SpaceBeforeName', $data);
387 … $fix = $phpcsFile->addFixableError($error, $className, 'SpaceBeforeComma', $data);
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/PHP/
H A DEmbeddedPhpSniff.php102 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'Empty');
118 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'ContentAfterOpen');
141 $fix = $phpcsFile->addFixableError($error, $i, 'SpacingBefore');
191 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'ContentBeforeOpen');
231 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'OpenTagIndent', $data);
247 $fix = $phpcsFile->addFixableError($error, $closingTag, 'ContentBeforeEnd');
257 $fix = $phpcsFile->addFixableError($error, $closingTag, 'ContentAfterEnd');
284 $fix = $phpcsFile->addFixableError($error, $i, 'SpacingAfter');
329 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'Empty');
351 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingAfterOpen', $data);
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/Files/
H A DIncludingFileSniff.php70 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'BracketsNotRequired', $data);
116 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'UseIncludeOnce');
123 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'UseInclude');
133 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'UseRequireOnce');
140 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'UseRequire');
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/CSS/
H A DColonSpacingSniff.php77 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'Before');
90 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'NoneAfter');
101 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'After', $data);
108 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'AfterNewline');
H A DClassDefinitionOpeningBraceSpaceSniff.php67 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'NoneBefore');
85 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'Before', $data);
111 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'ContentBefore');
121 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'AfterNesting', $data);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/WhiteSpace/
H A DOperatorSpacingSniff.php134 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'NoSpaceBeforeAmp');
153 … $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingBeforeAmp', $data);
163 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'NoSpaceAfterAmp');
182 … $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingAfterAmp', $data);
245 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'NoSpaceBefore');
269 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingBefore', $data);
292 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'NoSpaceAfter');
316 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingAfter', $data);
H A DLogicalOperatorSpacingSniff.php72 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'NoSpaceBefore');
84 … $fix = $phpcsFile->addFixableError($error, $stackPtr, 'TooMuchSpaceBefore', $data);
94 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'NoSpaceAfter');
106 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'TooMuchSpaceAfter', $data);
H A DSuperfluousWhitespaceSniff.php125 …$fix = $phpcsFile->addFixableError('Additional whitespace found at start of file', $stackPtr, 'Sta…
185 …$fix = $phpcsFile->addFixableError('Additional whitespace found at end of file', $stackPtr, 'EndFi…
216 … $fix = $phpcsFile->addFixableError('Whitespace found at end of line', $stackPtr, 'EndLine');
224 … $fix = $phpcsFile->addFixableError('Whitespace found at end of line', ($stackPtr - 1), 'EndLine');
246 … $fix = $phpcsFile->addFixableError($error, $stackPtr, 'EmptyLines', array($lines));
H A DControlStructureSpacingSniff.php97 … $fix = $phpcsFile->addFixableError($error, ($parenOpener + 1), 'SpacingAfterOpenBrace', $data);
111 … $fix = $phpcsFile->addFixableError($error, ($parenCloser - 1), 'SpaceBeforeCloseBrace', $data);
152 $fix = $phpcsFile->addFixableError($error, $scopeOpener, 'SpacingAfterOpen');
199 $fix = $phpcsFile->addFixableError($error, $errorToken, 'SpacingBeforeClose');
287 $fix = $phpcsFile->addFixableError($error, $scopeCloser, 'LineAfterClose');
307 $fix = $phpcsFile->addFixableError($error, $scopeCloser, 'NoLineAfterClose');
H A DFunctionClosingBraceSpaceSniff.php86 $fix = $phpcsFile->addFixableError($error, $closeBrace, 'SpacingBetween');
117 $fix = $phpcsFile->addFixableError($error, $closeBrace, 'ContentBeforeClose');
124 … $fix = $phpcsFile->addFixableError($error, $closeBrace, 'SpacingBeforeNestedClose', $data);
156 … $fix = $phpcsFile->addFixableError($error, $closeBrace, 'SpacingBeforeClose', $data);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/Functions/
H A DFunctionDeclarationSniff.php90 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpaceAfterFunction', $data);
115 … $fix = $phpcsFile->addFixableError($error, $openBracket, 'SpaceBeforeOpenParen', $data);
137 $fix = $phpcsFile->addFixableError($error, $use, 'SpaceAfterUse', $data);
158 $fix = $phpcsFile->addFixableError($error, $use, 'SpaceBeforeUse', $data);
294 $fix = $phpcsFile->addFixableError($error, $closeBracket, 'CloseBracketLine');
320 … $fix = $phpcsFile->addFixableError($error, $closeBracket, 'UseCloseBracketLine');
354 $fix = $phpcsFile->addFixableError($error, $i, 'EmptyLine');
369 $fix = $phpcsFile->addFixableError($error, $i, 'Indent', $data);
404 $fix = $phpcsFile->addFixableError($error, $opener, 'NewlineBeforeOpenBrace');
422 …$fix = $phpcsFile->addFixableError($error, ($opener - 1), 'SpaceBeforeOpenBrace', array($length)…
H A DFunctionCallSignatureSniff.php124 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpaceBeforeOpenBracket');
142 … $fix = $phpcsFile->addFixableError($error, $closeBracket, 'SpaceAfterCloseBracket');
215 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpaceAfterOpenBracket');
231 … $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpaceAfterOpenBracket', $data);
263 … $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpaceBeforeCloseBracket', $data);
368 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'ContentAfterOpenBracket');
381 $fix = $phpcsFile->addFixableError($error, $closeBracket, 'CloseBracketLine');
441 $fix = $phpcsFile->addFixableError($error, $i, 'EmptyLine');
495 $fix = $phpcsFile->addFixableError($error, $i, 'Indent', $data);
532 $fix = $phpcsFile->addFixableError($error, $next, 'MultipleArguments');
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Functions/
H A DFunctionCallArgumentSpacingSniff.php122 … $fix = $phpcsFile->addFixableError($error, $nextSeparator, 'SpaceBeforeComma');
131 … $fix = $phpcsFile->addFixableError($error, $nextSeparator, 'NoSpaceAfterComma');
144 … $fix = $phpcsFile->addFixableError($error, $nextSeparator, 'TooMuchSpaceAfterComma', $data);
158 … $fix = $phpcsFile->addFixableError($error, $nextToken, 'NoSpaceBeforeEquals');
166 … $fix = $phpcsFile->addFixableError($error, $nextToken, 'NoSpaceAfterEquals');
H A DOpeningFunctionBraceBsdAllmanSniff.php106 $fix = $phpcsFile->addFixableError($error, $openingBrace, 'BraceOnSameLine');
122 $fix = $phpcsFile->addFixableError($error, $openingBrace, 'BraceSpacing', $data);
143 $fix = $phpcsFile->addFixableError($error, $openingBrace, 'ContentAfterBrace');
175 $fix = $phpcsFile->addFixableError($error, $openingBrace, 'BraceIndent', $data);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/ControlStructures/
H A DSwitchDeclarationSniff.php94 $fix = $phpcsFile->addFixableError($error, $nextCase, $type.'NotLower', $data);
105 $fix = $phpcsFile->addFixableError($error, $nextCase, 'SpacingAfterCase');
120 … $fix = $phpcsFile->addFixableError($error, $nextCase, 'SpaceBeforeColon'.strtoupper($type));
136 … $fix = $phpcsFile->addFixableError($error, $nextCase, 'BodyOnNextLine'.strtoupper($type));
164 … $fix = $phpcsFile->addFixableError($error, $nextCloser, 'BreakNotNewLine');
173 … $fix = $phpcsFile->addFixableError($error, $nextCloser, 'BreakIndent');
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Commenting/
H A DBlockCommentSniff.php112 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'WrongStart');
120 $fix = $phpcsFile->addFixableError($error, $end, 'WrongEnd');
158 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'Empty');
175 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SingleLine');
187 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'NoNewLine');
215 $fix = $phpcsFile->addFixableError($error, $commentLines[1], 'HasEmptyLine');
236 … $fix = $phpcsFile->addFixableError($error, $commentLines[1], 'FirstLineIndent', $data);
287 $fix = $phpcsFile->addFixableError($error, $line, 'LineIndent', $data);
H A DInlineCommentSniff.php143 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'WrongStyle');
201 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'TabBefore', $data);
208 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'NoSpaceBefore', $data);
216 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingBefore', $data);
256 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'Empty');
307 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'SpacingAfter');
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/Commenting/
H A DDocCommentSniff.php83 $fix = $phpcsFile->addFixableError($error, $stackPtr, 'ContentAfterOpen');
96 $fix = $phpcsFile->addFixableError($error, $commentEnd, 'ContentBeforeClose');
105 $fix = $phpcsFile->addFixableError($error, $commentEnd, 'SpacingAfter');
130 $fix = $phpcsFile->addFixableError($error, $short, 'SpacingBeforeShort');
171 $fix = $phpcsFile->addFixableError($error, $long, 'SpacingBetween');
203 $fix = $phpcsFile->addFixableError($error, $firstTag, 'SpacingBeforeTags');
288 $fix = $phpcsFile->addFixableError($error, $lastTag, 'SpacingAfterTagGroup');
317 $fix = $phpcsFile->addFixableError($error, ($tag + 1), 'TagValueIndent', $data);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/Classes/
H A DClassDeclarationSniff.php84 … $fix = $phpcsFile->addFixableError($error, $curlyBrace, 'OpenBraceNewLine', $errorData);
106 … $fix = $phpcsFile->addFixableError($error, $curlyBrace, 'OpenBraceWrongLine', $data);
126 … $fix = $phpcsFile->addFixableError($error, $curlyBrace, 'OpenBraceNotAlone', $errorData);
149 $fix = $phpcsFile->addFixableError($error, $curlyBrace, 'SpaceBeforeBrace', $data);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Classes/
H A DSelfMemberReferenceSniff.php72 … $fix = $phpcsFile->addFixableError($error, $calledClassName, 'IncorrectCase', $data);
103 $fix = $phpcsFile->addFixableError($error, $calledClassName, 'NotUsed');
125 $fix = $phpcsFile->addFixableError($error, $calledClassName, 'SpaceBefore', $data);
136 $fix = $phpcsFile->addFixableError($error, $calledClassName, 'SpaceAfter', $data);

1234