Skip to content

Commit 1fbc321

Browse files
staabmondrejmirtes
authored andcommitted
move analyse-paths into phpstan.neon
1 parent 11f3ada commit 1fbc321

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
@@ -26,8 +26,8 @@ cs-fix:
2626

2727
.PHONY: phpstan
2828
phpstan:
29-
php vendor/bin/phpstan analyse -c phpstan.neon src tests
29+
php vendor/bin/phpstan analyse -c phpstan.neon
3030

3131
.PHONY: phpstan-generate-baseline
3232
phpstan-generate-baseline:
33-
php vendor/bin/phpstan analyse -c phpstan.neon src tests -b phpstan-baseline.neon
33+
php vendor/bin/phpstan analyse -c phpstan.neon -b phpstan-baseline.neon

phpstan.neon

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ parameters:
1212

1313
resultCachePath: tmp/resultCache.php
1414

15+
paths:
16+
- src
17+
- tests
18+
1519
excludePaths:
1620
- tests/*/data/*
1721
ignoreErrors:

0 commit comments

Comments
 (0)