private function getViolationChecker(Configuration $configuration)
{
$violationChecker = new ComposedViolationChecker(array(new ClassViolationChecker(), new InterfaceViolationChecker(), new MethodViolationChecker($this->ancestorResolver), new SuperTypeViolationChecker(), new TypeHintViolationChecker(), new MethodDefinitionViolationChecker($this->ancestorResolver), new FunctionViolationChecker(), new LanguageViolationChecker()));
return $violationChecker;
}