Commit 4018da83 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

Issue #3151995 by Gábor Hojtsy, rohnjeynolds, siramsay, JD_1, maxilein,...

Issue #3151995 by Gábor Hojtsy, rohnjeynolds, siramsay, JD_1, maxilein, Arno2Mars, scrumorg, Arngrim: Log PHPStan error in project results to let people know it failed. Fix undefined errors index
parent 62148855
...@@ -276,7 +276,7 @@ final class DeprecationAnalyzer { ...@@ -276,7 +276,7 @@ final class DeprecationAnalyzer {
$this->logger->error('PHPStan failed: %results', ['%results' => print_r($output, TRUE)]); $this->logger->error('PHPStan failed: %results', ['%results' => print_r($output, TRUE)]);
$json = [ $json = [
'files' => [ 'files' => [
'PHPStan failed' => 'PHP API deprecations cannot be checked. Reason: ' . $output, 'PHPStan failed' => 'PHP API deprecations cannot be checked. Reason: ' . print_r($output, TRUE),
'line' => 0, 'line' => 0,
], ],
'totals' => [ 'totals' => [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment