Skip to content

Commit e1566e7

Browse files
committed
Issue bot - reintroduce analysing PHP 7.2
1 parent 416695d commit e1566e7

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

issue-bot/src/Console/DownloadCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,12 @@ protected function execute(InputInterface $input, OutputInterface $output): int
9191
$this->savePlaygroundCache(new PlaygroundCache($cachedResults));
9292

9393
$matrix = [];
94-
foreach ([70300, 70400, 80000, 80100, 80200, 80300, 80400, 80500] as $phpVersion) {
94+
foreach ([70200, 70300, 70400, 80000, 80100, 80200, 80300, 80400, 80500] as $phpVersion) {
9595
$phpVersionHashes = [];
9696
foreach ($cachedResults as $hash => $result) {
9797
$resultPhpVersions = array_keys($result->getVersionedErrors());
9898
if ($resultPhpVersions === [70400]) {
99-
$resultPhpVersions = [70300, 70400, 80000];
99+
$resultPhpVersions = [70200, 70300, 70400, 80000];
100100
}
101101

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

issue-bot/src/Console/EvaluateCommand.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
105105
$originalPhpVersions = array_keys($originalErrors);
106106
$newResult = $newResults[$hash];
107107
if (array_key_exists(70100, $originalErrors) || $originalPhpVersions === [70400]) {
108-
$newResult[70100] = $newResult[70300];
109-
}
110-
if (array_key_exists(70200, $originalErrors)) {
111-
$newResult[70200] = $newResult[70300];
108+
$newResult[70100] = $newResult[70200];
112109
}
113110

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

0 commit comments

Comments
 (0)