mirror of
https://github.com/danog/psalm-plugin-laravel.git
synced 2025-01-22 05:11:18 +01:00
Add composer
This commit is contained in:
parent
a8b912f2ff
commit
f1e77a8e56
33
composer.json
Normal file
33
composer.json
Normal file
@ -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
psalm.xml
Normal file
18
psalm.xml
Normal file
@ -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>
|
Loading…
x
Reference in New Issue
Block a user