From 16db49cfa3e83b8acf0c25c6f72f2cb887e44517 Mon Sep 17 00:00:00 2001 From: Pavel Dohnal Date: Tue, 10 Dec 2019 09:20:32 +0100 Subject: [PATCH] Mark constant as dynamic [MAILPOET-2568] --- tasks/phpstan/phpstan.neon | 1 + 1 file changed, 1 insertion(+) 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