.. _type-stringholdavariable: .. _string-may-hold-a-variable: String May Hold A Variable ++++++++++++++++++++++++++ Strings that contains a variable, yet are not interpolated. Single quotes and Nowdoc syntax may include $ signs. They are treated as literals, and not replaced with a variable value. However, there are some potential variables in those strings, making it possible for an `error `_ : the variable was forgotten and will be published as such. It is worth checking the content and make sure those strings are not variables. .. code-block:: php Connex PHP features ------------------- + `variable `_ + `interpolation `_ Suggestions ___________ * Check if the variable is really a variable * Turn the string into an interpolated string (double quote, heredoc, concatenation) Specs _____ +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Short name | Type/StringHoldAVariable | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Rulesets | :ref:`All `, :ref:`Analyze `, :ref:`Changed Behavior ` | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Exakat since | 0.8.4 | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | PHP Version | All | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Severity | Minor | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Time To Fix | Instant (5 mins) | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Precision | Very high | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Available in | `Entreprise Edition `_, `Exakat Cloud `_ | +--------------+-------------------------------------------------------------------------------------------------------------------------+