SensioLabs\DeprecationDetector\DetectorFactory::getViolationChecker PHP Method

getViolationChecker() private method

private getViolationChecker ( Configuration $configuration ) : SensioLabs\DeprecationDetector\Violation\ViolationChecker\ComposedViolationChecker
$configuration SensioLabs\DeprecationDetector\Configuration\Configuration
return SensioLabs\DeprecationDetector\Violation\ViolationChecker\ComposedViolationChecker
    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;
    }