Skip to content

Commit 1bab119

Browse files
committed
Move phpstan analyse paths into phpstan.neon
1 parent 8a77f4a commit 1bab119

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ cs-fix:
2727

2828
.PHONY: phpstan
2929
phpstan:
30-
php vendor/bin/phpstan analyse -l 8 -c phpstan.neon src tests
30+
php vendor/bin/phpstan analyse -l 8 -c phpstan.neon
3131

3232
.PHONY: phpstan-generate-baseline
3333
phpstan-generate-baseline:
34-
php vendor/bin/phpstan analyse -l 8 -c phpstan.neon src tests -b phpstan-baseline.neon
34+
php vendor/bin/phpstan analyse -l 8 -c phpstan.neon -b phpstan-baseline.neon

phpstan.neon

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ includes:
1313
- phar://phpstan.phar/conf/bleedingEdge.neon
1414

1515
parameters:
16+
paths:
17+
- src
18+
- tests
19+
1620
excludePaths:
1721
- tests/*/data/*
1822
- tests/*/data-attributes/*

0 commit comments

Comments
 (0)