PHPMND flags lines that define a class constant with an expression as value. For example:
public const int MINUTE = 60;
// These are flagged:
public const int DAY = 24 * self::HOUR;
public const int HOUR = 60 * self::MINUTE;
public const int WEEK = 7 * self::DAY;
I could not find an option to suppress warnings for such code. Is that possible?
Thanks for phpmnd!
PHPMND flags lines that define a class constant with an expression as value. For example:
I could not find an option to suppress warnings for such code. Is that possible?
Thanks for phpmnd!