Skip to content

Commit 1c1af16

Browse files
authored
ci(phpstan): bootstrap sniffer tokens (#105)
1 parent 691b655 commit 1c1af16

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ fix:
3939

4040
.PHONY: static-analysis
4141
static-analysis:
42-
vendor/bin/phpstan analyse $(PHPSTAN_ARGS)
42+
vendor/bin/phpstan $(PHPSTAN_ARGS)
4343

4444
.PHONY: check
4545
check: build cs static-analysis test

phpstan.neon.dist

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
parameters:
22
bootstrapFiles:
3-
- %currentWorkingDirectory%/tests/bootstrap.php
3+
- %currentWorkingDirectory%/vendor/squizlabs/php_codesniffer/autoload.php
4+
- %currentWorkingDirectory%/vendor/squizlabs/php_codesniffer/src/Util/Tokens.php
5+
46
level: max
57
excludePaths:
68
- %currentWorkingDirectory%/tests/*/data/*

0 commit comments

Comments
 (0)