File tree Expand file tree Collapse file tree 4 files changed +2
-13
lines changed
Expand file tree Collapse file tree 4 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -2,5 +2,4 @@ parameters:
22 featureToggles :
33 closureUsesThis : true
44 randomIntParameters : true
5- parallel : true
65 resultCache : true
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ parameters:
1010 staticReflectionForPhpParser : true
1111 disableRuntimeReflectionProvider : false
1212 enableScanningPaths : false
13- parallel : false
1413 resultCache : false
1514 fileExtensions :
1615 - php
@@ -337,7 +336,6 @@ services:
337336 class : PHPStan\Command\AnalyseApplication
338337 arguments :
339338 memoryLimitFile : %memoryLimitFile%
340- runParallel : %featureToggles.parallel%
341339
342340 -
343341 class : PHPStan\Command\IgnoredRegexValidator
Original file line number Diff line number Diff line change @@ -33,17 +33,13 @@ class AnalyseApplication
3333 /** @var string */
3434 private $ memoryLimitFile ;
3535
36- /** @var bool */
37- private $ runParallel ;
38-
3936 public function __construct (
4037 Analyser $ analyser ,
4138 StubValidator $ stubValidator ,
4239 ParallelAnalyser $ parallelAnalyser ,
4340 Scheduler $ scheduler ,
4441 ResultCacheManager $ resultCacheManager ,
45- string $ memoryLimitFile ,
46- bool $ runParallel
42+ string $ memoryLimitFile
4743 )
4844 {
4945 $ this ->analyser = $ analyser ;
@@ -52,7 +48,6 @@ public function __construct(
5248 $ this ->scheduler = $ scheduler ;
5349 $ this ->resultCacheManager = $ resultCacheManager ;
5450 $ this ->memoryLimitFile = $ memoryLimitFile ;
55- $ this ->runParallel = $ runParallel ;
5651 }
5752
5853 /**
@@ -206,8 +201,7 @@ private function runAnalyser(
206201 }
207202
208203 if (
209- $ this ->runParallel
210- && !$ debug
204+ !$ debug
211205 && $ mainScript !== null
212206 && $ schedule ->getNumberOfProcesses () > 1
213207 ) {
Original file line number Diff line number Diff line change 11parameters :
2- featureToggles :
3- parallel : true
42 parallel :
53 jobSize : 1
You can’t perform that action at this time.
0 commit comments