Fix tests

This commit is contained in:
Daniil Gentili 2020-10-03 13:51:53 +02:00
parent c6f8394934
commit 226ddc68dc
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
2 changed files with 16 additions and 2 deletions

View File

@ -15,8 +15,7 @@
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^8|^6", "phpunit/phpunit": "^8|^6",
"amphp/php-cs-fixer-config": "dev-master", "amphp/php-cs-fixer-config": "dev-master"
"vimeo/psalm": "dev-master"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {

15
psalm.xml Normal file
View File

@ -0,0 +1,15 @@
<?xml version="1.0"?>
<psalm
errorLevel="5"
resolveFromConfigFile="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
>
<projectFiles>
<directory name="src" />
<ignoreFiles>
<directory name="vendor" />
</ignoreFiles>
</projectFiles>
</psalm>