Code fixer breaks code like

diff --git a/core/lib/Drupal/Core/Render/Element/Pager.php b/core/lib/Drupal/Core/Render/Element/Pager.php
index 8e87cca..cab5fa1 100644
--- a/core/lib/Drupal/Core/Render/Element/Pager.php
+++ b/core/lib/Drupal/Core/Render/Element/Pager.php
@@ -14,7 +14,7 @@
  *
  * @RenderElement("pager")
  */
-class Pager extends RenderElement{
+class Pager extends {
 
   /**
    * {@inheritdoc}
CommentFileSizeAuthor
Drupal.Classes.ClassDeclaration-fix.patch924 bytesattiks
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

attiks created an issue. See original summary.

klausi’s picture

Status: Needs review » Needs work

Makes sense, can we have a test case for this?

klausi’s picture

Assigned: Unassigned » klausi

working on it.

  • klausi committed 25d616d on authored by attiks
    Issue #2575407 by attiks, klausi: Fixed Drupal.Classes.ClassDeclaration...
klausi’s picture

Assigned: klausi » Unassigned
Status: Needs work » Fixed

Committed with test case, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.