Skip to content

Commit 4817982

Browse files
committed
Fixed PHPCSFixer errors
1 parent d9c7327 commit 4817982

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

src/Command/GenerateTopCompaniesCommand.php

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -346,21 +346,20 @@ protected function extractCompany(array $datum): ?Company
346346
$company = $this->getCompanyByAlias($matchCompany);
347347
if ($company) {
348348
return $company;
349-
} else {
350-
$this->output->writeln(
351-
'Sponsor Company Not Found : '
352-
. $datum['repository']['name']
353-
. '#' . $datum['number']
354-
. ' => ' . $datum['author']['login']
355-
. '/' . $matchCompany
356-
);
357-
if (!isset($this->unknownSponsorCompanies[$matchCompany])) {
358-
$this->unknownSponsorCompanies[$matchCompany] = 0;
359-
}
360-
++$this->unknownSponsorCompanies[$matchCompany];
361-
362-
return null;
363349
}
350+
$this->output->writeln(
351+
'Sponsor Company Not Found : '
352+
. $datum['repository']['name']
353+
. '#' . $datum['number']
354+
. ' => ' . $datum['author']['login']
355+
. '/' . $matchCompany
356+
);
357+
if (!isset($this->unknownSponsorCompanies[$matchCompany])) {
358+
$this->unknownSponsorCompanies[$matchCompany] = 0;
359+
}
360+
++$this->unknownSponsorCompanies[$matchCompany];
361+
362+
return null;
364363
}
365364

366365
// Extract company from "Author"

0 commit comments

Comments
 (0)