.. _functions-mismatchparameterandtype: .. _mismatch-parameter-and-type: Mismatch Parameter And Type +++++++++++++++++++++++++++ When the name of the parameter contradicts the type of the parameter. This is mostly semantics, so it will affect the coder and the auditor of the code. PHP is immune to those errors. .. code-block:: php Connex PHP features ------------------- + `parameter `_ + `type `_ + `semantics `_ Suggestions ___________ * Synch the name of the parameter and the typehint. Specs _____ +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Short name | Functions/MismatchParameterAndType | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Rulesets | :ref:`All `, :ref:`Changed Behavior `, :ref:`Semantics ` | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Exakat since | 2.1.8 | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | PHP Version | All | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Severity | Minor | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Time To Fix | Quick (30 mins) | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Precision | Very high | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Available in | `Entreprise Edition `_, `Exakat Cloud `_ | +--------------+-------------------------------------------------------------------------------------------------------------------------+