.. _constants-unusedconstants: .. _unused-constants: Unused Constants ++++++++++++++++ Those constants are defined in the code but never used. Defining unused constants slow down the application, as they are executed and stored in PHP hashtables. It is recommended to comment them out, and only define them when it is necessary. .. code-block:: php Connex PHP features ------------------- + `constant `_ Suggestions ___________ * Make use of the constant * Remove the constant Specs _____ +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Short name | Constants/UnusedConstants | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Rulesets | :ref:`All `, :ref:`Changed Behavior `, :ref:`Dead code ` | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Exakat since | 0.8.4 | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | PHP Version | All | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Severity | Minor | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Time To Fix | Instant (5 mins) | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Precision | High | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Available in | `Entreprise Edition `_, `Exakat Cloud `_ | +--------------+-------------------------------------------------------------------------------------------------------------------------+