Skip to content

Newlines before opening braces in class definition #370

@winged

Description

@winged

Just testing the plugin, and found one issue with too many newlines between class declaration and the following open brace. I have the following code fragment:

class Custom_Plugin_NotificationPlaceholderSource extends Notification_Manager_DefaultPlaceholderSource {
    # ...
}

Which gets transformed to the following, which contains one newline too many:

class Custom_Plugin_NotificationPlaceholderSource
    extends Notification_Manager_DefaultPlaceholderSource

{
    # ...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions