Skip to content

Commit 6dfbe3d

Browse files
committed
chore: update baseline
1 parent 677ed8b commit 6dfbe3d

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"scripts": {
3434
"format": "phpcbf --standard=phpcs.xml --report-summary --report-source",
3535
"lint": "phpcs --standard=phpcs.xml",
36-
"phpstan": "phpstan",
36+
"phpstan": "phpstan --memory-limit=2G",
3737
"phpstan:generate:baseline": "phpstan --generate-baseline --memory-limit=2G"
3838
},
3939
"minimum-stability": "dev",

phpstan-baseline.neon

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@ parameters:
102102
count: 1
103103
path: classes/Visualizer/Gutenberg/Block.php
104104

105+
-
106+
message: '#^Path in include\(\) "/Users/hardeep/Development/sites/particles/wp\-content/plugins/visualizer/classes/Visualizer/Gutenberg/build/index\.asset\.php" is not a file or it does not exist\.$#'
107+
identifier: include.fileNotFound
108+
count: 1
109+
path: classes/Visualizer/Gutenberg/Block.php
110+
105111
-
106112
message: '#^Constant VISUALIZER_PRO_VERSION not found\.$#'
107113
identifier: constant.notFound

phpstan.neon

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ parameters:
1010
- %currentWorkingDirectory%/vendor/neitanod/forceutf8
1111
- %currentWorkingDirectory%/vendor/openspout/openspout
1212
- %currentWorkingDirectory%/vendor/codeinwp/themeisle-sdk
13+
excludePaths:
14+
- classes/Visualizer/Gutenberg/build (?)
1315
includes:
1416
- %currentWorkingDirectory%/vendor/szepeviktor/phpstan-wordpress/extension.neon
1517
- %currentWorkingDirectory%/phpstan-baseline.neon

0 commit comments

Comments
 (0)