We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
dynamicConstantNames
1 parent 8a3775f commit 6589ce9Copy full SHA for 6589ce9
tests/phpstan/base.neon
@@ -11,6 +11,17 @@ parameters:
11
# The Minimum PHP Version
12
phpVersion: 70224
13
14
+ # Constants that are expected to be defined by users.
15
+ dynamicConstantNames:
16
+ - WP_DEBUG
17
+ - WP_DEBUG_LOG
18
+ - WP_DEBUG_DISPLAY
19
+ - SCRIPT_DEBUG
20
+ - WP_CACHE
21
+ - MEDIA_TRASH
22
+ - FORCE_SSL_LOGIN
23
+ - WP_POST_REVISIONS
24
+
25
# What directories and files should be scanned.
26
paths:
27
- ../../src
0 commit comments