diff --git a/composer.json b/composer.json index 7a700d25f5..e2e5b6e3e3 100644 --- a/composer.json +++ b/composer.json @@ -13,6 +13,7 @@ "require-dev": { "friendsofphp/php-cs-fixer": "3.4.0", "friendsofredaxo/linter": "1.3.0", + "jetbrains/phpstorm-attributes": "^1.0", "phpstan/extension-installer": "1.1.0", "phpstan/phpstan": "1.8.1", "phpstan/phpstan-deprecation-rules": "1.0.0", diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 11f0431f26..e32e9da068 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -40,7 +40,6 @@ parameters: - '#Unsafe usage of new static\(\)\.#' - '#Constructor of class rex_form_.*_element has an unused parameter \$tag.#' - '#^Offset .* on .* always exists#' - - '#Attribute class (?:AllowDynamicProperties|JetBrains\\PhpStorm\\Deprecated) does not exist\.#' - '#Parameter \#2 \$algo of function password_.+ expects int, string given\.#' - message: '#.*deprecated.*#'