Lines Matching refs:type
79 $type = 'default';
82 $type = 'case';
88 … $error = strtoupper($type).' keyword must be lowercase; expected "%s" but found "%s"';
94 $fix = $phpcsFile->addFixableError($error, $nextCase, $type.'NotLower', $data);
100 if ($type === 'case'
119 … $error = 'There must be no space before the colon in a '.strtoupper($type).' statement';
120 … $fix = $phpcsFile->addFixableError($error, $nextCase, 'SpaceBeforeColon'.strtoupper($type));
135 … $error = 'The '.strtoupper($type).' body must start on the line following the statement';
136 … $fix = $phpcsFile->addFixableError($error, $nextCase, 'BodyOnNextLine'.strtoupper($type));
185 $error = strtoupper($type).' statements must be defined using a colon';
186 $phpcsFile->addError($error, $nextCase, 'WrongOpener'.$type);
190 if ($type !== 'case') {