PHP Class SensioLabs\DeprecationDetector\DeprecationDetector

Show file Open project: sensiolabs-de/deprecation-detector Class Usage Examples

Public Methods

Method Description
__construct ( SensioLabs\DeprecationDetector\RuleSet\RuleSet $preDefinedRuleSet, SensioLabs\DeprecationDetector\RuleSet\Loader\LoaderInterface $ruleSetLoader, SensioLabs\DeprecationDetector\TypeGuessing\AncestorResolver $ancestorResolver, ParsedPhpFileFinder $deprecationFinder, ViolationDetector $violationDetector, SensioLabs\DeprecationDetector\Violation\Renderer\RendererInterface $renderer, SensioLabs\DeprecationDetector\Console\Output\DefaultProgressOutput $output )
checkForDeprecations ( string $sourceArg, string $ruleSetArg ) : SensioLabs\DeprecationDetector\Violation\Violation[]

Method Details

__construct() public method

public __construct ( SensioLabs\DeprecationDetector\RuleSet\RuleSet $preDefinedRuleSet, SensioLabs\DeprecationDetector\RuleSet\Loader\LoaderInterface $ruleSetLoader, SensioLabs\DeprecationDetector\TypeGuessing\AncestorResolver $ancestorResolver, ParsedPhpFileFinder $deprecationFinder, ViolationDetector $violationDetector, SensioLabs\DeprecationDetector\Violation\Renderer\RendererInterface $renderer, SensioLabs\DeprecationDetector\Console\Output\DefaultProgressOutput $output )
$preDefinedRuleSet SensioLabs\DeprecationDetector\RuleSet\RuleSet
$ruleSetLoader SensioLabs\DeprecationDetector\RuleSet\Loader\LoaderInterface
$ancestorResolver SensioLabs\DeprecationDetector\TypeGuessing\AncestorResolver
$deprecationFinder SensioLabs\DeprecationDetector\Finder\ParsedPhpFileFinder
$violationDetector SensioLabs\DeprecationDetector\Violation\ViolationDetector
$renderer SensioLabs\DeprecationDetector\Violation\Renderer\RendererInterface
$output SensioLabs\DeprecationDetector\Console\Output\DefaultProgressOutput

checkForDeprecations() public method

public checkForDeprecations ( string $sourceArg, string $ruleSetArg ) : SensioLabs\DeprecationDetector\Violation\Violation[]
$sourceArg string
$ruleSetArg string
return SensioLabs\DeprecationDetector\Violation\Violation[]