Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
d8vjork committed Jul 9, 2021
1 parent 066d5ea commit ad7cdc3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
"ext-json": "*",
"laravel/nova": "^2.0|^3.0",
"orchestra/testbench": "^4.0|^5.0|^6.0",
"phpunit/phpunit": "^7.0|^9.0"
"phpunit/phpunit": "^7.0|^9.0",
"psalm/plugin-laravel": "^1.4",
"vimeo/psalm": "^4.8"
},
"suggest": {
"laravel/nova": "Required if using status nova filter"
Expand Down
18 changes: 18 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0"?>
<psalm
errorLevel="4"
findUnusedVariablesAndParams="true"
resolveFromConfigFile="true"
useDocblockPropertyTypes="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"/>
</projectFiles>

<plugins>
<pluginClass class="Psalm\LaravelPlugin\Plugin"/>
</plugins>
</psalm>

0 comments on commit ad7cdc3

Please sign in to comment.