diff options
| author | 2023-05-04 19:47:54 +0200 | |
|---|---|---|
| committer | 2023-05-04 19:47:54 +0200 | |
| commit | 30c69ef147059f440d304e7da5e0236d95e424fd (patch) | |
| tree | 3aeec77db07a4fe23a3721e85dbe5175f98bc2b9 /phpstan.neon | |
| parent | 675c56f5799ed92a6aa3a8ad3d3d8d6636f444ec (diff) | |
Use PHPStan dynamicConstantNames (#5370)
https://phpstan.org/config-reference#constants
Avoid a few phpstan-ignore-next-line
Diffstat (limited to 'phpstan.neon')
| -rw-r--r-- | phpstan.neon | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/phpstan.neon b/phpstan.neon index dd47c79ee..90c41aec7 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -20,6 +20,17 @@ parameters: bootstrapFiles: - cli/_cli.php - lib/favicons.php + dynamicConstantNames: + - CACHE_PATH + - COPY_LOG_TO_SYSLOG + - COPY_SYSLOG_TO_STDERR + - DATA_PATH + - MAX_LOG_SIZE + - SIMPLEPIE_SYSLOG_ENABLED + - STDERR + - STDOUT + - TMP_PATH + - USERS_PATH includes: - vendor/phpstan/phpstan-phpunit/extension.neon - vendor/phpstan/phpstan-phpunit/rules.neon |
