.. _type-shouldbesinglequote: .. _should-be-single-quote: Should Be Single Quote ++++++++++++++++++++++ Use single quote for simple strings. `Static `_ content inside a string, that has no single quotes nor escape sequence (such as \n or \t), should be using single quote delimiter, instead of double quote. If you have too many of them, don't loose your time switching them all. If you have a few of them, it may be good for consistence. .. code-block:: php Connex PHP features ------------------- + `double-quote `_ + `single-quote `_ Specs _____ +--------------+--------------------------------------------------------------------------------------------------------------------------------------+ | Short name | Type/ShouldBeSingleQuote | +--------------+--------------------------------------------------------------------------------------------------------------------------------------+ | Rulesets | :ref:`All `, :ref:`Changed Behavior `, :ref:`Coding conventions ` | +--------------+--------------------------------------------------------------------------------------------------------------------------------------+ | Exakat since | 0.8.4 | +--------------+--------------------------------------------------------------------------------------------------------------------------------------+ | PHP Version | All | +--------------+--------------------------------------------------------------------------------------------------------------------------------------+ | Severity | Minor | +--------------+--------------------------------------------------------------------------------------------------------------------------------------+ | Time To Fix | Instant (5 mins) | +--------------+--------------------------------------------------------------------------------------------------------------------------------------+ | Precision | Very high | +--------------+--------------------------------------------------------------------------------------------------------------------------------------+ | ClearPHP | `no-double-quote `__ | +--------------+--------------------------------------------------------------------------------------------------------------------------------------+ | Available in | `Entreprise Edition `_, `Exakat Cloud `_ | +--------------+--------------------------------------------------------------------------------------------------------------------------------------+