Loading core/modules/system/tests/src/Kernel/Common/PageRenderTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -56,7 +56,7 @@ public function assertPageRenderHookExceptions(string $module, string $hook): vo $page = []; try { $html_renderer->invokePageAttachmentHooks($page); $this->error($assertion); $this->fail($assertion); } catch (\LogicException $e) { $this->assertEquals('Only #attached and #cache may be set in ' . $hook . '().', $e->getMessage()); Loading @@ -69,7 +69,7 @@ public function assertPageRenderHookExceptions(string $module, string $hook): vo $page = []; try { $html_renderer->invokePageAttachmentHooks($page); $this->error($assertion); $this->fail($assertion); } catch (\LogicException $e) { $this->assertEquals('Only #attached and #cache may be set in ' . $hook . '().', $e->getMessage()); Loading core/phpstan-baseline.neon +0 −5 Original line number Diff line number Diff line Loading @@ -1125,11 +1125,6 @@ parameters: count: 1 path: modules/system/tests/src/Functional/FileTransfer/FileTransferTest.php - message: "#^Call to an undefined method Drupal\\\\Tests\\\\system\\\\Kernel\\\\Common\\\\PageRenderTest\\:\\:error\\(\\)\\.$#" count: 2 path: modules/system/tests/src/Kernel/Common/PageRenderTest.php - message: "#^Call to deprecated constant REQUEST_TIME\\: Deprecated in drupal\\:8\\.3\\.0 and is removed from drupal\\:10\\.0\\.0\\. Use \\\\Drupal\\:\\:time\\(\\)\\-\\>getRequestTime\\(\\); $#" count: 1 Loading Loading
core/modules/system/tests/src/Kernel/Common/PageRenderTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -56,7 +56,7 @@ public function assertPageRenderHookExceptions(string $module, string $hook): vo $page = []; try { $html_renderer->invokePageAttachmentHooks($page); $this->error($assertion); $this->fail($assertion); } catch (\LogicException $e) { $this->assertEquals('Only #attached and #cache may be set in ' . $hook . '().', $e->getMessage()); Loading @@ -69,7 +69,7 @@ public function assertPageRenderHookExceptions(string $module, string $hook): vo $page = []; try { $html_renderer->invokePageAttachmentHooks($page); $this->error($assertion); $this->fail($assertion); } catch (\LogicException $e) { $this->assertEquals('Only #attached and #cache may be set in ' . $hook . '().', $e->getMessage()); Loading
core/phpstan-baseline.neon +0 −5 Original line number Diff line number Diff line Loading @@ -1125,11 +1125,6 @@ parameters: count: 1 path: modules/system/tests/src/Functional/FileTransfer/FileTransferTest.php - message: "#^Call to an undefined method Drupal\\\\Tests\\\\system\\\\Kernel\\\\Common\\\\PageRenderTest\\:\\:error\\(\\)\\.$#" count: 2 path: modules/system/tests/src/Kernel/Common/PageRenderTest.php - message: "#^Call to deprecated constant REQUEST_TIME\\: Deprecated in drupal\\:8\\.3\\.0 and is removed from drupal\\:10\\.0\\.0\\. Use \\\\Drupal\\:\\:time\\(\\)\\-\\>getRequestTime\\(\\); $#" count: 1 Loading