diff --git a/tasks/phpstan/phpstan.neon b/tasks/phpstan/phpstan.neon index 1785a595e4..0f1990c710 100644 --- a/tasks/phpstan/phpstan.neon +++ b/tasks/phpstan/phpstan.neon @@ -16,5 +16,6 @@ parameters: reportUnmatchedIgnoredErrors: false dynamicConstantNames: - WP_DEBUG + - MAILPOET_PREMIUM_INITIALIZED includes: - phpstan-baseline.neon # https://medium.com/@ondrejmirtes/phpstans-baseline-feature-lets-you-hold-new-code-to-a-higher-standard-e77d815a5dff