mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-02-11 12:09:36 +00:00
Fixed phpstan issues
This commit is contained in:
parent
a755287c3b
commit
cad5261aba
6 changed files with 11 additions and 10 deletions
|
|
@ -6,6 +6,9 @@ parameters:
|
|||
- src
|
||||
# - tests
|
||||
|
||||
banned_code:
|
||||
non_ignorable: false # Allow to ignore some banned code
|
||||
|
||||
excludePaths:
|
||||
- src/DataTables/Adapter/*
|
||||
- src/Configuration/*
|
||||
|
|
@ -61,3 +64,6 @@ parameters:
|
|||
|
||||
# Ignore error of unused WithPermPresetsTrait, as it is used in the migrations which are not analyzed by Phpstan
|
||||
- '#Trait App\\Migration\\WithPermPresetsTrait is used zero times and is not analysed#'
|
||||
-
|
||||
message: '#Should not use function "shell_exec"#'
|
||||
path: src/Services/System/UpdateExecutor.php
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue