diff --git a/.phan/config.php b/.phan/config.php index 4250d75..3ea2c27 100644 --- a/.phan/config.php +++ b/.phan/config.php @@ -79,6 +79,7 @@ return [ // to parse, but not analyze "exclude_analysis_directory_list" => [ 'vendor', + 'test', ], 'exclude_file_list' => [ ], diff --git a/composer.json b/composer.json index d4c6f0c..84f02b1 100644 --- a/composer.json +++ b/composer.json @@ -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" diff --git a/phpstan.neon b/phpstan.neon index dff4b90..02b850f 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -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 diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 0000000..c333bf5 --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,5 @@ + + diff --git a/psalm.xml b/psalm.xml index 30258a7..2b10313 100644 --- a/psalm.xml +++ b/psalm.xml @@ -10,6 +10,7 @@ +