.. _ruleset-lintbutwontexec: LintButWontExec +++++++++++++++ This ruleset focuses on PHP code that lint (php -l), but that will not run. As such, this ruleset tries to go further than PHP, by connecting files, just like during execution. Total : 47 analysis * :ref:`final-class-usage` * :ref:`final-methods-usage` * :ref:`$this-belongs-to-classes-or-traits` * :ref:`classes-mutually-extending-each-other` * :ref:`undefined-class-constants` * :ref:`must-return-methods` * :ref:`undefined-interfaces` * :ref:`no-self-referencing-constant` * :ref:`using-$this-outside-a-class` * :ref:`undefined-trait` * :ref:`raised-access-level` * :ref:`self,-parent,-static-outside-class` * :ref:`implemented-methods-must-be-public` * :ref:`no-magic-method-with-array` * :ref:`method-signature-must-be-compatible` * :ref:`mismatch-type-and-default` * :ref:`can't-throw-throwable` * :ref:`abstract-or-implements` * :ref:`incompatible-signature-methods` * :ref:`undefined-insteadof` * :ref:`method-collision-traits` * :ref:`only-variable-for-reference` * :ref:`repeated-interface` * :ref:`avoid-self-in-interface` * :ref:`useless-method-alias` * :ref:`type-must-be-returned` * :ref:`clone-with-non-object` * :ref:`trait-not-found` * :ref:`wrong-type-returned` * :ref:`interfaces-is-not-implemented` * :ref:`can't-implement-traversable` * :ref:`wrong-typed-property-default` * :ref:`mismatch-properties-typehints` * :ref:`could-be-stringable` * :ref:`inherited-property-type-must-match` * :ref:`duplicate-named-parameter` * :ref:`php-native-interfaces-and-return-type` * :ref:`false-to-array-conversion` * :ref:`deprecated-callable` * :ref:`cant-overload-constants` * :ref:`can't-overwrite-final-constant` * :ref:`implicit-conversion-to-int` * :ref:`no-magic-method-for-enum` * :ref:`wrong-type-with-default` * :ref:`clone-constant` * :ref:`invalid-cast` * :ref:`only-variable-passed-by-reference` Specs _____ +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Short name | LintButWontExec | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Available in | `Entreprise Edition `_, `Exakat Cloud `_ | +--------------+-------------------------------------------------------------------------------------------------------------------------+