Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
AnourValar committed Mar 16, 2024
1 parent 507aff6 commit 20910f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "MIT",
"require": {
"php": "^8.0",
"laravel/framework": "^8.0|^9.0|^10.0"
"laravel/framework": "^8.0|^9.0|^10.0|^11.0"
},
"require-dev": {
"phpstan/phpstan": "^1.10",
Expand Down
4 changes: 3 additions & 1 deletion psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
</plugins>

<issueHandlers>
<ForbiddenCode errorLevel="error" />
<UnusedClosureParam errorLevel="suppress" />
<PossiblyUnusedMethod errorLevel="suppress" />
<UnusedClass errorLevel="suppress" />
Expand All @@ -30,10 +31,11 @@
<MissingTemplateParam errorLevel="suppress" />
<UnsupportedPropertyReferenceUsage errorLevel="suppress" />
</issueHandlers>

<forbiddenFunctions>
<function name="var_dump" />
<function name="dd" />
<function name="dump" />
<function name="print_r" />
</forbiddenFunctions>
</psalm>

0 comments on commit 20910f7

Please sign in to comment.