Skip to content

Commit 0eff1af

Browse files
dev: set lv 6 phpstan and add baseline
1 parent 407e4fe commit 0eff1af

File tree

4 files changed

+3571
-3
lines changed

4 files changed

+3571
-3
lines changed

.distignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@ assets/src
3838
postcss.config.js
3939
tailwind.config.js
4040
phpstan.neon
41+
phpstan-baseline.neon
4142
development.php
4243
playwright.config.ts
4344
test-results
4445
wp-scripts.config.js
4546
README.md
46-
CHANGELOG.md
47+
CHANGELOG.md

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
"format": "phpcbf --standard=phpcs.xml --report-summary --report-source",
5252
"phpcs": "phpcs --standard=phpcs.xml --extensions=php -s -d memory_limit=-1",
5353
"phpstan": "phpstan analyse --memory-limit=-1",
54+
"phpstan:generate:baseline": "phpstan analyse --memory-limit=-1 --generate-baseline",
5455
"phpunit": "phpunit --configuration=phpunit.xml",
5556
"install-wp-tests": "bash bin/install-wp-tests.sh wordpress_tests root root 127.0.0.1 latest true"
5657
},

0 commit comments

Comments
 (0)