TASK: Fix PR issue, add exception if type could not be fixed

This commit is contained in:
Daniel Siepmann 2017-03-07 13:58:50 +01:00
parent 8d8a8cc330
commit eab9d0c999
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -99,7 +99,7 @@ class Typo3Update_Sniffs_Legacy_ClassnamesSniff implements PHP_CodeSniffer_Sniff
break; break;
default: default:
throw new \RuntimeException('Could not fix type "' . $tokens[$stackPtr]['type'] . '"', 1488891438);
break; break;
} }
} }