2020-08-22 15:53:10 +02:00
|
|
|
parameters:
|
|
|
|
level: 8
|
|
|
|
paths:
|
|
|
|
- classes
|
2020-10-31 01:53:40 +01:00
|
|
|
- conf
|
2020-08-22 15:53:10 +02:00
|
|
|
- functions
|
|
|
|
- inc
|
2020-10-31 00:19:26 +01:00
|
|
|
- public
|
2022-11-17 19:13:13 +01:00
|
|
|
- src
|
2020-08-22 15:53:10 +02:00
|
|
|
- tests
|
|
|
|
ignoreErrors:
|
|
|
|
- '#Class MDDBConnectionImpossible not found.#'
|
|
|
|
- '#Class MDMysqliExpectedError not found.#'
|
2022-11-17 19:13:13 +01:00
|
|
|
excludePaths:
|
|
|
|
- classes/MDAllowedValueSets/l18n
|
2020-11-25 17:01:46 +01:00
|
|
|
bootstrapFiles:
|
|
|
|
- inc/constants.php
|
|
|
|
disallowedFunctionCalls:
|
|
|
|
-
|
|
|
|
function: 'ini_alter()'
|
|
|
|
message: 'use ini_set instead'
|
|
|
|
-
|
|
|
|
function: 'diskfreespace()'
|
|
|
|
message: 'use disk_free_space instead'
|
|
|
|
-
|
|
|
|
function: 'php_sapi_name()'
|
|
|
|
message: 'use PHP_SAPI instead'
|
|
|
|
-
|
|
|
|
function: 'set_file_buffer()'
|
|
|
|
message: 'use stream_set_write_buffer instead'
|
|
|
|
- function: 'dl()'
|
|
|
|
- function: 'opcache_get_status()'
|
|
|
|
- function: 'phpinfo()'
|
|
|
|
- function: 'parse_ini_file()'
|
|
|
|
- function: 'show_source()'
|
|
|
|
- function: 'highlight_file()'
|
|
|
|
- function: 'php_uname()'
|
|
|
|
- function: 'phpcredits()'
|
|
|
|
- function: 'php_strip_whitespace()'
|
|
|
|
- function: 'popen()'
|
|
|
|
- function: 'pclose()'
|
|
|
|
- function: 'virtual()'
|
|
|
|
- function: 'passthru()'
|
|
|
|
- function: 'proc_close()'
|
|
|
|
- function: 'proc_get_status()'
|
|
|
|
- function: 'proc_nice()'
|
|
|
|
- function: 'proc_open()'
|
|
|
|
- function: 'proc_terminate()'
|
|
|
|
- function: 'system()'
|
|
|
|
- function: 'get_current_user()'
|
|
|
|
- function: 'getmyuid()'
|
|
|
|
- function: 'getmygid()'
|
|
|
|
- function: 'getmypid()'
|
|
|
|
- function: 'getmyinode()'
|
|
|
|
- function: 'getlastmod()'
|
|
|
|
- function: 'putenv()'
|
|
|
|
- function: 'chgrp()'
|
|
|
|
- function: 'chgrp()'
|
|
|
|
- function: 'lchgrp()'
|
|
|
|
- function: 'lchown()'
|
|
|
|
- function: 'link()'
|
|
|
|
- function: 'linkinfo()'
|
|
|
|
- function: 'symlink()'
|
|
|
|
includes:
|
|
|
|
- classes/MD_QA/rules/phpstan-rules.neon
|
|
|
|
- vendor/spaze/phpstan-disallowed-calls/extension.neon
|
2022-11-17 19:13:13 +01:00
|
|
|
- phpstan-baseline.neon
|