Skip to content

Commit

Permalink
Add composer
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Feb 18, 2019
1 parent a8b912f commit f1e77a8
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
33 changes: 33 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "psalm/plugin-laravel",
"description": "A Laravel plugin for Psalm",
"type": "psalm-plugin",
"require": {
"barryvdh/laravel-ide-helper": "^2.5",
"vimeo/psalm": "^3.0.17 || ^3.1",
"orchestra/testbench": "^3.7"
},
"license": "MIT",
"authors": [
{
"name": "Matthew Brown",
"email": "github@muglug.com"
}
],
"extra": {
"psalm": {
"pluginClass": "Psalm\\LaravelPlugin\\Plugin"
}
},
"autoload": {
"psr-4": {
"Psalm\\LaravelPlugin\\": "src"
}
},
"scripts" : {
"check": [
"@analyze"
],
"analyze": "psalm"
}
}
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
totallyTyped="false"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config file:///Users/matthewbrown/Desktop/vimeo/git/laravel-psalm-plugin/vendor/vimeo/psalm/config.xsd"
>
<projectFiles>
<directory name="src" />
<ignoreFiles>
<directory name="vendor" />
</ignoreFiles>
</projectFiles>

<issueHandlers>
<LessSpecificReturnType errorLevel="info" />
</issueHandlers>
</psalm>

0 comments on commit f1e77a8

Please sign in to comment.