Loading core/modules/menu_link_content/tests/src/Kernel/MenuLinksTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -326,7 +326,7 @@ public function testModuleUninstalledMenuLinks() { /** * Tests handling of pending revisions. * * @coversDefaultClass \Drupal\menu_link_content\Plugin\Validation\Constraint\MenuTreeHierarchyConstraintValidator * @covers \Drupal\menu_link_content\Plugin\Validation\Constraint\MenuTreeHierarchyConstraintValidator::validate */ public function testPendingRevisions() { /** @var \Drupal\Core\Entity\RevisionableStorageInterface $storage */ Loading core/modules/workspaces/tests/src/Kernel/WorkspaceAccessTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -112,7 +112,7 @@ public function testPublishWorkspaceAccess() { } /** * @coversDefaultClass \Drupal\workspaces\Plugin\EntityReferenceSelection\WorkspaceSelection * @covers \Drupal\workspaces\Plugin\EntityReferenceSelection\WorkspaceSelection::getReferenceableEntities */ public function testWorkspaceSelection() { $own_permission_user = $this->createUser(['view own workspace']); Loading core/phpstan-baseline.neon +0 −15 Original line number Diff line number Diff line Loading @@ -1465,11 +1465,6 @@ parameters: count: 1 path: modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php - message: "#^@coversDefaultClass defined on class method testPendingRevisions\\.$#" count: 1 path: modules/menu_link_content/tests/src/Kernel/MenuLinksTest.php - message: "#^Call to deprecated constant REQUEST_TIME\\: Deprecated in drupal\\:8\\.3\\.0 and is removed from drupal\\:11\\.0\\.0\\. Use \\\\Drupal\\:\\:time\\(\\)\\-\\>getRequestTime\\(\\); $#" count: 2 Loading Loading @@ -2640,11 +2635,6 @@ parameters: count: 1 path: modules/workspaces/src/WorkspacePublisher.php - message: "#^@coversDefaultClass defined on class method testWorkspaceSelection\\.$#" count: 1 path: modules/workspaces/tests/src/Kernel/WorkspaceAccessTest.php - message: "#^Variable \\$keyed_content might not be defined\\.$#" count: 1 Loading Loading @@ -2840,11 +2830,6 @@ parameters: count: 1 path: tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php - message: "#^@coversDefaultClass defined on class method testHtmlClass\\.$#" count: 1 path: tests/Drupal/Tests/Component/Utility/HtmlTest.php - message: "#^Result of static method Drupal\\\\Composer\\\\Composer\\:\\:ensureComposerVersion\\(\\) \\(void\\) is used\\.$#" count: 1 Loading core/tests/Drupal/Tests/Component/Utility/HtmlTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -90,7 +90,7 @@ public function providerTestCleanCssIdentifier() { /** * Tests that Html::getClass() cleans the class name properly. * * @coversDefaultClass ::getClass * @covers ::getClass */ public function testHtmlClass() { // Verify Drupal coding standards are enforced. Loading Loading
core/modules/menu_link_content/tests/src/Kernel/MenuLinksTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -326,7 +326,7 @@ public function testModuleUninstalledMenuLinks() { /** * Tests handling of pending revisions. * * @coversDefaultClass \Drupal\menu_link_content\Plugin\Validation\Constraint\MenuTreeHierarchyConstraintValidator * @covers \Drupal\menu_link_content\Plugin\Validation\Constraint\MenuTreeHierarchyConstraintValidator::validate */ public function testPendingRevisions() { /** @var \Drupal\Core\Entity\RevisionableStorageInterface $storage */ Loading
core/modules/workspaces/tests/src/Kernel/WorkspaceAccessTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -112,7 +112,7 @@ public function testPublishWorkspaceAccess() { } /** * @coversDefaultClass \Drupal\workspaces\Plugin\EntityReferenceSelection\WorkspaceSelection * @covers \Drupal\workspaces\Plugin\EntityReferenceSelection\WorkspaceSelection::getReferenceableEntities */ public function testWorkspaceSelection() { $own_permission_user = $this->createUser(['view own workspace']); Loading
core/phpstan-baseline.neon +0 −15 Original line number Diff line number Diff line Loading @@ -1465,11 +1465,6 @@ parameters: count: 1 path: modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php - message: "#^@coversDefaultClass defined on class method testPendingRevisions\\.$#" count: 1 path: modules/menu_link_content/tests/src/Kernel/MenuLinksTest.php - message: "#^Call to deprecated constant REQUEST_TIME\\: Deprecated in drupal\\:8\\.3\\.0 and is removed from drupal\\:11\\.0\\.0\\. Use \\\\Drupal\\:\\:time\\(\\)\\-\\>getRequestTime\\(\\); $#" count: 2 Loading Loading @@ -2640,11 +2635,6 @@ parameters: count: 1 path: modules/workspaces/src/WorkspacePublisher.php - message: "#^@coversDefaultClass defined on class method testWorkspaceSelection\\.$#" count: 1 path: modules/workspaces/tests/src/Kernel/WorkspaceAccessTest.php - message: "#^Variable \\$keyed_content might not be defined\\.$#" count: 1 Loading Loading @@ -2840,11 +2830,6 @@ parameters: count: 1 path: tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php - message: "#^@coversDefaultClass defined on class method testHtmlClass\\.$#" count: 1 path: tests/Drupal/Tests/Component/Utility/HtmlTest.php - message: "#^Result of static method Drupal\\\\Composer\\\\Composer\\:\\:ensureComposerVersion\\(\\) \\(void\\) is used\\.$#" count: 1 Loading
core/tests/Drupal/Tests/Component/Utility/HtmlTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -90,7 +90,7 @@ public function providerTestCleanCssIdentifier() { /** * Tests that Html::getClass() cleans the class name properly. * * @coversDefaultClass ::getClass * @covers ::getClass */ public function testHtmlClass() { // Verify Drupal coding standards are enforced. Loading