@@ -404,19 +404,19 @@ |
||
404 | 404 | } else { |
405 | 405 | $lowerVarType = strtolower($varType); |
406 | 406 | switch ($lowerVarType) { |
407 | - case 'bool': |
|
408 | - case 'boolean': |
|
409 | - return 'boolean'; |
|
410 | - case 'double': |
|
411 | - case 'real': |
|
412 | - case 'float': |
|
413 | - return 'float'; |
|
414 | - case 'int': |
|
415 | - case 'integer': |
|
416 | - return 'integer'; |
|
417 | - case 'array()': |
|
418 | - case 'array': |
|
419 | - return 'array'; |
|
407 | + case 'bool': |
|
408 | + case 'boolean': |
|
409 | + return 'boolean'; |
|
410 | + case 'double': |
|
411 | + case 'real': |
|
412 | + case 'float': |
|
413 | + return 'float'; |
|
414 | + case 'int': |
|
415 | + case 'integer': |
|
416 | + return 'integer'; |
|
417 | + case 'array()': |
|
418 | + case 'array': |
|
419 | + return 'array'; |
|
420 | 420 | }//end switch |
421 | 421 | |
422 | 422 | if (strpos($lowerVarType, 'array(') !== false) { |
@@ -677,19 +677,19 @@ |
||
677 | 677 | $input = trim($input); |
678 | 678 | |
679 | 679 | switch ($input) { |
680 | - case 's': |
|
681 | - break(2); |
|
682 | - case 'q': |
|
683 | - throw new DeepExitException('', 0); |
|
684 | - default: |
|
685 | - // Repopulate the sniffs because some of them save their state |
|
686 | - // and only clear it when the file changes, but we are rechecking |
|
687 | - // the same file. |
|
688 | - $file->ruleset->populateTokenListeners(); |
|
689 | - $file->reloadContent(); |
|
690 | - $file->process(); |
|
691 | - $this->reporter->cacheFileReport($file, $this->config); |
|
692 | - break; |
|
680 | + case 's': |
|
681 | + break(2); |
|
682 | + case 'q': |
|
683 | + throw new DeepExitException('', 0); |
|
684 | + default: |
|
685 | + // Repopulate the sniffs because some of them save their state |
|
686 | + // and only clear it when the file changes, but we are rechecking |
|
687 | + // the same file. |
|
688 | + $file->ruleset->populateTokenListeners(); |
|
689 | + $file->reloadContent(); |
|
690 | + $file->process(); |
|
691 | + $this->reporter->cacheFileReport($file, $this->config); |
|
692 | + break; |
|
693 | 693 | } |
694 | 694 | }//end while |
695 | 695 | }//end if |