mirror of
https://github.com/vrana/adminer.git
synced 2026-01-05 07:10:38 +01:00
33 lines
2.1 KiB
Plaintext
33 lines
2.1 KiB
Plaintext
parameters:
|
|
level: 3
|
|
ignoreErrors:
|
|
# diagnose
|
|
- "~Adminer\\\\Db::~"
|
|
|
|
# need to fix
|
|
- "~^Function Adminer\\\\fields_from_edit\\(\\) should return~" # Mongo and SimpleDB
|
|
|
|
# not real problems
|
|
- identifier: include.fileNotFound # relative includes
|
|
- identifier: includeOnce.fileNotFound # ./adminer-plugins.php
|
|
- "~^Function (set_magic_quotes_runtime|mysql_)~" # PHP < 7 functions
|
|
- "~^Instantiated class Adminer\\w~" # no support for classes defined inside function
|
|
- "~^Variable \\$(adminer|connection|driver|drivers|error|HTTPS|LANG|langs|permanent|has_token|token|translations|VERSION) might not be defined~" # declared in bootstrap.inc.php
|
|
- "~^Comparison operation \"==\" between \\(array\\|float\\|int\\) and 1~" # false positive
|
|
- "~OCI-?Lob~" # maybe include stub?
|
|
|
|
paths:
|
|
- .
|
|
phpVersion:
|
|
min: 70100
|
|
max: 80499
|
|
checkMissingCallableSignature: true
|
|
typeAliases:
|
|
TableStatus: "array{Name:string, Engine:string, Comment:string, Oid?:numeric-string, Rows:numeric-string, Collation:string, Auto_increment:numeric-string, Data_length:numeric-string, Index_length:numeric-string, Data_free:numeric-string, Create_options?:string, nspname?:string}"
|
|
Field: "array{field:string, full_type:string, type:string, length:numeric-string, unsigned:string, default:?string, null:bool, auto_increment:bool, on_update:string, collation:string, privileges:int[], comment:string, primary:bool, generated:string, orig?:string, on_delete?:string, inout?:string}"
|
|
Index: "array{type:string, columns:list<string>, lengths:list<numeric-string>, descs:list<?bool>}"
|
|
ForeignKey: "array{db:string, ns?:string, table:string, source:list<string>, target:list<string>, on_delete:string, on_update:string}"
|
|
Trigger: "array{Trigger?:string, Timing?:string, Event?:string, Of?:string, Type?:string, Statement?:string}"
|
|
Routine: "array{name?:string, fields:list<array{field:string, type:string, length:?string, unsigned:string, null:bool, full_type:string, inout:string, collation:string}>, comment:string, returns?:array, definition:string, language?:string}"
|
|
BackwardKey: "array{name:string, keys:string[][]}"
|