Verified Commit 84b7edaa authored by Dave Long's avatar Dave Long
Browse files

Issue #3546803 by mondrake: Remove class metadata from abstract test class UpdateSemverTestBase

parent a7b619c8
Loading
Loading
Loading
Loading
Loading
+0 −6
Changes for core/.phpstan-baseline.php: 0 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -34774,12 +34774,6 @@
	'count' => 1,
	'path' => __DIR__ . '/modules/update/tests/src/Functional/UpdateSemverCoreTestBase.php',
];
$ignoreErrors[] = [
	'message' => '#^Abstract test class Drupal\\\\Tests\\\\update\\\\Functional\\\\UpdateSemverTestBase must not add attribute PHPUnit\\\\Framework\\\\Attributes\\\\Group\\.$#',
	'identifier' => 'abstractTestClass.metadataForbidden',
	'count' => 1,
	'path' => __DIR__ . '/modules/update/tests/src/Functional/UpdateSemverTestBase.php',
];
$ignoreErrors[] = [
	'message' => '#^Method Drupal\\\\Tests\\\\update\\\\Functional\\\\UpdateSemverTestBase\\:\\:cronRun\\(\\) has no return type specified\\.$#',
	'identifier' => 'missingType.return',
+0 −2
Changes for core/modules/update/tests/src/Functional/UpdateSemverTestBase.php: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -5,7 +5,6 @@
namespace Drupal\Tests\update\Functional;

use Drupal\Tests\Traits\Core\CronRunTrait;
use PHPUnit\Framework\Attributes\Group;

/**
 * Common setup and utility methods to test projects that use semver releases.
@@ -13,7 +12,6 @@
 * For classes that extend this class, the XML fixtures they use will start with
 * ::$projectTitle.
 */
#[Group('update')]
abstract class UpdateSemverTestBase extends UpdateTestBase {

  use CronRunTrait;