Home
last modified time | relevance | path

Searched refs:true (Results 4126 – 4150 of 6699) sorted by path

1...<<161162163164165166167168169170>>...268

/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/NamingConventions/
H A DValidVariableNameSniff.php15 if (class_exists('PHP_CodeSniffer_Standards_AbstractVariableSniff', true) === false) {
51 if (empty($memberProps) === true) {
62 $isPublic = true;
74 if ($isPublic === true && $scopeSpecified === true && $memberName{0} === '_') {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/WhiteSpace/
H A DObjectOperatorIndentSniff.php66 $varToken = $phpcsFile->findPrevious(T_WHITESPACE, ($stackPtr - 1), null, true);
78 true
103 if (isset($tokens[$stackPtr]['nested_parenthesis']) === true) {
108 if (isset($tokens[$stackPtr]['conditions']) === true) {
122 if (isset($tokens[$next]['nested_parenthesis']) === true) {
127 if (isset($tokens[$next]['conditions']) === true) {
133 $prev = $phpcsFile->findPrevious(T_WHITESPACE, ($next - 1), $stackPtr, true);
152 if ($fix === true) {
164 $content = $phpcsFile->findNext(T_WHITESPACE, ($next + 1), null, true);
168 if ($fix === true) {
[all …]
H A DScopeClosingBraceSniff.php118 true
124 if ($fix === true) {
180 if ($fix === true) {
H A DScopeIndentSniff.php16 if (class_exists('Generic_Sniffs_WhiteSpace_ScopeIndentSniff', true) === false) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR1/Sniffs/Files/
H A DSideEffectsSniff.php111 if (isset(PHP_CodeSniffer_Tokens::$emptyTokens[$tokens[$i]['code']]) === true) {
133 if (isset($tokens[$i]['scope_opener']) === true) {
146 if (isset(PHP_CodeSniffer_Tokens::$methodPrefixes[$tokens[$i]['code']]) === true) {
157 if (isset($symbols[$tokens[$i]['code']]) === true
158 && isset($tokens[$i]['scope_closer']) === true
169 $prev = $phpcsFile->findPrevious(T_WHITESPACE, ($i - 1), null, true);
187 if (isset($conditions[$tokens[$i]['code']]) === true) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR1/Sniffs/Methods/
H A DCamelCapsMethodNameSniff.php15 if (class_exists('Generic_Sniffs_NamingConventions_CamelCapsFunctionNameSniff', true) === false) {
57 if (isset($this->magicMethods[$magicPart]) === true
58 || isset($this->methodsDoubleUnderscore[$magicPart]) === true
65 … if ($testName !== '' && PHP_CodeSniffer::isCamelCaps($testName, false, true, false) === false) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/Classes/
H A DClassDeclarationSniff.php96 if ($fix === true) {
111 if ($fix === true) {
146 if ($fix === true) {
163 if ($fix === true) {
179 if ($fix === true) {
246 $checkingImplements = true;
263 true
275 if ($fix === true) {
297 if ($fix === true) {
347 if ($fix === true) {
[all …]
H A DPropertyDeclarationSniff.php15 if (class_exists('PHP_CodeSniffer_Standards_AbstractVariableSniff', true) === false) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/ControlStructures/
H A DControlStructureSpacingSniff.php111 if ($fix === true) {
138 if ($fix === true) {
H A DElseIfDeclarationSniff.php65 $next = $phpcsFile->findNext(T_WHITESPACE, ($stackPtr + 1), null, true);
71 if ($fix === true) {
H A DSwitchDeclarationSniff.php80 $foundDefault = true;
95 if ($fix === true) {
106 if ($fix === true) {
121 if ($fix === true) {
126 $next = $phpcsFile->findNext(T_WHITESPACE, ($opener + 1), null, true);
131 $next = $phpcsFile->findNext(T_WHITESPACE, ($next + 1), null, true);
137 if ($fix === true) {
161 … $prev = $phpcsFile->findPrevious(T_WHITESPACE, ($nextCloser - 1), $nextCase, true);
165 if ($fix === true) {
174 if ($fix === true) {
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/Files/
H A DClosingTagSniff.php76 if ($fix === true) {
79 … $prev = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($last - 1), null, true);
H A DEndFileNewlineSniff.php72 if ($fix === true) {
85 …pcsFile->findPrevious(array(T_WHITESPACE, T_DOC_COMMENT_WHITESPACE), ($lastToken - 1), null, true);
99 if ($fix === true) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/Methods/
H A DFunctionCallSignatureSniff.php54 …$next = $phpcsFile->findNext(PHP_CodeSniffer_Tokens::$emptyTokens, ($openBracket + 1), null, true);
56 return true;
65 …next = $phpcsFile->findNext(PHP_CodeSniffer_Tokens::$emptyTokens, ($end + 1), $closeBracket, true);
71 return true;
79 …next = $phpcsFile->findNext(PHP_CodeSniffer_Tokens::$emptyTokens, ($end + 1), $closeBracket, true);
81 return true;
H A DFunctionClosingBraceSniff.php66 $prevContent = $phpcsFile->findPrevious(T_WHITESPACE, ($closeBrace - 1), null, true);
83 if ($fix === true) {
H A DMethodDeclarationSniff.php15 if (class_exists('PHP_CodeSniffer_Standards_AbstractScopeSniff', true) === false) {
65 if ($methodName[0] === '_' && isset($methodName[1]) === true && $methodName[1] !== '_') {
78 $prev = $phpcsFile->findPrevious($find, ($stackPtr - 1), null, true);
103 if ($fix === true) {
106 if (isset($fixes[$visibility]) === true) {
117 if ($fix === true) {
120 if (isset($fixes[$visibility]) === true) {
131 if ($fix === true) {
134 if (isset($fixes[$visibility]) === true) {
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PSR2/Sniffs/Namespaces/
H A DNamespaceDeclarationSniff.php67 $next = $phpcsFile->findNext(T_WHITESPACE, $i, $phpcsFile->numTokens, true);
84 if ($fix === true) {
H A DUseDeclarationSniff.php55 if ($this->_shouldIgnoreUse($phpcsFile, $stackPtr) === true) {
65 if ($fix === true) {
75 if ($fix === true) {
93 … $whitespace = $phpcsFile->findPrevious(T_WHITESPACE, ($next - 1), null, true);
138 while ($this->_shouldIgnoreUse($phpcsFile, $nextUse) === true) {
150 $next = $phpcsFile->findNext(T_WHITESPACE, ($end + 1), null, true);
165 if ($fix === true) {
201 $next = $phpcsFile->findNext(T_WHITESPACE, ($stackPtr + 1), null, true);
203 return true;
207 if ($phpcsFile->hasCondition($stackPtr, array(T_CLASS, T_TRAIT)) === true) {
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Arrays/
H A DArrayBracketSpacingSniff.php75 …v = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($openBracket - 1), null, true);
82 if (isset(PHP_CodeSniffer_Tokens::$emptyTokens[$prevType]) === true) {
83 …pace = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($stackPtr - 2), null, true);
92 if ($fix === true) {
100 if (isset(PHP_CodeSniffer_Tokens::$emptyTokens[$nextType]) === true) {
101 …nonSpace = $phpcsFile->findNext(PHP_CodeSniffer_Tokens::$emptyTokens, ($stackPtr + 2), null, true);
110 if ($fix === true) {
H A DArrayDeclarationSniff.php74 if ($fix === true) {
92 if ($fix === true) {
115 if ($fix === true) {
324 if ($fix === true) {
338 if ($fix === true) {
459 true
478 $keyUsed = true;
502 true
515 $singleValue = true;
532 if ($fix === true) {
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/CSS/
H A DClassDefinitionClosingBraceSpaceSniff.php64 $next = $phpcsFile->findNext(T_WHITESPACE, ($stackPtr + 1), null, true);
76 if ($fix === true) {
80 … $nextContent = $phpcsFile->findNext(T_WHITESPACE, ($stackPtr + 1), null, true);
106 …prev = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($stackPtr - 1), null, true);
114 if ($fix === true) {
H A DClassDefinitionNameSpacingSniff.php79 …prev = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($stackPtr - 1), null, true);
84 if (isset($endTokens[$tokens[$i]['code']]) === true) {
90 $foundContent = true;
100 $prev = $phpcsFile->findPrevious(T_WHITESPACE, $i, null, true);
H A DClassDefinitionOpeningBraceSpaceSniff.php68 if ($fix === true) {
86 if ($fix === true) {
92 … $next = $phpcsFile->findNext(PHP_CodeSniffer_Tokens::$emptyTokens, ($stackPtr + 1), null, true);
106 $nested = true;
112 if ($fix === true) {
117 if ($nested === true) {
123 if ($fix === true) {
127 $next = $phpcsFile->findNext(T_WHITESPACE, ($stackPtr + 1), null, true);
H A DColonSpacingSniff.php64 …prev = $phpcsFile->findPrevious(PHP_CodeSniffer_Tokens::$emptyTokens, ($stackPtr - 1), null, true);
78 if ($fix === true) {
91 if ($fix === true) {
102 if ($fix === true) {
109 if ($fix === true) {
H A DColourDefinitionSniff.php74 if ($fix === true) {
93 if ($fix === true) {

1...<<161162163164165166167168169170>>...268