rspec/rules/S2037/php/comments-and-links.adoc

16 lines
833 B
Plaintext

=== on 12 Oct 2014, 17:00:01 Freddy Mallet wrote:
@Ann, when discovering this rule it was not obvious for me to understand if there was or not a difference between self:: or static:: prefixes to access static functions of fields.
If my understanding is correct, there is no difference but obviously it's better to use static:: to prevent any misunderstanding.
If this is the case, I would associate this rule to the SQALE characteristic Maintainability > Understandability and to the tag pitfal
=== on 14 Oct 2014, 14:43:05 Ann Campbell wrote:
\[~freddy.mallet] I disagree about SQALE - the point of the rule is that when you use ``++self::++`` you're going to get the superclass' version, not the override - i.e. you won't get what you think you will.
=== on 21 Oct 2014, 20:29:24 Ann Campbell wrote:
\[~linda.martin] LGTM