Expect use of some of MD_STD's wrappers over default functions

More are to follow.
This commit is contained in:
Joshua Ramon Enslin 2021-07-20 04:01:32 +02:00
parent 10d5759016
commit 06a1c0db64
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -42,6 +42,28 @@ parameters:
- MDMysqliExpectedError - MDMysqliExpectedError
- MDgenericInvalidInputsException - MDgenericInvalidInputsException
- MDExpectedException - MDExpectedException
disallowedFunctionCalls:
-
function: 'file_get_contents()'
message: 'use MD_STD::file_get_contents() instead'
-
function: 'realpath()'
message: 'use MD_STD::realpath() instead'
-
function: 'unlink()'
message: 'use MD_STD::unlink() instead'
-
function: 'scandir()'
message: 'use MD_STD::scandir() instead'
-
function: 'move_uploaded_file()'
message: 'use MD_STD_IN::move_uploaded_file() instead'
-
function: 'mkdir()'
message: 'use MD_STD_IN::mkdir() instead'
-
function: 'MD_STD::startsWith()'
message: 'use str_starts_with() instead'
parametersSchema: parametersSchema:
ergebnis: structure([ ergebnis: structure([