Skip to content

Commit de3720d

Browse files
committed
Issue bot - do not test PHP 7.2 anymore
We need to save the size of the job matrix because right now we get this error: Job outputs (1049962 bytes) has exceeded maximum size 1048576 bytes.
1 parent 8de182d commit de3720d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

issue-bot/src/Console/DownloadCommand.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,12 @@ protected function execute(InputInterface $input, OutputInterface $output): int
9696
}
9797

9898
$matrix = [];
99-
foreach ([70200, 70300, 70400, 80000, 80100, 80200, 80300, 80400] as $phpVersion) {
99+
foreach ([70300, 70400, 80000, 80100, 80200, 80300, 80400] as $phpVersion) {
100100
$phpVersionHashes = [];
101101
foreach ($cachedResults as $hash => $result) {
102102
$resultPhpVersions = array_keys($result->getVersionedErrors());
103103
if ($resultPhpVersions === [70400]) {
104-
$resultPhpVersions = [70200, 70300, 70400, 80000];
104+
$resultPhpVersions = [70300, 70400, 80000];
105105
}
106106

107107
if (!in_array(80100, $resultPhpVersions, true)) {

issue-bot/src/Console/EvaluateCommand.php

+4-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,10 @@ protected function execute(InputInterface $input, OutputInterface $output): int
101101
$originalPhpVersions = array_keys($originalErrors);
102102
$newResult = $newResults[$hash];
103103
if (array_key_exists(70100, $originalErrors) || $originalPhpVersions === [70400]) {
104-
$newResult[70100] = $newResult[70200];
104+
$newResult[70100] = $newResult[70300];
105+
}
106+
if (array_key_exists(70200, $originalErrors)) {
107+
$newResult[70200] = $newResult[70300];
105108
}
106109

107110
$newTabs = $this->tabCreator->create($this->filterErrors($originalErrors, $newResult));

0 commit comments

Comments
 (0)