Skip to content
Snippets Groups Projects
Commit 8894ad49 authored by Patrick Radtke's avatar Patrick Radtke
Browse files

add initial psalm config

parent afa366f0
No related branches found
No related tags found
No related merge requests found
......@@ -30,5 +30,15 @@
},
"suggest": {
"patrickbussmann/oauth2-apple": "Used to provide Apple sign in functionality"
}
},
"scripts": {
"validate": [
"vendor/bin/phpunit --no-coverage",
"vendor/bin/phpcs -p",
"vendor/bin/psalm"
],
"tests": [
"vendor/bin/phpunit --no-coverage"
]
}
}
<?xml version="1.0"?>
<psalm
errorLevel="8"
hideExternalErrors="true"
resolveFromConfigFile="true"
autoloader="vendor/autoload.php"
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="lib" />
<!-- Too many errors in test folder at the moment -->
<directory name="tests" />
<!-- <directory name="templates" /> -->
<ignoreFiles>
<file name="tests/bootstrap.php" />
<!-- <directory name="tests/metadata" />-->
<!-- <directory name="tests/config" />-->
</ignoreFiles>
</projectFiles>
<issueHandlers>
<PropertyNotSetInConstructor errorLevel="info" />
</issueHandlers>
</psalm>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment