Skip to content
Snippets Groups Projects
Commit 1cff0975 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2443885 by Xano: DrupalStandardsListener causes errors when it cannot...

Issue #2443885 by Xano: DrupalStandardsListener causes errors when it cannot retrieve test results. Missing abstract keyword
parent 06d920a0
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -55,7 +55,7 @@ protected function classExists($class) { ...@@ -55,7 +55,7 @@ protected function classExists($class) {
*/ */
public function checkValidCoversForTest(\PHPUnit_Framework_TestCase $test) { public function checkValidCoversForTest(\PHPUnit_Framework_TestCase $test) {
// If we're generating a coverage report already, don't do anything here. // If we're generating a coverage report already, don't do anything here.
if ($test->getTestResultObject()->getCollectCodeCoverageInformation()) { if ($test->getTestResultObject() && $test->getTestResultObject()->getCollectCodeCoverageInformation()) {
return; return;
} }
// Gather our annotations. // Gather our annotations.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment