Skip to content
Snippets Groups Projects
Verified Commit a6a33d75 authored by Dave Long's avatar Dave Long
Browse files

Issue #3499593 by mondrake, smustgrave: Fix phpunit.* PHPStan baseline errors

parent 2264713d
No related branches found
No related tags found
1 merge request!617Issue #3043725: Provide a Entity Handler for user cancelation
Pipeline #407738 passed with warnings
This diff is collapsed.
......@@ -46,7 +46,7 @@ protected function setUp(): void {
}
/**
* @covers ::block_rebuild
* @covers \Drupal\block\Hook\BlockHooks::rebuild
*/
public function testRebuildNoBlocks(): void {
$blockRebuild = new BlockHooks();
......@@ -57,7 +57,7 @@ public function testRebuildNoBlocks(): void {
}
/**
* @covers ::block_rebuild
* @covers \Drupal\block\Hook\BlockHooks::rebuild
*/
public function testRebuildNoInvalidBlocks(): void {
$this->placeBlock('system_powered_by_block', ['region' => 'content']);
......@@ -70,7 +70,7 @@ public function testRebuildNoInvalidBlocks(): void {
}
/**
* @covers ::block_rebuild
* @covers \Drupal\block\Hook\BlockHooks::rebuild
*/
public function testRebuildInvalidBlocks(): void {
$this->placeBlock('system_powered_by_block', ['region' => 'content']);
......
......@@ -15,7 +15,7 @@
use Drupal\layout_builder\Hook\LayoutBuilderHooks;
/**
* @covers layout_builder_entity_view_alter
* @covers \Drupal\layout_builder\Hook\LayoutBuilderHooks::entityViewAlter
*
* @group layout_builder
*/
......
......@@ -206,4 +206,12 @@ public function testSource(array $source_data, array $expected_data, $expected_c
}
}
/**
* Provides source data for ::testSource.
*
* @return iterable
* The source data.
*/
abstract public static function providerSource();
}
......@@ -201,7 +201,7 @@ public function testNodeRevisionsTabWithDefaultRevision(): void {
* This can be removed after 'entity.node.version_history' local task is
* removed by https://www.drupal.org/project/drupal/issues/3153559.
*
* @covers node_local_tasks_alter
* @covers \Drupal\node\Hook\NodeHooks1::localTasksAlter
*/
public function testNodeDuplicateRevisionsTab(): void {
$this->drupalPlaceBlock('local_tasks_block');
......
......@@ -12,7 +12,7 @@
/**
* Tests text of update email.
*
* @covers \update_mail
* @covers \Drupal\update\Hook\UpdateHooks::mail
*
* @group update
*/
......
......@@ -374,10 +374,10 @@ public function testWorkspaces(): void {
/**
* Tests the workspace association data integrity for entity CRUD operations.
*
* @covers ::workspaces_entity_presave
* @covers ::workspaces_entity_insert
* @covers ::workspaces_entity_delete
* @covers ::workspaces_entity_revision_delete
* @covers \Drupal\workspaces\Hook\EntityOperations::entityPresave
* @covers \Drupal\workspaces\Hook\EntityOperations::entityInsert
* @covers \Drupal\workspaces\Hook\EntityOperations::entityDelete
* @covers \Drupal\workspaces\Hook\EntityOperations::entityRevisionDelete
*/
public function testWorkspaceAssociationDataIntegrity(): void {
$this->initializeWorkspacesModule();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment