Problem/Motivation

As per coding standard documentation at 'https://www.drupal.org/coding-standards/docs', @file tag docblock should not be there in the files that contain a namespaced class/interface/trait, whose file name is the class name with a .php extension.
Also remove unused imports.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

rajeshwari10 created an issue. See original summary.

rajeshwari10’s picture

Status: Active » Needs review
StatusFileSize
new10.09 KB
miro_dietiker’s picture

Status: Needs review » Needs work
  1. +++ b/src/Form/RevisionOverviewForm.php
    @@ -1,13 +1,5 @@
    - * This form displays all the revisions of a node and allows the selection
    - * of two of them for comparison.
    

    Are these really useless?

  2. +++ b/src/Tests/DiffRevisionTest.php
    @@ -1,9 +1,6 @@
      * @file
    

    And you keep this?

rajeshwari10’s picture

Status: Needs work » Needs review
StatusFileSize
new9.91 KB

Please review.

I have done changes.

Thanks!!

miro_dietiker’s picture

If you provide an update, it would be great to also provide an interdiff. It helps to only review changes / deltas.

I will checkout once HEAD tests pass again.

rajeshwari10’s picture

StatusFileSize
new1008 bytes

Providing Interdiff.

Thanks!!

miro_dietiker’s picture

Status: Needs review » Postponed

Quickly setting to postponed since this will cause conflicts with the other pending monster updates such as
#2708601: Allow per-field diff configuration
#2634212: Offer a diff controller for all entity types leveraging entity API module
Pretty sure there are more. Let's switch back to active and rebase once the big chunk is in.

miro_dietiker’s picture

Status: Postponed » Needs review

Both blockers are committed now. Unpostponing.
I guess it needs a reroll?

Status: Needs review » Needs work

The last submitted patch, 4: 2755077-4.patch, failed testing.

johnchque’s picture

Assigned: Unassigned » johnchque
johnchque’s picture

Status: Needs work » Needs review
StatusFileSize
new10.72 KB

Made some other changes. :)

johnchque’s picture

Made some other changes, removed unneeded imports.

johnchque’s picture

Issue summary: View changes
johnchque’s picture

johnchque’s picture

Title: Remove @file tag docblock » Remove @file tag docblock and unused imports

miro_dietiker’s picture

Status: Needs review » Fixed

Committed, thx! :-)

johnchque’s picture

Status: Fixed » Needs review
StatusFileSize
new422 bytes

Just realized that there are still some left. :/

miro_dietiker’s picture

Status: Needs review » Fixed

Committed again, with some additional fix...

Status: Fixed » Closed (fixed)

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