.. _ruleset-all: All +++ All is a dummy ruleset, which includes all the rules. It is mostly used internally. Total : 1648 analysis * :ref:`adding-zero` * :ref:`ambiguous-array-index` * :ref:`array-index` * :ref:`multidimensional-arrays` * :ref:`multiple-index-definition` * :ref:`php-arrays-index` * :ref:`class-usage` * :ref:`classes-names` * :ref:`constant-definition` * :ref:`empty-classes` * :ref:`magic-methods` * :ref:`forgotten-visibility` * :ref:`non-static-methods-called-in-a-static` * :ref:`old-style-constructor` * :ref:`property-names` * :ref:`static-methods` * :ref:`static-methods-called-from-object` * :ref:`static-properties` * :ref:`constants-with-strange-names` * :ref:`constants-usage` * :ref:`constants-names` * :ref:`true-false-inconsistant-case` * :ref:`magic-constant-usage` * :ref:`php-constant-usage` * :ref:`caught-exceptions` * :ref:`defined-exceptions` * :ref:`thrown-exceptions` * :ref:`ext-apc` * :ref:`ext-bcmath` * :ref:`ext-bzip2` * :ref:`ext-calendar` * :ref:`ext-crypto` * :ref:`ext-ctype` * :ref:`ext-curl` * :ref:`ext-date` * :ref:`ext-dba` * :ref:`ext-dom` * :ref:`ext-enchant` * :ref:`ext-exif` * :ref:`ext-fileinfo` * :ref:`ext-filter` * :ref:`ext-ftp` * :ref:`ext-gd` * :ref:`ext-gmp` * :ref:`ext-gnupgp` * :ref:`ext-hash` * :ref:`ext-iconv` * :ref:`ext-json` * :ref:`ext-ldap` * :ref:`ext-libxml` * :ref:`ext-mbstring` * :ref:`ext-mcrypt` * :ref:`ext-mongo` * :ref:`ext-mssql` * :ref:`ext-mysql` * :ref:`ext-mysqli` * :ref:`ext-odbc` * :ref:`ext-openssl` * :ref:`ext-pcre` * :ref:`ext-pdo` * :ref:`ext-pgsql` * :ref:`ext-phar` * :ref:`ext-posix` * :ref:`ext-readline` * :ref:`ext-reflection` * :ref:`ext-sem` * :ref:`ext-session` * :ref:`ext-shmop` * :ref:`ext-simplexml` * :ref:`ext-snmp` * :ref:`ext-soap` * :ref:`ext-sockets` * :ref:`ext-spl` * :ref:`ext-sqlite` * :ref:`ext-sqlite3` * :ref:`ext-ssh2` * :ref:`ext-standard` * :ref:`ext-tidy` * :ref:`ext-tokenizer` * :ref:`ext-wddx` * :ref:`ext-xdebug` * :ref:`ext-xmlreader` * :ref:`ext-xmlrpc` * :ref:`ext-xmlwriter` * :ref:`ext-xsl` * :ref:`ext-yaml` * :ref:`ext-zip` * :ref:`ext-zlib` * :ref:`closures-glossary` * :ref:`empty-function` * :ref:`function-called-with-other-case-than-defined` * :ref:`functions-glossary` * :ref:`recursive-functions` * :ref:`redeclared-php-functions` * :ref:`typehints` * :ref:`unset-arguments` * :ref:`methods-without-return` * :ref:`empty-interfaces` * :ref:`interfaces-usage` * :ref:`interfaces-names` * :ref:`php-interfaces` * :ref:`aliases` * :ref:`namespaces-glossary` * :ref:`autoloading` * :ref:`use-lower-case-for-parent,-static-and-self` * :ref:`goto-names` * :ref:`\_\_halt\_compiler` * :ref:`incompilable-files` * :ref:`labels` * :ref:`functions-removed-in-php-5.4` * :ref:`functions-removed-in-php-5.5` * :ref:`throw` * :ref:`trigger-errors` * :ref:`caught-expressions` * :ref:`break-with-0` * :ref:`break-with-non-integer` * :ref:`calltime-pass-by-reference` * :ref:`error\_reporting()-with-integers` * :ref:`eval()-usage` * :ref:`exit()-usage` * :ref:`for-using-functioncall` * :ref:`forgotten-whitespace` * :ref:`iffectations` * :ref:`multiply-by-one` * :ref:`@-operator` * :ref:`not-not` * :ref:`include\_once()-usage` * :ref:`phpinfo` * :ref:`no-plus-one` * :ref:`using-short-tags` * :ref:`strpos()-like-comparison` * :ref:`throws-an-assignement` * :ref:`var\_dump()...-usage` * :ref:`\_\_tostring()-throws-exception` * :ref:`binary-glossary` * :ref:`continents` * :ref:`email-addresses` * :ref:`heredoc-delimiter-glossary` * :ref:`hexadecimal-glossary` * :ref:`http-headers` * :ref:`http-status-code` * :ref:`malformed-octal` * :ref:`md5-strings` * :ref:`mime-types` * :ref:`nowdoc-delimiter-glossary` * :ref:`octal-glossary` * :ref:`perl-regex` * :ref:`internet-ports` * :ref:`special-integers` * :ref:`all-strings` * :ref:`unicode-blocks` * :ref:`url-list` * :ref:`blind-variables` * :ref:`interface-arguments` * :ref:`variable-references` * :ref:`static-variables` * :ref:`variables-with-long-names` * :ref:`non-ascii-variables` * :ref:`variables-with-one-letter-names` * :ref:`php-variables` * :ref:`all-uppercase-variables` * :ref:`used-once-variables` * :ref:`variable-variables` * :ref:`abstract-class-usage` * :ref:`abstract-methods-usage` * :ref:`clone-usage` * :ref:`final-class-usage` * :ref:`final-methods-usage` * :ref:`bad-constants-names` * :ref:`variable-constants` * :ref:`empty-traits` * :ref:`redefined-php-traits` * :ref:`traits-usage` * :ref:`trait-names` * :ref:`php-alternative-syntax` * :ref:`short-syntax-for-arrays` * :ref:`inclusions` * :ref:`ext-file` * :ref:`unused-use` * :ref:`use-with-fully-qualified-name` * :ref:`used-use` * :ref:`ext-array` * :ref:`ext-info` * :ref:`ext-math` * :ref:`$http\_raw\_post\_data-usage` * :ref:`non-lowercase-keywords` * :ref:`new-functions-in-php-5.4` * :ref:`new-functions-in-php-5.5` * :ref:`useless-instructions` * :ref:`abstract-static-methods` * :ref:`interface-methods` * :ref:`new-functions-in-php-5.6` * :ref:`trait-methods` * :ref:`invalid-constant-name` * :ref:`multiple-constant-definition` * :ref:`wrong-optional-parameter` * :ref:`multiple-definition-of-the-same-argument` * :ref:`echo-or-print` * :ref:`use-===-null` * :ref:`constant-comparison` * :ref:`fopen-binary-mode` * :ref:`assertions` * :ref:`$this-is-not-an-array` * :ref:`one-variable-string` * :ref:`cast-usage` * :ref:`function-subscripting` * :ref:`nested-loops` * :ref:`closing-tags` * :ref:`php-echo-tag-usage` * :ref:`static-methods-can't-contain-$this` * :ref:`closure-may-use-$this` * :ref:`while(list()-=-each())` * :ref:`several-instructions-on-the-same-line` * :ref:`one-letter-functions` * :ref:`multiples-identical-case` * :ref:`switch-without-default` * :ref:`function-subscripting,-old-style` * :ref:`internally-used-properties` * :ref:`$this-belongs-to-classes-or-traits` * :ref:`nested-ternary` * :ref:`switch-with-too-many-default` * :ref:`non-constant-index-in-array` * :ref:`undefined-constants` * :ref:`custom-constant-usage` * :ref:`instantiating-abstract-class` * :ref:`classes-mutually-extending-each-other` * :ref:`class,-interface,-enum-or-trait-with-identical-names` * :ref:`empty-try-catch` * :ref:`ext-pcntl` * :ref:`undefined-classes` * :ref:`is-an-extension-class` * :ref:`wrong-class-name-case` * :ref:`ext-redis` * :ref:`is-an-extension-function` * :ref:`is-an-extension-interface` * :ref:`is-an-extension-constant` * :ref:`htmlentities-calls` * :ref:`bracketless-blocks` * :ref:`defined-class-constants` * :ref:`undefined-class-constants` * :ref:`unused-private-properties` * :ref:`used-static-properties` * :ref:`used-private-methods` * :ref:`unused-private-methods` * :ref:`unused-functions` * :ref:`used-functions` * :ref:`used-once-variables-(in-scope)` * :ref:`undefined-functions` * :ref:`deprecated-php-functions` * :ref:`crypt()-without-salt` * :ref:`mcrypt\_create\_iv()-with-default-values` * :ref:`dangling-array-references` * :ref:`ext-sqlsrv` * :ref:`queries-in-loops` * :ref:`var-keyword` * :ref:`native-alias-functions-usage` * :ref:`uses-default-values` * :ref:`wrong-number-of-arguments` * :ref:`hardcoded-passwords` * :ref:`functions-in-loop-calls` * :ref:`unresolved-classes` * :ref:`ellipsis-usage` * :ref:`exponent-usage` * :ref:`**-for-exponent` * :ref:`constructors` * :ref:`useless-constructor` * :ref:`too-many-children` * :ref:`implements-is-for-interface` * :ref:`use-const` * :ref:`unresolved-use` * :ref:`conditional-structures` * :ref:`unused-constants` * :ref:`undefined-parent` * :ref:`defined-static-or-self` * :ref:`undefined-static-or-self` * :ref:`accessing-private` * :ref:`access-protected-structures` * :ref:`parent,-static-or-self-outside-class` * :ref:`ext-0mq` * :ref:`ext-memcache` * :ref:`ext-memcached` * :ref:`is-extension-trait` * :ref:`dynamic-function-call` * :ref:`has-variable-arguments` * :ref:`multiple-catch` * :ref:`dynamically-called-classes` * :ref:`conditioned-function` * :ref:`conditioned-constants` * :ref:`method-is-a-generator` * :ref:`try-with-finally` * :ref:`use-password\_hash()` * :ref:`dereferencing-string-and-arrays` * :ref:`class` * :ref:`foreach-with-list()` * :ref:`empty-with-expression` * :ref:`list()-may-omit-variables` * :ref:`or-die` * :ref:`constant-conditions` * :ref:`use-const-and-functions` * :ref:`constant-scalar-expressions` * :ref:`unusual-case-for-php-functions` * :ref:`multiple-returns` * :ref:`unreachable-code` * :ref:`exit-like-methods` * :ref:`written-only-variables` * :ref:`must-return-methods` * :ref:`\_\_debuginfo()-usage` * :ref:`empty-instructions` * :ref:`interpolation` * :ref:`mixed-keys-in-array` * :ref:`empty-slots-in-arrays` * :ref:`wrong-number-of-arguments-in-methods` * :ref:`class-has-fluent-interface` * :ref:`method-has-fluent-interface` * :ref:`method-is-not-for-fluent-interface` * :ref:`php-handlers-usage` * :ref:`ext-imagick` * :ref:`unused-methods` * :ref:`property-variable-confusion` * :ref:`ext-oci8` * :ref:`used-methods` * :ref:`overwritten-exceptions` * :ref:`foreach-needs-reference-array` * :ref:`foreach-reference-is-not-modified` * :ref:`ext-imap` * :ref:`overwritten-class-constants` * :ref:`direct-injection` * :ref:`dynamic-class-constant` * :ref:`dynamic-methodcall` * :ref:`dynamic-new` * :ref:`dynamic-property` * :ref:`don't-change-incomings` * :ref:`super-globals-contagion` * :ref:`dynamic-classes` * :ref:`return-void-` * :ref:`compared-comparison` * :ref:`useless-return` * :ref:`multiple-classes-in-one-file` * :ref:`file-uploads` * :ref:`return-with-parenthesis` * :ref:`unused-classes` * :ref:`used-classes` * :ref:`ext-intl` * :ref:`dynamic-code` * :ref:`unpreprocessed-values` * :ref:`ext-pspell` * :ref:`no-direct-access` * :ref:`ext-opcache` * :ref:`is-php-constant` * :ref:`sensitive-argument` * :ref:`functioncall-is-global` * :ref:`ext-expect` * :ref:`defined-properties` * :ref:`undefined-properties` * :ref:`has-magic-method` * :ref:`ext-gettext` * :ref:`short-open-tags` * :ref:`strict-comparison-with-booleans` * :ref:`lone-blocks` * :ref:`$this-is-not-for-static-methods` * :ref:`avoid-sleep()-usleep()` * :ref:`argument-should-be-typehinted` * :ref:`should-be-single-quote` * :ref:`super-global-usage` * :ref:`global-usage` * :ref:`php-keywords-as-names` * :ref:`logical-should-use-symbolic-operators` * :ref:`could-use-self` * :ref:`implicit-global` * :ref:`const-with-array` * :ref:`catch-overwrite-variable` * :ref:`namespaces` * :ref:`avoid-array\_unique()` * :ref:`definitions-only` * :ref:`deep-definitions` * :ref:`constant-class` * :ref:`file-is-not-definitions-only` * :ref:`global-code-only` * :ref:`preprocess-arrays` * :ref:`repeated-print()` * :ref:`avoid-parenthesis-with-language-construct` * :ref:`objects-don't-need-references` * :ref:`redefined-property` * :ref:`locally-unused-property` * :ref:`locally-used-property` * :ref:`lost-references` * :ref:`constants-created-outside-its-namespace` * :ref:`fully-qualified-constants` * :ref:`never-used-properties` * :ref:`yoda-comparison` * :ref:`no-real-comparison` * :ref:`sequences-in-for` * :ref:`should-use-local-class` * :ref:`use-this` * :ref:`usage-of-class\_alias()` * :ref:`custom-class-usage` * :ref:`ext-apache` * :ref:`ext-eaccelerator` * :ref:`ext-fpm` * :ref:`parse\_str()-warning` * :ref:`no-direct-call-to-magic-method` * :ref:`string-may-hold-a-variable` * :ref:`echo-with-concat` * :ref:`unused-global` * :ref:`useless-global` * :ref:`preprocessable` * :ref:`slow-functions` * :ref:`useless-final` * :ref:`use-constant-instead-of-function` * :ref:`resources-usage` * :ref:`useless-unset` * :ref:`buried-assignation` * :ref:`duplicate-calls` * :ref:`no-array\_merge()-in-loops` * :ref:`useless-parenthesis` * :ref:`shell-usage` * :ref:`file-usage` * :ref:`mail-usage` * :ref:`dynamic-calls` * :ref:`unresolved-instanceof` * :ref:`use-php-object-api` * :ref:`unthrown-exception` * :ref:`old-style-\_\_autoload()` * :ref:`altering-foreach-without-reference` * :ref:`test-class` * :ref:`magic-visibility` * :ref:`use-pathinfo` * :ref:`should-use-existing-constants` * :ref:`hash-algorithms` * :ref:`avoid-those-hash-functions` * :ref:`ext-dio` * :ref:`no-parenthesis-for-language-construct` * :ref:`unused-label` * :ref:`no-hardcoded-path` * :ref:`methodcall-on-new` * :ref:`no-hardcoded-port` * :ref:`ext-phalcon` * :ref:`use-constant-as-arguments` * :ref:`implied-if` * :ref:`overwritten-literals` * :ref:`assign-default-to-properties` * :ref:`no-public-access` * :ref:`composer-usage` * :ref:`composer's-autoload` * :ref:`should-chain-exception` * :ref:`used-interfaces` * :ref:`unused-interfaces` * :ref:`useless-interfaces` * :ref:`undefined-interfaces` * :ref:`ext-apcu` * :ref:`double-instructions` * :ref:`should-use-prepared-statement` * :ref:`is-interface-method` * :ref:`hash-algorithms-incompatible-with-php-5.3` * :ref:`hash-algorithms-incompatible-with-php-5.4-5.5` * :ref:`print-and-die` * :ref:`unchecked-resources` * :ref:`class-const-with-array` * :ref:`ext-trader` * :ref:`ext-mailparse` * :ref:`ext-mail` * :ref:`unresolved-catch` * :ref:`no-hardcoded-ip` * :ref:`variable-global` * :ref:`else-if-versus-elseif` * :ref:`reserved-keywords-in-php-7` * :ref:`unset-in-foreach` * :ref:`could-be-class-constant` * :ref:`could-be-a-static-variable` * :ref:`multiple-class-declarations` * :ref:`compare-hash` * :ref:`empty-namespace` * :ref:`could-use-short-assignation` * :ref:`useless-abstract-class` * :ref:`only-static-methods-class` * :ref:`null-on-new` * :ref:`scalar-typehint-usage` * :ref:`return-typehint-usage` * :ref:`ext-ob` * :ref:`global-import` * :ref:`static-loop` * :ref:`pre-increment` * :ref:`only-variable-returned-by-reference` * :ref:`ext-geoip` * :ref:`ext-event` * :ref:`ext-amqp` * :ref:`ext-gearman` * :ref:`ext-com` * :ref:`ext-gmagick` * :ref:`ext-ibase` * :ref:`ext-inotify` * :ref:`ext-xdiff` * :ref:`ext-ev` * :ref:`ext-php-ast` * :ref:`ext-xml` * :ref:`ext-xhprof` * :ref:`indices-are-int-or-string` * :ref:`should-typecast` * :ref:`no-self-referencing-constant` * :ref:`no-direct-usage` * :ref:`break-outside-loop` * :ref:`inconsistent-concatenation` * :ref:`else-usage` * :ref:`one-object-operator-per-line` * :ref:`isset()-with-constant` * :ref:`avoid-substr()-one` * :ref:`global-inside-loop` * :ref:`anonymous-classes` * :ref:`is-global-constant` * :ref:`coalesce` * :ref:`double-assignation` * :ref:`unicode-escape-syntax` * :ref:`new-functions-in-php-7.0` * :ref:`php-7.0-removed-functions` * :ref:`php-7.0-new-classes` * :ref:`php-7.0-new-interfaces` * :ref:`empty-list` * :ref:`list-with-array-appends` * :ref:`simple-global-variable` * :ref:`parenthesis-as-parameter` * :ref:`foreach-don't-change-pointer` * :ref:`php5-indirect-variable-expression` * :ref:`php-7-indirect-expression` * :ref:`unicode-escape-partial` * :ref:`define-constants-with-array` * :ref:`php-7.0-removed-directives` * :ref:`directives-usage` * :ref:`useless-brackets` * :ref:`preg\_replace-with-option-e` * :ref:`eval()-without-try` * :ref:`is-not-class-family` * :ref:`no-list-with-string` * :ref:`setlocale()-uses-constants` * :ref:`global-in-global` * :ref:`usort-sorting-in-php-7.0` * :ref:`hexadecimal-in-string` * :ref:`ext-fann` * :ref:`relay-function` * :ref:`func\_get\_arg()-modified` * :ref:`use-web` * :ref:`use-cli` * :ref:`php-sapi` * :ref:`register-globals` * :ref:`external-config-files` * :ref:`avoid-get\_class()` * :ref:`silently-cast-integer` * :ref:`used-trait` * :ref:`unused-traits` * :ref:`php7-dirname` * :ref:`error-messages` * :ref:`timestamp-difference` * :ref:`php7-relaxed-keyword` * :ref:`not-same-name-as-file` * :ref:`ext-pecl\_http` * :ref:`joining-file()` * :ref:`real-variables` * :ref:`real-functions` * :ref:`normal-methods` * :ref:`unused-parameter` * :ref:`uses-environment` * :ref:`switch-to-switch` * :ref:`wrong-parameter-type` * :ref:`property-could-be-private` * :ref:`redefined-methods` * :ref:`redefined-class-constants` * :ref:`file-is-component` * :ref:`redefined-default` * :ref:`wrong-fopen()-mode` * :ref:`unknown-directive-name` * :ref:`confusing-names` * :ref:`is-cli-script` * :ref:`php-bugfixes` * :ref:`preg\_match\_all()-flag` * :ref:`safe-curl-options` * :ref:`negative-power` * :ref:`already-parents-interface` * :ref:`use-random\_int()` * :ref:`cant-use-return-value-in-write-context` * :ref:`set\_exception\_handler()-warning` * :ref:`can't-extend-final` * :ref:`ternary-in-concat` * :ref:`using-$this-outside-a-class` * :ref:`simplify-regex` * :ref:`ext-tokyotyrant` * :ref:`ext-v8js` * :ref:`yield-usage` * :ref:`yield-from-usage` * :ref:`pear-usage` * :ref:`undefined-trait` * :ref:`no-hardcoded-hash` * :ref:`identical-conditions` * :ref:`unkown-regex-options` * :ref:`random-without-try` * :ref:`no-choice` * :ref:`common-alternatives` * :ref:`logical-mistakes` * :ref:`exception-order` * :ref:`ext-lua` * :ref:`uncaught-exceptions` * :ref:`undefined-caught-exceptions` * :ref:`same-conditions-in-condition` * :ref:`php-7.1-new-class` * :ref:`return-true-false` * :ref:`gprc-aliases` * :ref:`indirect-injection` * :ref:`useless-switch` * :ref:`overwriting-variable` * :ref:`could-use-\_\_dir\_\_` * :ref:`should-use-coalesce` * :ref:`make-global-a-property` * :ref:`list-with-keys` * :ref:`if-with-same-conditions` * :ref:`ext-suhosin` * :ref:`unserialize-second-arg` * :ref:`throw-functioncall` * :ref:`can't-disable-function` * :ref:`functions-using-reference` * :ref:`use-instanceof` * :ref:`make-one-call-with-array` * :ref:`property-used-above` * :ref:`property-used-below` * :ref:`list-short-syntax` * :ref:`results-may-be-missing` * :ref:`use-nullable-type` * :ref:`defined-parent-mp` * :ref:`globals` * :ref:`always-positive-comparison` * :ref:`php-7.1-removed-directives` * :ref:`new-functions-in-php-7.1` * :ref:`multiple-exceptions-catch()` * :ref:`is-upper-family` * :ref:`empty-blocks` * :ref:`throw-in-destruct` * :ref:`used-protected-method` * :ref:`unused-protected-methods` * :ref:`use-system-tmp` * :ref:`linux-only-files` * :ref:`no-count-with-0` * :ref:`dependant-trait` * :ref:`hidden-use-expression` * :ref:`could-use-alias` * :ref:`should-make-alias` * :ref:`multiple-identical-trait-or-interface` * :ref:`multiple-alias-definitions` * :ref:`nested-ifthen` * :ref:`cast-to-boolean` * :ref:`failed-substr()-comparison` * :ref:`should-use-ternary-operator` * :ref:`unused-returned-value` * :ref:`modernize-empty-with-expression` * :ref:`use-positive-condition` * :ref:`drop-else-after-return` * :ref:`use-class-operator` * :ref:`ext-rar` * :ref:`don't-echo-error` * :ref:`useless-type-casting` * :ref:`no-isset()-with-empty()` * :ref:`time()-vs-strtotime()` * :ref:`useless-check` * :ref:`unitialized-properties` * :ref:`more-than-one-level-of-indentation` * :ref:`one-dot-or-object-operator-per-line` * :ref:`bail-out-early` * :ref:`die-exit-consistence` * :ref:`array()---[--]-consistence` * :ref:`php-7.1-microseconds` * :ref:`don't-change-the-blind-var` * :ref:`getting-last-element` * :ref:`rethrown-exceptions` * :ref:`avoid-using-stdclass` * :ref:`invalid-octal-in-string` * :ref:`avoid-array\_push()` * :ref:`ext-nsapi` * :ref:`ext-newt` * :ref:`ext-ncurses` * :ref:`use-composer-lock` * :ref:`too-many-local-variables` * :ref:`$globals-or-global` * :ref:`illegal-name-for-method` * :ref:`unset()-or-(unset)` * :ref:`close-tags-consistency` * :ref:`string` * :ref:`class-should-be-final-by-ocramius` * :ref:`ext-mongodb` * :ref:`should-use-function` * :ref:`one-expression-brackets-consistency` * :ref:`fetch-one-row-format` * :ref:`no-string-with-append` * :ref:`avoid-glob()-usage` * :ref:`avoid-large-array-assignation` * :ref:`could-be-protected-property` * :ref:`long-arguments` * :ref:`new-on-functioncall-or-identifier` * :ref:`assigned-twice` * :ref:`new-line-style` * :ref:`php-7.2-deprecations` * :ref:`php-7.2-removed-functions` * :ref:`error\_log()-usage` * :ref:`raised-access-level` * :ref:`no-boolean-as-default` * :ref:`sql-queries` * :ref:`strange-names-in-classes` * :ref:`ext-libsodium` * :ref:`class-function-confusion` * :ref:`forgotten-thrown` * :ref:`should-use-array\_column()` * :ref:`multiple-alias-definitions-per-file` * :ref:`\_\_dir\_\_-then-slash` * :ref:`self,-parent,-static-outside-class` * :ref:`used-once-property` * :ref:`property-used-in-one-method-only` * :ref:`ext-ds` * :ref:`no-need-for-else` * :ref:`should-use-session\_regenerateid()` * :ref:`strange-name-for-variables` * :ref:`strange-name-for-constants` * :ref:`regex-delimiter` * :ref:`could-be-typehinted-callable` * :ref:`encoded-simple-letters` * :ref:`too-many-finds` * :ref:`use-cookies` * :ref:`should-use-setcookie()` * :ref:`set-cookie-safe-arguments` * :ref:`check-all-types` * :ref:`missing-cases-in-switch` * :ref:`new-functions-in-php-7.2` * :ref:`new-constants-in-php-7.2` * :ref:`group-use-declaration` * :ref:`method-is-overwritten` * :ref:`displays-text` * :ref:`repeated-regex` * :ref:`no-class-in-global` * :ref:`crc32()-might-be-negative` * :ref:`could-use-str\_repeat()` * :ref:`suspicious-comparison` * :ref:`empty-final-element-in-array` * :ref:`strings-with-strange-space` * :ref:`difference-consistence` * :ref:`no-empty-regex` * :ref:`alternative-syntax-consistence` * :ref:`randomly-sorted-arrays` * :ref:`ext-sphinx` * :ref:`try-with-multiple-catch` * :ref:`ext-grpc` * :ref:`only-variable-passed-by-reference` * :ref:`no-return-used` * :ref:`use-browscap` * :ref:`use-debug` * :ref:`no-class-as-typehint` * :ref:`no-reference-on-left-side` * :ref:`implemented-methods-must-be-public` * :ref:`could-typehint` * :ref:`psr-16-usage` * :ref:`psr-7-usage` * :ref:`psr-6-usage` * :ref:`psr-3-usage` * :ref:`psr-11-usage` * :ref:`psr-13-usage` * :ref:`mixed-concat-and-interpolation` * :ref:`ext-stats` * :ref:`di-cyclic-dependencies` * :ref:`concatenation-interpolation-consistence` * :ref:`new-functions-in-php-7.3` * :ref:`too-many-injections` * :ref:`dependency-injection` * :ref:`courier-anti-pattern` * :ref:`ext-gender` * :ref:`ext-judy` * :ref:`could-make-a-function` * :ref:`forgotten-interface` * :ref:`order-of-declaration` * :ref:`yii-usage` * :ref:`codeigniter-usage` * :ref:`laravel-usage` * :ref:`symfony-usage` * :ref:`wordpress-usage` * :ref:`ez-cms-usage` * :ref:`use-session\_start()-options` * :ref:`cant-inherit-abstract-method` * :ref:`joomla-usage` * :ref:`non-breakable-space-in-names` * :ref:`multiple-functions-declarations` * :ref:`avoid-optional-properties` * :ref:`heredoc-delimiter` * :ref:`swoole` * :ref:`manipulates-nan` * :ref:`manipulates-inf` * :ref:`no-return-or-throw-in-finally` * :ref:`const-or-define` * :ref:`mkdir-default` * :ref:`strict\_types-preference` * :ref:`declare-strict\_types-usage` * :ref:`encoding-usage` * :ref:`ticks-usage` * :ref:`mismatched-ternary-alternatives` * :ref:`mismatched-default-arguments` * :ref:`mismatched-typehint` * :ref:`scalar-or-object-property` * :ref:`group-use-trailing-comma` * :ref:`assign-and-lettered-logical-operator-precedence` * :ref:`logical-operators-favorite` * :ref:`isset-multiple-arguments` * :ref:`no-magic-method-with-array` * :ref:`php-7.2-object-keyword` * :ref:`child-class-removes-typehint` * :ref:`ext-xattr` * :ref:`avoid-concat-in-loop` * :ref:`optional-parameter` * :ref:`no-substr-minus-one` * :ref:`logical-to-in\_array` * :ref:`should-use-foreach` * :ref:`ext-rdkafka` * :ref:`ext-fam` * :ref:`shell-favorite` * :ref:`constant-used-below` * :ref:`could-be-private-class-constant` * :ref:`could-be-protected-class-constant` * :ref:`method-used-below` * :ref:`method-could-be-private-method` * :ref:`could-be-protected-method` * :ref:`pathinfo()-returns-may-vary` * :ref:`use-pathinfo()-arguments` * :ref:`ext-parle` * :ref:`regex-inventory` * :ref:`switch-fallthrough` * :ref:`upload-filename-injection` * :ref:`always-anchor-regex` * :ref:`multiple-type-variable` * :ref:`is-actually-zero` * :ref:`unconditional-break-in-loop` * :ref:`session-lazy-write` * :ref:`session-variables` * :ref:`incoming-variables` * :ref:`cookies-variables` * :ref:`too-complex-expression` * :ref:`date-formats` * :ref:`is-a-magic-property` * :ref:`could-be-else` * :ref:`simple-switch-and-match` * :ref:`next-month-trap` * :ref:`printf-number-of-arguments` * :ref:`substring-first` * :ref:`drupal-usage` * :ref:`ambiguous-static` * :ref:`phalcon-usage` * :ref:`fuel-php-usage` * :ref:`use-list-with-foreach` * :ref:`don't-send-$this-in-constructor` * :ref:`argon2-usage` * :ref:`crypto-usage` * :ref:`integer-as-property` * :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:`maybe-missing-new` * :ref:`unknown-pcre2-option` * :ref:`use-php7-encapsed-strings` * :ref:`type-array-index` * :ref:`incoming-variable-index-inventory` * :ref:`slice-arrays-first` * :ref:`ext-vips` * :ref:`dl()-usage` * :ref:`parent-first` * :ref:`environment-variables` * :ref:`invalid-regex` * :ref:`assigned-in-one-branch` * :ref:`use-named-boolean-in-argument-definition` * :ref:`same-variable-foreach` * :ref:`never-called-parameter` * :ref:`ext-igbinary` * :ref:`should-use-array\_filter()` * :ref:`not-a-scalar-type` * :ref:`mistaken-concatenation` * :ref:`identical-on-both-sides` * :ref:`identical-consecutive-expression` * :ref:`no-reference-for-ternary` * :ref:`sqlite3-requires-single-quotes` * :ref:`no-net-for-xml-load` * :ref:`unused-inherited-variable-in-closure` * :ref:`inclusion-wrong-case` * :ref:`missing-include` * :ref:`local-globals` * :ref:`useless-referenced-argument` * :ref:`fallback-function` * :ref:`reuse-existing-variable` * :ref:`double-array\_flip()` * :ref:`useless-catch` * :ref:`find-key-directly` * :ref:`possible-infinite-loop` * :ref:`should-use-math` * :ref:`ext-hrtime` * :ref:`list-with-reference` * :ref:`test-then-cast` * :ref:`could-use-compact` * :ref:`foreach-on-object` * :ref:`ext-xxtea` * :ref:`ext-uopz` * :ref:`ext-varnish` * :ref:`ext-opencensus` * :ref:`dynamic-library-loading` * :ref:`php-7.3-last-empty-argument` * :ref:`could-use-array\_fill\_keys` * :ref:`ext-leveldb` * :ref:`use-recursive-count()` * :ref:`property-could-be-local` * :ref:`ext-db2` * :ref:`mass-creation-of-arrays` * :ref:`too-many-native-calls` * :ref:`too-many-parameters` * :ref:`should-preprocess-chr()` * :ref:`properties-declaration-consistence` * :ref:`possible-increment` * :ref:`drop-substr-last-arg` * :ref:`redefined-private-property` * :ref:`don't-unset-properties` * :ref:`strtr-arguments` * :ref:`processing-collector` * :ref:`missing-parenthesis` * :ref:`one-if-is-sufficient` * :ref:`could-use-array\_unique` * :ref:`callback-function-needs-return` * :ref:`wrong-range-check` * :ref:`ext-zookeeper` * :ref:`ext-cmark` * :ref:`failing-analysis` * :ref:`can't-instantiate-class` * :ref:`strpos()-too-much` * :ref:`class-typed-references` * :ref:`do-in-base` * :ref:`weak-typing` * :ref:`cache-variable-outside-loop` * :ref:`use-the-blind-var` * :ref:`configure-extract` * :ref:`nonexistent-variable-in-compact()` * :ref:`method-signature-must-be-compatible` * :ref:`mismatch-type-and-default` * :ref:`flexible-heredoc` * :ref:`check-json` * :ref:`const-visibility-usage` * :ref:`should-use-operator` * :ref:`single-use-variables` * :ref:`strict-or-relaxed-comparison` * :ref:`comparisons-orientation` * :ref:`compared-but-not-assigned-strings` * :ref:`could-be-static-closure` * :ref:`move\_uploaded\_file-instead-of-copy` * :ref:`don't-mix-++` * :ref:`can't-throw-throwable` * :ref:`abstract-or-implements` * :ref:`ext-eio` * :ref:`incompatible-signature-methods` * :ref:`ambiguous-visibilities` * :ref:`hash-algorithms-incompatible-with-php-7.1-` * :ref:`undefined-class` * :ref:`php-7.0-scalar-typehints` * :ref:`php-7.1-scalar-typehints` * :ref:`php-7.2-scalar-typehints` * :ref:`locally-used-property-in-trait` * :ref:`ext-lzf` * :ref:`ext-msgpack` * :ref:`case-insensitive-constants` * :ref:`handle-arrays-with-callback` * :ref:`use-is\_countable` * :ref:`detect-current-class` * :ref:`avoid-real` * :ref:`const-or-define-preference` * :ref:`constant-case-preference` * :ref:`assert-function-is-reserved` * :ref:`could-be-abstract-class` * :ref:`continue-is-for-loop` * :ref:`php-7.3-removed-functions` * :ref:`trailing-comma-in-calls` * :ref:`must-call-parent-constructor` * :ref:`undefined-variable` * :ref:`undefined-insteadof` * :ref:`method-collision-traits` * :ref:`use-json\_decode()-options` * :ref:`class-could-be-final` * :ref:`closure-could-be-a-callback` * :ref:`inconsistent-elseif` * :ref:`can't-disable-class` * :ref:`ext-seaslog` * :ref:`add-default-value` * :ref:`only-variable-for-reference` * :ref:`direct-call-to-\_\_clone()` * :ref:`filter\_input()-as-a-source` * :ref:`wrong-access-style-to-property` * :ref:`named-regex` * :ref:`invalid-pack-format` * :ref:`no-return-for-generator` * :ref:`repeated-interface` * :ref:`no-reference-for-static-property` * :ref:`don't-read-and-write-in-one-expression` * :ref:`pack-format-inventory` * :ref:`printf-format-inventory` * :ref:`idn\_to\_ascii()-new-default` * :ref:`could-use-try` * :ref:`use-basename-suffix` * :ref:`php-exception` * :ref:`ext-decimal` * :ref:`ext-psr` * :ref:`should-yield-with-key` * :ref:`don't-loop-on-yield` * :ref:`declare-global-early` * :ref:`unreachable-class-constant` * :ref:`avoid-self-in-interface` * :ref:`should-have-destructor` * :ref:`safe-http-headers` * :ref:`fputcsv()-in-loops` * :ref:`directly-use-file` * :ref:`useless-method-alias` * :ref:`ext-sdl` * :ref:`isset()-on-the-whole-array` * :ref:`ext-wasm` * :ref:`self-using-trait` * :ref:`multiple-usage-of-same-trait` * :ref:`method-could-be-static` * :ref:`multiple-identical-closure` * :ref:`path-lists` * :ref:`possible-missing-subpattern` * :ref:`array\_key\_exists()-speedup` * :ref:`assign-and-compare` * :ref:`typed-property-usage` * :ref:`don't-be-too-manual` * :ref:`variable-is-not-a-condition` * :ref:`array-with-string-initialization` * :ref:`ext-weakref` * :ref:`ext-pcov` * :ref:`insufficient-typehint` * :ref:`bad-type-relay` * :ref:`constant-dynamic-creation` * :ref:`php-8.0-removed-functions` * :ref:`php-8.0-removed-constants` * :ref:`law-of-demeter` * :ref:`an-oop-factory` * :ref:`type-must-be-returned` * :ref:`inconsistent-variable-usage` * :ref:`should-deep-clone` * :ref:`clone-with-non-object` * :ref:`self-transforming-variables` * :ref:`check-on-\_\_call-usage` * :ref:`php-overridden-function` * :ref:`caught-variable` * :ref:`multiple-unset()` * :ref:`implode-one-arg` * :ref:`insecure-integer-validation` * :ref:`incoming-values` * :ref:`ext-svm` * :ref:`useless-default-argument` * :ref:`avoid-option-arrays-in-constructors` * :ref:`ext-ffi` * :ref:`ext-password` * :ref:`ext-zend\_monitor` * :ref:`ext-uuid` * :ref:`already-parents-trait` * :ref:`trait-not-found` * :ref:`casting-ternary` * :ref:`concat-empty-string` * :ref:`concat-and-addition` * :ref:`useless-argument` * :ref:`new-functions-in-php-7.4` * :ref:`unpacking-inside-arrays` * :ref:`minus-one-on-error` * :ref:`no-need-for-get\_class()` * :ref:`identical-methods` * :ref:`no-append-on-source` * :ref:`autoappend` * :ref:`memoize-magiccall` * :ref:`make-magic-concrete` * :ref:`substr-to-trim` * :ref:`regex-on-arrays` * :ref:`always-use-function-with-array\_key\_exists()` * :ref:`complex-dynamic-names` * :ref:`curl\_version()-has-no-argument` * :ref:`php-7.4-new-classes` * :ref:`new-constants-in-php-7.4` * :ref:`unused-class-constant` * :ref:`could-be-constant` * :ref:`could-use-trait` * :ref:`infinite-recursion` * :ref:`null-or-boolean-arrays` * :ref:`dependant-abstract-classes` * :ref:`wrong-type-returned` * :ref:`generator-cannot-return` * :ref:`methods-that-should-not-be-used` * :ref:`use-datetimeimmutable-class` * :ref:`set-aside-code` * :ref:`use-array-functions` * :ref:`useless-type-check` * :ref:`disconnected-classes` * :ref:`not-or-tilde` * :ref:`overwritten-source-and-value` * :ref:`avoid-mb\_dectect\_encoding()` * :ref:`php-7.4-removed-functions` * :ref:`mb\_strrpos()-third-argument` * :ref:`array\_key\_exists()-works-on-arrays` * :ref:`reflection-export()-is-deprecated` * :ref:`unbinding-closures` * :ref:`numeric-literal-separator` * :ref:`class-without-parent` * :ref:`serialize-magic-method` * :ref:`scalar-are-not-arrays` * :ref:`similar-integers` * :ref:`php-native-reference-variable` * :ref:`create-compact-variables` * :ref:`propagate-constants` * :ref:`php-7.4-reserved-keyword` * :ref:`no-ent\_ignore` * :ref:`no-more-curly-arrays` * :ref:`overwritten-properties` * :ref:`overwritten-methods` * :ref:`overwritten-constant` * :ref:`set-clone-link` * :ref:`create-magic-property` * :ref:`set-parent-definition` * :ref:`make-class-method-definition` * :ref:`create-default-values` * :ref:`array\_merge()-and-variadic` * :ref:`set-class\_alias()-definition` * :ref:`makes-class-constant-definition` * :ref:`set-class-remote-definition-with-injection` * :ref:`solve-trait-methods` * :ref:`follow-closure-definition` * :ref:`php-7.4-constant-deprecation` * :ref:`implode()-arguments-order` * :ref:`php-7.4-removed-directives` * :ref:`hash-algorithms-incompatible-with-php-7.4-` * :ref:`openssl\_random\_pseudo\_byte()-second-argument` * :ref:`strip\_tags()-skips-closed-tag` * :ref:`no-spread-for-hash` * :ref:`use-covariance` * :ref:`use-contravariance` * :ref:`set-class-remote-definition-with-return-typehint` * :ref:`set-class-remote-definition-with-local-new` * :ref:`set-class-remote-definition-with-typehint` * :ref:`set-class-remote-definition-with-global` * :ref:`set-class-remote-definition-with-parenthesis` * :ref:`set-class-property-definition-with-typehint` * :ref:`set-array-class-definition` * :ref:`set-class-method-remote-definition` * :ref:`use-arrow-functions` * :ref:`max-level-of-nesting` * :ref:`environment-variable-usage` * :ref:`indentation-levels` * :ref:`spread-operator-for-array` * :ref:`nested-ternary-without-parenthesis` * :ref:`cyclomatic-complexity` * :ref:`should-use-explode-args` * :ref:`use-array\_slice()` * :ref:`php-74-new-directives` * :ref:`too-many-array-dimensions` * :ref:`coalesce-and-concat` * :ref:`comparison-is-always-the-same` * :ref:`incompatible-signature-methods-with-covariance` * :ref:`interfaces-is-not-implemented` * :ref:`no-literal-for-reference` * :ref:`magic-properties` * :ref:`interfaces-don't-ensure-properties` * :ref:`collect-literals` * :ref:`duplicate-literal` * :ref:`no-weak-ssl-crypto` * :ref:`internet-domains` * :ref:`no-mb\_substr-in-loop` * :ref:`collect-parameter-counts` * :ref:`collect-local-variable-counts` * :ref:`non-nullable-getters` * :ref:`use-the-case-value` * :ref:`dereferencing-levels` * :ref:`too-many-dereferencing` * :ref:`should-use-url-query-functions` * :ref:`make-functioncall-with-reference` * :ref:`foreach()-favorite` * :ref:`can't-implement-traversable` * :ref:`parameter-hiding` * :ref:`wrong-function-name-case` * :ref:`is\_a()-with-string` * :ref:`mbstring-unknown-encoding` * :ref:`collect-mbstring-encodings` * :ref:`weird-array-index` * :ref:`filter-to-add\_slashes()` * :ref:`mbstring-third-arg` * :ref:`typehinting-stats` * :ref:`typo-3-usage` * :ref:`concrete5-usage` * :ref:`wrong-case-namespaces` * :ref:`create-foreach-default` * :ref:`immutable-signature` * :ref:`merge-if-then` * :ref:`wrong-type-with-call` * :ref:`could-type-with-int` * :ref:`could-type-with-string` * :ref:`could-type-with-array` * :ref:`could-type-with-boolean` * :ref:`shell-commands` * :ref:`could-type-with-iterable` * :ref:`insufficient-property-typehint` * :ref:`inclusions` * :ref:`typehint-order` * :ref:`new-order` * :ref:`wrong-typehinted-name` * :ref:`links-between-parameter-and-argument` * :ref:`exceeding-typehint` * :ref:`nullable-without-check` * :ref:`collect-class-interface-counts` * :ref:`collect-class-depth` * :ref:`collect-class-children-count` * :ref:`semantic-typing` * :ref:`missing-typehint` * :ref:`fossilized-method` * :ref:`not-equal-is-not-!==` * :ref:`coalesce-equal` * :ref:`possible-interfaces` * :ref:`constant-order` * :ref:`php-8.0-variable-syntax-tweaks` * :ref:`new-functions-in-php-8.0` * :ref:`don't-collect-void` * :ref:`php-8.0-only-typehints` * :ref:`union-typehint` * :ref:`uninitialized-property` * :ref:`wrong-typed-property-default` * :ref:`signature-trailing-comma` * :ref:`implicit-nullable-type` * :ref:`fn-argument-variable-confusion` * :ref:`missing-abstract-method` * :ref:`throw-was-an-expression` * :ref:`openssl-ciphers-used` * :ref:`unused-trait-in-class` * :ref:`keep-files-access-restricted` * :ref:`check-crypto-key-length` * :ref:`undefined-constant-name` * :ref:`dynamic-self-calls` * :ref:`prefix-and-suffixes-with-typehint` * :ref:`using-deprecated-method` * :ref:`too-long-a-block` * :ref:`static-global-variables-confusion` * :ref:`possible-alias-confusion` * :ref:`collect-property-counts` * :ref:`collect-method-counts` * :ref:`collect-class-constant-counts` * :ref:`too-much-indented` * :ref:`safe-phpvariables` * :ref:`could-be-string` * :ref:`could-be-boolean` * :ref:`could-be-void` * :ref:`extended-typehints` * :ref:`could-be-array-typehint` * :ref:`could-be-cit` * :ref:`protocol-lists` * :ref:`cyclic-references` * :ref:`double-object-assignation` * :ref:`could-not-type` * :ref:`could-be-callable` * :ref:`wrong-argument-type` * :ref:`type-could-be-integer` * :ref:`call-order` * :ref:`could-be-null` * :ref:`typehint-could-be-iterable` * :ref:`uses-php-8-match()` * :ref:`could-be-float` * :ref:`mismatch-properties-typehints` * :ref:`could-be-self` * :ref:`could-be-parent` * :ref:`collect-parameter-names` * :ref:`no-need-for-triple-equal` * :ref:`array\_merge-needs-array-of-arrays` * :ref:`avoid-compare-typed-boolean` * :ref:`abstract-away` * :ref:`wrong-type-for-native-php-function` * :ref:`large-try-block` * :ref:`catch-with-undefined-variable` * :ref:`swapped-arguments` * :ref:`fossilized-methods-list` * :ref:`glob\_brace-usage` * :ref:`iconv-with-translit` * :ref:`collect-static-class-changes` * :ref:`different-argument-counts` * :ref:`use-php-attributes` * :ref:`use-nullsafe-operator` * :ref:`use-closure-trailing-comma` * :ref:`unknown-parameter-name` * :ref:`missing-some-returntype` * :ref:`don't-pollute-global-space` * :ref:`collects-variables` * :ref:`could-be-parent-method` * :ref:`collect-global-variables` * :ref:`collect-readability` * :ref:`collect-definitions-statistics` * :ref:`collect-class-traits-counts` * :ref:`collect-native-calls-per-expressions` * :ref:`cancel-common-method` * :ref:`function-with-dynamic-code` * :ref:`cast-unset-usage` * :ref:`$php\_errormsg-usage` * :ref:`mismatch-parameter-name` * :ref:`multiple-declaration-of-strict\_types` * :ref:`collect-files-dependencies` * :ref:`collect-atom-counts` * :ref:`collect-classes-dependencies` * :ref:`collect-php-structures` * :ref:`mismatch-parameter-and-type` * :ref:`array\_fill()-with-objects` * :ref:`modified-typed-parameter` * :ref:`assumptions` * :ref:`collect-use-counts` * :ref:`useless-typehint` * :ref:`php-8.0-removed-directives` * :ref:`unsupported-types-with-operators` * :ref:`negative-start-index-in-array` * :ref:`php-ext-stub-property-and-method` * :ref:`optimize-explode()` * :ref:`could-use-promoted-properties` * :ref:`could-be-stringable` * :ref:`nullable-with-constant` * :ref:`use-get\_debug\_type()` * :ref:`collect-block-size` * :ref:`use-str\_contains()` * :ref:`php-8.0-resources-turned-into-objects` * :ref:`php-80-named-parameter-variadic` * :ref:`unused-exception-variable` * :ref:`wrong-attribute-configuration` * :ref:`cancelled-parameter` * :ref:`constant-typo-looks-like-a-variable` * :ref:`final-private-methods` * :ref:`array\_map()-passes-by-value` * :ref:`missing-\_\_isset()-method` * :ref:`searching-for-multiple-keys` * :ref:`long-preparation-for-throw` * :ref:`modify-immutable` * :ref:`reserved-match-keyword` * :ref:`no-static-variable-in-a-method` * :ref:`declare-static-once` * :ref:`avoid-get\_object\_vars()` * :ref:`could-use-match` * :ref:`cannot-use-static-for-closure` * :ref:`multiple-property-declaration-on-one-line` * :ref:`could-be-generator` * :ref:`only-first-byte-` * :ref:`restrict-global-usage` * :ref:`inherited-property-type-must-match` * :ref:`no-object-as-index` * :ref:`class-overreach` * :ref:`inherited-static-variable` * :ref:`enum-usage` * :ref:`php-8.1-removed-directives` * :ref:`htmlentities-using-default-flag` * :ref:`openssl-encrypt-default-algorithm-change` * :ref:`php-8.1-removed-constants` * :ref:`wrong-argument-name-with-php-function` * :ref:`duplicate-named-parameter` * :ref:`php-native-class-type-compatibility` * :ref:`missing-attribute-attribute` * :ref:`$files-full\_path` * :ref:`no-null-for-native-php-functions` * :ref:`calling-static-trait-method` * :ref:`no-referenced-void` * :ref:`php-native-interfaces-and-return-type` * :ref:`final-constant` * :ref:`never-typehint-usage` * :ref:`php-8.1-typehints` * :ref:`php-8.0-typehints` * :ref:`named-parameter-usage` * :ref:`first-class-callable` * :ref:`new-functions-in-php-8.1` * :ref:`php-8.1-removed-functions` * :ref:`never-keyword` * :ref:`mixed-keyword` * :ref:`mixed-typehint-usage` * :ref:`false-to-array-conversion` * :ref:`float-conversion-as-index` * :ref:`cannot-call-static-trait-method-directly` * :ref:`nested-attributes` * :ref:`new-initializers` * :ref:`deprecated-callable` * :ref:`promoted-properties` * :ref:`overwritten-foreach-var` * :ref:`null-type-favorite` * :ref:`checks-property-existence` * :ref:`variable-anf-property-typehint` * :ref:`extends-stdclass` * :ref:`scope-resolution-operator` * :ref:`could-use-null-safe-object-operator` * :ref:`cant-overload-constants` * :ref:`variable-is-a-local-constant` * :ref:`this-could-be-iterable` * :ref:`intersection-typehint` * :ref:`abstract-class-constants` * :ref:`recycled-variables` * :ref:`check-division-by-zero` * :ref:`getter-and-setter` * :ref:`multiple-similar-calls` * :ref:`could-be-ternary` * :ref:`use-file-append` * :ref:`readonly-usage` * :ref:`missing-visibility` * :ref:`could-use-existing-constant` * :ref:`don't-reuse-foreach-source` * :ref:`collect-dependency-extension` * :ref:`public-reach-to-private-methods` * :ref:`unreachable-method` * :ref:`static-call-may-be-truly-static` * :ref:`could-use-array\_sum()` * :ref:`undefined-methods` * :ref:`is-stub-structure` * :ref:`is-php-structure` * :ref:`is-extension-structure` * :ref:`unfinished-object` * :ref:`use-class\_alias()` * :ref:`undefined-enumcase` * :ref:`too-many-stringed-elseif` * :ref:`missing-type-in-definition` * :ref:`identical-elseif` * :ref:`simplify-foreach` * :ref:`use-variable-created-inside-loop` * :ref:`string-interpolation-favorite` * :ref:`type-could-be-never` * :ref:`don't-add-seconds` * :ref:`use-constants-as-returns` * :ref:`identical-variables-in-foreach` * :ref:`can't-overwrite-final-constant` * :ref:`string-int-comparison` * :ref:`add-return-typehint` * :ref:`ext-protobuf` * :ref:`constant--with-or-without-use` * :ref:`no-constructor-in-interface` * :ref:`could-be-a-constant` * :ref:`create-magic-method` * :ref:`unsupported-operand-types` * :ref:`array\_merge-with-ellipsis` * :ref:`is-library` * :ref:`version\_compare-operator` * :ref:`php-8.1-resources-turned-into-objects` * :ref:`do-not-cast-to-int` * :ref:`constant-scalar-expression` * :ref:`windows-only-constants` * :ref:`could-be-spaceship` * :ref:`sylius-usage` * :ref:`dollar-curly-interpolation-is-deprecated` * :ref:`unused-enumeration-case` * :ref:`useless-null-coalesce` * :ref:`throw-raw-exceptions` * :ref:`extensions-yar` * :ref:`collect-stub-structures` * :ref:`lowered-access-level` * :ref:`can't-overwrite-final-method` * :ref:`implicit-conversion-to-int` * :ref:`excimer` * :ref:`use-same-types-for-comparisons` * :ref:`used-once-trait` * :ref:`make-all-statics` * :ref:`wrong-locale` * :ref:`ext-pkcs11` * :ref:`ext-spx` * :ref:`parent-is-not-static` * :ref:`no-magic-method-for-enum` * :ref:`no-readonly-assignation-in-global` * :ref:`stomp` * :ref:`ext-csv` * :ref:`could-set-property-default` * :ref:`identity` * :ref:`overload-existing-names` * :ref:`incoming-date-formats` * :ref:`collect-vendor-structures` * :ref:`array-addition` * :ref:`retyped-reference` * :ref:`could-be-enumeration` * :ref:`wrong-type-with-default` * :ref:`ice-framework` * :ref:`extensions-exttaint` * :ref:`sprintf-format-compilation` * :ref:`invalid-date-scanning-format` * :ref:`same-name-for-property-and-method` * :ref:`no-private-abstract-method-in-trait` * :ref:`utf8-encode-and-decode-are-deprecated` * :ref:`magic-method-returntype-is-restricted` * :ref:`if-then-return-favorite` * :ref:`typehints-couldberesource` * :ref:`datetimeimmutable-is-not-immutable` * :ref:`new-functions-in-php-8.2` * :ref:`empty-array-detection` * :ref:`strict-in\_array()-preference` * :ref:`no-default-for-referenced-parameter` * :ref:`clone-constant` * :ref:`enum-case-values` * :ref:`random-extension` * :ref:`ip` * :ref:`could-inject-parameter` * :ref:`ext-scrypt` * :ref:`ext-teds` * :ref:`geospatial` * :ref:`feast-usage` * :ref:`date()-versus-datetime-preference` * :ref:`unused-public-methods` * :ref:`could-be-abstract-method` * :ref:`solve-trait-constants` * :ref:`no-keyword-in-namespace` * :ref:`ambiguous-types-with-variables` * :ref:`set-chaining-exception` * :ref:`could-use-class-operator` * :ref:`mbstring-unknown-encodings` * :ref:`named-argument-and-variadic` * :ref:`coalesce-and-ternary-operators-order` * :ref:`useless-assignation-of-promoted-property` * :ref:`method-property-confusion` * :ref:`could-use-namespace-magic-constant` * :ref:`incompatible-types-with-incoming-values` * :ref:`method-usage` * :ref:`too-many-chained-calls` * :ref:`empty-loop` * :ref:`too-many-extractions` * :ref:`no-variable-needed` * :ref:`possible-typeerror` * :ref:`json\_encode()-without-exceptions` * :ref:`no-initial-s-in-variable-names` * :ref:`collect-calls` * :ref:`set-method-fnp` * :ref:`type-dodging` * :ref:`skip-empty-array` * :ref:`useless-method` * :ref:`weak-type-with-array` * :ref:`class-could-be-readonly` * :ref:`multiple-type-cases-in-switch` * :ref:`class-invasion` * :ref:`property-invasion` * :ref:`filter-not-raw` * :ref:`collect-setlocale` * :ref:`plus-plus-used-on-strings` * :ref:`no-max-on-empty-array` * :ref:`no-empty-string-with-explode()` * :ref:`array-access-on-literal-array` * :ref:`double-checks` * :ref:`strpos()-with-integers` * :ref:`unvalidated-data-cached-in-session` * :ref:`ellipsis-merge` * :ref:`superglobals` * :ref:`new-functions-in-php-8.3` * :ref:`use-str\_ends\_with()` * :ref:`use-str\_starts\_with()` * :ref:`missing-assignation-in-branches` * :ref:`mono-or-multibytes-favorite` * :ref:`argument-counts-per-calls` * :ref:`global-definitions` * :ref:`short-ternary` * :ref:`deprecated-mb\_string-encodings` * :ref:`pre-calculate-use` * :ref:`no-valid-cast` * :ref:`init-then-update` * :ref:`different-constructors` * :ref:`sidelined-method` * :ref:`misused-yield` * :ref:`substr()-in-loops` * :ref:`should-cache-local` * :ref:`php-8.3-new-classes` * :ref:`rewrote-final-class-constant` * :ref:`useless-constant-overwrite` * :ref:`blind-variable-used-beyond-loop` * :ref:`recalled-condition` * :ref:`incompatible-property-between-class-and-trait` * :ref:`collect-methods-throwing-exceptions` * :ref:`static-call-with-self` * :ref:`use-dnf` * :ref:`collect-throw-calls` * :ref:`collect-compared-literals` * :ref:`could-be-array\_combine()` * :ref:`comparison-on-different-types` * :ref:`no-null-for-index` * :ref:`collects-names` * :ref:`useless-try` * :ref:`converted-exceptions` * :ref:`method-is-not-an-if` * :ref:`default-then-discard` * :ref:`class-injection-count` * :ref:`collect-property-usage` * :ref:`collect-structures` * :ref:`collect-catch-calls` * :ref:`identical-case-in-switch` * :ref:`standalonetype-true-false-null` * :ref:`constants-in-traits` * :ref:`short-or-complete-comparison` * :ref:`could-use-yield-from` * :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:`inherited-class-constant-visibility` * :ref:`final-traits-are-final` * :ref:`multiline-expressions` * :ref:`typed-class-constants-usage` * :ref:`favorite-casting-method` * :ref:`get\_class()-without-argument` * :ref:`append-and-assign-arrays` * :ref:`property-cannot-be-readonly` * :ref:`static-variable-initialisation` * :ref:`collect-graph-triplets` * :ref:`static-variable-in-namespace` * :ref:`using-deprecated-feature` * :ref:`override` * :ref:`don't-use-the-type-as-variable-name` * :ref:`static-methods-cannot-call-non-static-methods` * :ref:`untyped-no-default-properties` * :ref:`trait-is-not-a-type` * :ref:`cannot-use-append-for-reading` * :ref:`friend-attribute` * :ref:`count()-to-array-append` * :ref:`useless-trailing-comma` * :ref:`reserved-methods` * :ref:`void-is-not-a-reference` * :ref:`can't-call-generator` * :ref:`non-integer-nor-string-as-index` * :ref:`cant-instantiate-non-class` * :ref:`php-native-attributes` * :ref:`injectable-version` * :ref:`multiple-property-declaration` * :ref:`is\_a()-versus-instanceof` * :ref:`could-cast-to-array` * :ref:`check-after-null-safe-operator` * :ref:`no-null-with-null-safe-operator` * :ref:`invalid-cast` * :ref:`could-use-strcontains()` * :ref:`could-drop-variable` * :ref:`could-be-readonly-property` * :ref:`new-object-then-immediate-call` * :ref:`try-without-catch` * :ref:`wrong-precedence-in-expression` * :ref:`only-variable-passed-by-reference` * :ref:`property-export` * :ref:`file\_put\_contents-using-array-argument` * :ref:`useless-nullsafe-operator` * :ref:`nested-match` * :ref:`useless-short-ternary` * :ref:`combined-calls` * :ref:`empty-json-error` * :ref:`useless-coalesce` * :ref:`count()-is-not-negative` * :ref:`exit-without-argument` * :ref:`php-8.1-new-types` * :ref:`php-8.2-new-types` * :ref:`variable-parameter-ambiguity-in-arrow-function` * :ref:`strpos()-less-than-one` * :ref:`include-variables` * :ref:`no-named-parameters` * :ref:`static-inclusions` * :ref:`deprecated-attribute` * :ref:`constant-used-only-once` * :ref:`constants-relayconstant` Specs _____ +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Short name | All | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Available in | `Entreprise Edition `_, `Exakat Cloud `_ | +--------------+-------------------------------------------------------------------------------------------------------------------------+