Comments

Chi created an issue. See original summary.

chi’s picture

Title: Wrong file doc block on system kernel tests » Wrong file doc block on some tests
Issue summary: View changes
chi’s picture

Issue summary: View changes
chi’s picture

Issue summary: View changes
chx’s picture

Re #4 if PHP would have anonymous classes/interface these would be so. Not mentioning them is great -- nothing should know about them.

mimran’s picture

Assigned: Unassigned » mimran
chi’s picture

if PHP would have anonymous classes

PHP7 does have anonymous classes. We may add respective TODO comments to those files.
http://php.net/manual/language.oop5.anonymous.php

mimran’s picture

Assigned: mimran » Unassigned
laranajim’s picture

Assigned: Unassigned » laranajim
Issue tags: +CatalystAcademy
laranajim’s picture

Assigned: laranajim » Unassigned
Status: Active » Needs review
StatusFileSize
new5.17 KB

Corrected file doc block. I added additional Contains to files with multiple classes. The Drupal documentation is not explicit when it comes to files with more than one class. As for the TODO with anonymous classes, can this be done as a follow-up issue?

laranajim’s picture

StatusFileSize
new4.59 KB

Woops wrong patch file.

chx’s picture

> I added additional Contains to files with multiple classes. The Drupal documentation is not explicit when it comes to files with more than one class.

It is not -- but I would like you to ask you to remove these. There are things which shouldn't be documented and these are such. They shouldn't exist and documenting them is just polluting the documentation.

laranajim’s picture

StatusFileSize
new2.87 KB
new1.72 KB

Thanks for the review @chx. I have implemented your suggestions.

chx’s picture

Status: Needs review » Reviewed & tested by the community

Looks great!

catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.1.x and cherry-picked to 8.0.x. Thanks!

  • catch committed ea6f67e on
    Issue #2641092 by laranajim: Wrong file doc block on some tests
    

Status: Fixed » Closed (fixed)

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