.. _ruleset-compatibilityphp72: CompatibilityPHP72 ++++++++++++++++++ This ruleset centralizes all analysis for the migration from PHP 7.1 to 7.2. Total : 52 analysis * :ref:`undefined-constants` * :ref:`hash-algorithms-incompatible-with-php-5.3` * :ref:`hash-algorithms-incompatible-with-php-5.4-5.5` * :ref:`preg\_replace-with-option-e` * :ref:`php-7.2-deprecations` * :ref:`php-7.2-removed-functions` * :ref:`new-functions-in-php-7.2` * :ref:`new-constants-in-php-7.2` * :ref:`new-functions-in-php-7.3` * :ref:`php-7.2-object-keyword` * :ref:`no-get\_class()-with-null` * :ref:`php-7.2-new-class` * :ref:`avoid-set\_error\_handler-$context-argument` * :ref:`hash-will-use-objects` * :ref:`can't-count-non-countable` * :ref:`list-with-reference` * :ref:`php-7.3-last-empty-argument` * :ref:`flexible-heredoc` * :ref:`continue-is-for-loop` * :ref:`trailing-comma-in-calls` * :ref:`no-reference-for-static-property` * :ref:`typed-property-usage` * :ref:`concat-and-addition` * :ref:`unpacking-inside-arrays` * :ref:`coalesce-equal` * :ref:`php-8.0-only-typehints` * :ref:`union-typehint` * :ref:`signature-trailing-comma` * :ref:`throw-was-an-expression` * :ref:`enum-usage` * :ref:`$files-full\_path` * :ref:`final-constant` * :ref:`never-typehint-usage` * :ref:`php-8.1-typehints` * :ref:`php-8.0-typehints` * :ref:`named-parameter-usage` * :ref:`cant-overload-constants` * :ref:`array\_merge-with-ellipsis` * :ref:`no-private-abstract-method-in-trait` * :ref:`clone-constant` * :ref:`no-keyword-in-namespace` * :ref:`use-enum-case-in-constant-expression` * :ref:`readonly-property-changed-by-cloning` * :ref:`new-dynamic-class-constant-syntax` * :ref:`class\_alias()-supports-internal-classes` * :ref:`redeclared-static-variable` * :ref:`static-variable-can-default-to-arbitrary-expression` * :ref:`final-traits-are-final` * :ref:`typed-class-constants-usage` * :ref:`void-is-not-a-reference` * :ref:`php-8.1-new-types` * :ref:`php-8.2-new-types` Specs _____ +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Short name | CompatibilityPHP72 | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Available in | `Entreprise Edition `_, `Exakat Cloud `_ | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Reports | :ref:`report-ambassador` | +--------------+-------------------------------------------------------------------------------------------------------------------------+