@@ -462,7 +462,7 @@ public function check(string $base_dir, bool $is_diff = false): void
462
462
}
463
463
464
464
$ this ->progress ->write ($ this ->generatePHPVersionMessage ());
465
- $ this ->progress ->startPhase (Phase::SCAN );
465
+ $ this ->progress ->startPhase (Phase::SCAN , $ this -> scanThreads );
466
466
467
467
$ diff_no_files = false ;
468
468
@@ -520,7 +520,7 @@ public function check(string $base_dir, bool $is_diff = false): void
520
520
$ this ->config ->eventDispatcher ->dispatchAfterCodebasePopulated ($ event );
521
521
}
522
522
523
- $ this ->progress ->startPhase (Phase::ANALYSIS );
523
+ $ this ->progress ->startPhase (Phase::ANALYSIS , $ this -> threads );
524
524
525
525
$ this ->codebase ->analyzer ->analyzeFiles (
526
526
$ this ,
@@ -876,15 +876,15 @@ public function checkDir(string $dir_name): void
876
876
$ this ->checkDirWithConfig ($ dir_name , $ this ->config , true );
877
877
878
878
$ this ->progress ->write ($ this ->generatePHPVersionMessage ());
879
- $ this ->progress ->startPhase (Phase::SCAN );
879
+ $ this ->progress ->startPhase (Phase::SCAN , $ this -> scanThreads );
880
880
881
881
$ this ->config ->initializePlugins ($ this );
882
882
883
883
$ this ->codebase ->scanFiles ($ this ->scanThreads );
884
884
885
885
$ this ->config ->visitStubFiles ($ this ->codebase , $ this ->progress );
886
886
887
- $ this ->progress ->startPhase (Phase::ANALYSIS );
887
+ $ this ->progress ->startPhase (Phase::ANALYSIS , $ this -> threads );
888
888
889
889
$ this ->codebase ->analyzer ->analyzeFiles (
890
890
$ this ,
@@ -976,15 +976,15 @@ public function checkFile(string $file_path): void
976
976
$ this ->file_reference_provider ->loadReferenceCache ();
977
977
978
978
$ this ->progress ->write ($ this ->generatePHPVersionMessage ());
979
- $ this ->progress ->startPhase (Phase::SCAN );
979
+ $ this ->progress ->startPhase (Phase::SCAN , $ this -> scanThreads );
980
980
981
981
$ this ->config ->initializePlugins ($ this );
982
982
983
983
$ this ->codebase ->scanFiles ($ this ->scanThreads );
984
984
985
985
$ this ->config ->visitStubFiles ($ this ->codebase , $ this ->progress );
986
986
987
- $ this ->progress ->startPhase (Phase::ANALYSIS );
987
+ $ this ->progress ->startPhase (Phase::ANALYSIS , $ this -> threads );
988
988
989
989
$ this ->codebase ->analyzer ->analyzeFiles (
990
990
$ this ,
@@ -1000,7 +1000,7 @@ public function checkFile(string $file_path): void
1000
1000
public function checkPaths (array $ paths_to_check ): void
1001
1001
{
1002
1002
$ this ->progress ->write ($ this ->generatePHPVersionMessage ());
1003
- $ this ->progress ->startPhase (Phase::SCAN );
1003
+ $ this ->progress ->startPhase (Phase::SCAN , $ this -> scanThreads );
1004
1004
1005
1005
$ this ->config ->visitPreloadedStubFiles ($ this ->codebase , $ this ->progress );
1006
1006
$ this ->visitAutoloadFiles ();
@@ -1032,7 +1032,7 @@ public function checkPaths(array $paths_to_check): void
1032
1032
1033
1033
$ this ->config ->eventDispatcher ->dispatchAfterCodebasePopulated ($ event );
1034
1034
1035
- $ this ->progress ->startPhase (Phase::ANALYSIS );
1035
+ $ this ->progress ->startPhase (Phase::ANALYSIS , $ this -> threads );
1036
1036
1037
1037
$ this ->codebase ->analyzer ->analyzeFiles (
1038
1038
$ this ,
0 commit comments