Skip to content

Commit b9d7dd6

Browse files
authored
chore: Update phpstan.neon ignore constant error
1 parent 9b784db commit b9d7dd6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

phpstan.neon

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ parameters:
33
paths:
44
- plugin.php
55
- inc/
6+
ignoreErrors:
7+
- '#Constant .* not found#'
68
excludePaths:
79
- js/*
810
- vendor/*
911
- node_modules/*
1012
bootstrapFiles:
1113
- vendor/php-stubs/wordpress-stubs/wordpress-stubs.php
12-
- vendor/php-stubs/woocommerce-stubs/woocommerce-stubs.php
14+
- vendor/php-stubs/woocommerce-stubs/woocommerce-stubs.php

0 commit comments

Comments
 (0)