Update to static checker file, add phpunit xml, update composer json

This commit is contained in:
2022-06-08 15:04:59 +09:00
parent b1079e1d24
commit 1e836e9a2b
5 changed files with 9 additions and 6 deletions

View File

@@ -79,6 +79,7 @@ return [
// to parse, but not analyze
"exclude_analysis_directory_list" => [
'vendor',
'test',
],
'exclude_file_list' => [
],

View File

@@ -22,7 +22,7 @@
"php": ">=7.4.0"
},
"archive": {
"exclude": ["/test/", "/test/*", "/phpstan.neon", "/psalm.xml", "/.phan/", "/.vscode/"]
"exclude": ["/test/", "/test/*", "/phpstan.neon", "/psalm.xml", "/.phan/", "/.vscode/", "/phpunit.xml"]
},
"require-dev": {
"phpunit/phpunit": "^9"

View File

@@ -8,8 +8,4 @@ parameters:
excludePaths:
# ignore composer
- vendor
# ignore errores with
ignoreErrors:
-
message: '#Strict comparison using === between false and true will always evaluate to false.#'
path: %currentWorkingDirectory%/test/aws_gift_card_tests.php
- test

5
phpunit.xml Normal file
View File

@@ -0,0 +1,5 @@
<phpunit
colors="true"
verbose="true"
>
</phpunit>

View File

@@ -10,6 +10,7 @@
<directory name="src" />
<ignoreFiles>
<directory name="vendor" />
<directory name="test" />
</ignoreFiles>
</projectFiles>
</psalm>