-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: snipe <[email protected]>
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
parameters: | ||
paths: | ||
- app | ||
- resources/views | ||
- resources/lang | ||
- database/migrations | ||
- config | ||
|
||
level: 4 | ||
|
||
ignoreErrors: | ||
- '#Class, interface or enum named #' | ||
- '#Call to an undefined static method App\\Models\\.*::where.*\(\)#' | ||
- '#Call to an undefined static method App\\Models\\.*::firstOr.*\(\)#' | ||
- '#Call to an undefined static method App\\Models\\.*::find.*\(\)#' | ||
- '#Call to an undefined static method App\\Models\\.*::get.*\(\)#' | ||
- '#Call to an undefined static method App\\Models\\.*::has.*\(\)#' | ||
- '#Call to static method info\(\) on an unknown class Log#' | ||
- '#Call to static method debug\(\) on an unknown class Log#' | ||
- '#Call to static method getSchemaBuilder\(\) on an unknown class DB#' | ||
- '#Call to static method call\(\) on an unknown class Artisan.#' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?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" | ||
findUnusedBaselineEntry="true" | ||
> | ||
<projectFiles> | ||
<directory name="app" /> | ||
<directory name="database/factories" /> | ||
<directory name="database/seeders" /> | ||
<ignoreFiles> | ||
<directory name="vendor" /> | ||
</ignoreFiles> | ||
</projectFiles> | ||
</psalm> |