.. _ruleset-compatibilityphp81: CompatibilityPHP81 ++++++++++++++++++ This ruleset centralizes all analysis for the migration from PHP 8.0 to 8.1. Total : 34 analysis * :ref:`php-7.4-removed-directives` * :ref:`php-8.0-removed-directives` * :ref:`restrict-global-usage` * :ref:`inherited-static-variable` * :ref:`php-8.1-removed-directives` * :ref:`openssl-encrypt-default-algorithm-change` * :ref:`php-8.1-removed-constants` * :ref:`php-native-class-type-compatibility` * :ref:`no-null-for-native-php-functions` * :ref:`calling-static-trait-method` * :ref:`no-referenced-void` * :ref:`php-native-interfaces-and-return-type` * :ref:`new-functions-in-php-8.1` * :ref:`php-8.1-removed-functions` * :ref:`never-keyword` * :ref:`mixed-keyword` * :ref:`false-to-array-conversion` * :ref:`float-conversion-as-index` * :ref:`cannot-call-static-trait-method-directly` * :ref:`version\_compare-operator` * :ref:`named-argument-and-variadic` * :ref:`constants-in-traits` * :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:`static-variable-initialisation` * :ref:`void-is-not-a-reference` * :ref:`php-8.1-new-types` * :ref:`php-8.2-new-types` Specs _____ +--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Short name | CompatibilityPHP81 | +--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Available in | `Entreprise Edition `_, `Community Edition `_, `Exakat Cloud `_ | +--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Reports | :ref:`report-diplomat`, :ref:`report-ambassador` | +--------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+