.. _functions-wrongcase: .. _wrong-function-name-case: Wrong Function Name Case ++++++++++++++++++++++++ The spotted functions are used with a different case than their definition. While PHP accepts this, it makes the code harder to read. It may also be a violation of coding conventions. .. code-block:: php See also `PHP class name constant case sensitivity and PSR-11 `_. Suggestions ___________ * Match the defined functioncall with the called name Specs _____ +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Short name | Functions/WrongCase | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Rulesets | :ref:`All `, :ref:`Coding conventions ` | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Exakat since | 0.8.4 | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | PHP Version | All | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Severity | Minor | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Time To Fix | Instant (5 mins) | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Precision | Very high | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Features | case-sensitivity | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Available in | `Entreprise Edition `_, `Exakat Cloud `_ | +--------------+-------------------------------------------------------------------------------------------------------------------------+