File tree 3 files changed +15
-28
lines changed
3 files changed +15
-28
lines changed Original file line number Diff line number Diff line change 1
- includes:
2
- - vendor/phpstan/phpstan-strict-rules/rules.neon
3
-
4
1
parameters:
5
2
level: max
6
- paths: [src]
3
+ paths: [./src]
4
+ tmpDir: ./build/cache/phpstan
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
3
xsi : noNamespaceSchemaLocation =" ./vendor/phpunit/phpunit/phpunit.xsd"
4
- bootstrap =" vendor/autoload.php"
4
+ bootstrap =" ./vendor/autoload.php"
5
+ cacheResultFile =" ./build/cache/phpunit.result.cache"
5
6
backupGlobals =" false"
6
- backupStaticAttributes =" false"
7
- beStrictAboutCoversAnnotation =" true"
8
- beStrictAboutOutputDuringTests =" true"
9
- beStrictAboutTestsThatDoNotTestAnything =" false"
10
- beStrictAboutTodoAnnotatedTests =" true"
11
7
colors =" true"
12
- verbose =" true"
13
- executionOrder = " default "
8
+ failOnRisky =" true"
9
+ failOnWarning = " true "
14
10
>
15
11
<testsuites >
16
12
<testsuite name =" PHP Library Starter Test Suite" >
17
13
<directory >./tests/</directory >
18
14
</testsuite >
19
15
</testsuites >
20
16
21
- <filter >
22
- <whitelist processUncoveredFilesFromWhitelist = " true " >
17
+ <coverage processUncoveredFiles = " true " >
18
+ <include >
23
19
<directory suffix =" .php" >src</directory >
24
- </whitelist >
25
- </filter >
20
+ </include >
21
+ </coverage >
26
22
</phpunit >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" ?>
2
2
<psalm xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
3
xmlns =" https://getpsalm.org/schema/config"
4
- name =" Psalm for PHP Library Starter"
5
- useDocblockTypes =" true"
6
- errorLevel =" 3"
7
- strictBinaryOperands =" false"
8
- rememberPropertyAssignmentsAfterCall =" true"
9
- checkForThrowsDocblock =" false"
10
- throwExceptionOnError =" 0"
11
- ensureArrayStringOffsetsExist =" true"
12
- ensureArrayIntOffsetsExist =" false"
13
- resolveFromConfigFile =" true"
14
4
xsi : schemaLocation =" https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
5
+ name =" Psalm for PHP Library Starter"
6
+ totallyTyped =" true"
7
+ cacheDirectory =" ./build/cache/psalm"
15
8
>
16
9
<projectFiles >
17
- <directory name =" src" />
10
+ <directory name =" ./ src" />
18
11
<ignoreFiles >
19
- <directory name =" vendor" />
12
+ <directory name =" ./ vendor" />
20
13
</ignoreFiles >
21
14
</projectFiles >
22
15
</psalm >
You can’t perform that action at this time.
0 commit comments