[TYPO3-dev] CGL question
Dmitry Dulepov
dmitry.dulepov at gmail.com
Wed Feb 26 15:02:18 CET 2014
Hi!
Steffen Müller wrote:
> CGL does not say "_function_ parameter validation". So IMO your case
> does not violate CGL. Btw, "function parameter" is usually referred to
> as "function argument" in PHP. [2]
When CGL was written (by me, actually ;)), function parameters were meant.
But since it is not there, ok :)
But "validation" is still in CGL. How about that and example #1? When
"!$this->bar" is not a validation (i.e. "$this->bar is invalid if it
evaluates to false" is *not* the case but "$this->bar determines the
behavior of execution" *is* the case), than example #1 violates CGL, right?
--
Dmitry Dulepov
Today is a good day to have a good day.
More information about the TYPO3-dev
mailing list