PHP 클래스 PHPStan\Analyser\Analyser

파일 보기 프로젝트 열기: phpstan/phpstan 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Broker $broker, PHPStan\Parser\Parser $parser, Registry $registry, NodeScopeResolver $nodeScopeResolver, Standard $printer, array $analyseExcludes, array $ignoreErrors, string $bootstrapFile = null )
analyse ( array $files, Closure $progressCallback = null ) : array
isExcludedFromAnalysing ( string $file ) : boolean

비공개 메소드들

메소드 설명
createErrors ( PhpParser\Node $node, string $file, array $messages ) : array

메소드 상세

__construct() 공개 메소드

public __construct ( Broker $broker, PHPStan\Parser\Parser $parser, Registry $registry, NodeScopeResolver $nodeScopeResolver, Standard $printer, array $analyseExcludes, array $ignoreErrors, string $bootstrapFile = null )
$broker PHPStan\Broker\Broker
$parser PHPStan\Parser\Parser
$registry PHPStan\Rules\Registry
$nodeScopeResolver NodeScopeResolver
$printer PhpParser\PrettyPrinter\Standard
$analyseExcludes array
$ignoreErrors array
$bootstrapFile string

analyse() 공개 메소드

public analyse ( array $files, Closure $progressCallback = null ) : array
$files array
$progressCallback Closure
리턴 array errors

isExcludedFromAnalysing() 공개 메소드

public isExcludedFromAnalysing ( string $file ) : boolean
$file string
리턴 boolean