I've been running my code through very strict syntax checking and one thing that keeps coming up is exported objects.
When an object is exported it gets exported with this syntax:
$test = new Class;
According to the code standards it really should be:
$test = new Class();
I'm not really sure if theres a reason why the parenthesis where left out.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 0001-Issue-1339084-by-ericduran-Added-Make-the-exported-o.patch | 1.01 KB | ericduran |
Comments
Comment #1
ericduran commentedHere's a patch.
Comment #2
dave reidSeems reasonable to me.
Comment #3
merlinofchaos commentedEasy enough. Committed and pushed.