The unit tester needs this. The patch only moves a few lines of code around so it's RTBC. I did check and things still work.

Comments

dries’s picture

Status: Reviewed & tested by the community » Needs work

As a good habit, can we start adding some better PHPdoc to this code?

chx’s picture

Status: Needs work » Reviewed & tested by the community
StatusFileSize
new2.89 KB

Yes.

chx’s picture

StatusFileSize
new2.89 KB

Crell did not like _foo. And I do not think we should really make that protected, so I just dropped an underscore.

chx’s picture

StatusFileSize
new2.88 KB

Also I am warned that methodName should not be method_name.

floretan’s picture

While reviewing I also fixed some comment style issues (most of which were not part of the patch). No functional changes.

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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