Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/Baseline.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
$ignoreErrors = $parameters['ignoreErrors'];

foreach($ignoreErrors as $error) {
yield new BaselineError($error['count'], $error['message'], $error['path']);
yield new BaselineError($error['count'], $error['rawMessage'] ?? $error['message'], $error['path']);

Check failure on line 55 in lib/Baseline.php

View workflow job for this annotation

GitHub Actions / phpstan static code analysis (ubuntu-latest, 8.0)

Offset 'rawMessage' on array{message: string, count: int, path: string} on left side of ?? does not exist.

Check failure on line 55 in lib/Baseline.php

View workflow job for this annotation

GitHub Actions / phpstan static code analysis (ubuntu-latest, 8.2)

Offset 'rawMessage' on array{message: string, count: int, path: string} on left side of ?? does not exist.

Check failure on line 55 in lib/Baseline.php

View workflow job for this annotation

GitHub Actions / phpstan static code analysis (ubuntu-latest, 8.1)

Offset 'rawMessage' on array{message: string, count: int, path: string} on left side of ?? does not exist.
}
}

Expand Down
Loading