mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-07 17:04:34 +01:00
Replace Psalm with PHPStan
This commit is contained in:
parent
61d177aecd
commit
46ef26e9dc
@ -41,9 +41,9 @@
|
||||
"fakerphp/faker": "^1.20",
|
||||
"mockery/mockery": "^1.5",
|
||||
"nunomaduro/collision": "^5.0",
|
||||
"phpunit/phpunit": "^9.5",
|
||||
"psalm/plugin-laravel": "1.6.2",
|
||||
"vimeo/psalm": "^4.26"
|
||||
"nunomaduro/larastan": "^1.0",
|
||||
"phpstan/phpstan": "^1.8",
|
||||
"phpunit/phpunit": "^9.5"
|
||||
},
|
||||
"conflict": {
|
||||
"khanamiryan/qrcode-detector-decoder": "~1.0.6"
|
||||
|
2186
composer.lock
generated
2186
composer.lock
generated
File diff suppressed because it is too large
Load Diff
14
phpstan.neon
Normal file
14
phpstan.neon
Normal file
@ -0,0 +1,14 @@
|
||||
includes:
|
||||
- vendor/nunomaduro/larastan/extension.neon
|
||||
|
||||
parameters:
|
||||
level: 6
|
||||
paths:
|
||||
- app
|
||||
- database
|
||||
- routes
|
||||
excludePaths:
|
||||
analyse:
|
||||
- app/Protobuf/*
|
||||
ignoreErrors:
|
||||
checkMissingIterableValueType: false
|
21
psalm.xml
21
psalm.xml
@ -1,21 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<psalm
|
||||
errorLevel="7"
|
||||
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="app"/>
|
||||
<directory name="database/factories"/>
|
||||
<directory name="database/seeders"/>
|
||||
<ignoreFiles>
|
||||
<directory name="vendor"/>
|
||||
<directory name="app/Protobuf"/>
|
||||
</ignoreFiles>
|
||||
</projectFiles>
|
||||
<plugins>
|
||||
<pluginClass class="Psalm\LaravelPlugin\Plugin"/>
|
||||
</plugins>
|
||||
</psalm>
|
Loading…
Reference in New Issue
Block a user