Everywhere
Account created on 30 April 2010, over 14 years ago
#

Merge Requests

Recent comments

🇱🇰Sri Lanka Ayesh Everywhere

Added a CS rule forbid said casting functions, but emit a warning and not an error. I don't know PHPCS enough to see if it can add a warning message instead of a function suggestion. The two instance of intval calls are explicitly allowed with a PHPCS toggle.

The reason why I thought to use a warning instead of an error is because none of these functions are deprecated, and especially in intval case, there is a parameter for base conversion. If you think we are better off with an error, I'll happily change it too.

Thank you.

Production build 0.71.5 2024