Skip to content

Commit 4feb4d9

Browse files
phpstan config
1 parent cecb0c0 commit 4feb4d9

File tree

2 files changed

+17
-9
lines changed

2 files changed

+17
-9
lines changed

.gitignore

+4-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
<<<<<<< HEAD
2-
composer.phar
3-
/vendor/
4-
5-
# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
6-
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
7-
# composer.lock
8-
=======
91
/vendor/
102
data.json
113
index.php
12-
>>>>>>> 2c4b1f2 (Json db)
4+
.phpunit.cache/
5+
.env
6+
/var/
7+
/data/*.json

phpstan.dist.neon

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
parameters:
2+
level: max
3+
paths:
4+
- src
5+
excludePaths:
6+
- tests
7+
tmpDir: var/cache/phpstan
8+
bootstrapFiles:
9+
- vendor/autoload.php
10+
# checkMissingIterableValueType: true
11+
# checkGenericClassInNonGenericObjectType: true
12+
checkUnionTypes: true
13+
reportUnmatchedIgnoredErrors: true

0 commit comments

Comments
 (0)