.. _complete-variabletypehint: .. _variable-anf-property-typehint: Variable Anf Property Typehint ++++++++++++++++++++++++++++++ Adds typehints to (local) variables and properties, by inference from the code. Currently, the variable must be assigned only one type within its context to be typed. Non-typed variables limit the scope of other rules. This is an internal tool, to help find definitions of classes. The same strategies may happen to arguments, though there is no syntax relay for variables. .. code-block:: php Connex PHP features ------------------- + `variable `_ + `typehint `_ Specs _____ +--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | Short name | Complete/VariableTypehint | +--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | Rulesets | :ref:`All `, :ref:`Changed Behavior `, :ref:`First `, :ref:`NoDoc ` | +--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | Exakat since | 2.3.2 | +--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | PHP Version | All | +--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | Severity | Minor | +--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | Time To Fix | Quick (30 mins) | +--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | Precision | Medium | +--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | Available in | `Entreprise Edition `_, `Exakat Cloud `_ | +--------------+------------------------------------------------------------------------------------------------------------------------------------------+