mirror of
https://github.com/standardebooks/web.git
synced 2025-07-16 03:16:36 -04:00
Add Safe PHP functions
This commit is contained in:
parent
04a956886a
commit
58cc098058
260 changed files with 49458 additions and 45 deletions
15
vendor/thecodingmachine/safe/generator/config/ignoredFunctions.php
vendored
Normal file
15
vendor/thecodingmachine/safe/generator/config/ignoredFunctions.php
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
return [
|
||||
'array_key_exists',
|
||||
'is_executable',
|
||||
'is_uploaded_file',
|
||||
'stream_is_local',
|
||||
'is_soap_fault',
|
||||
// Type hints to object OCI-Lob (weird class that has a dash in its name!)
|
||||
'oci_lob_copy',
|
||||
'func_get_arg',
|
||||
//'mktime', // 7th parameter has been removed in PHP 7
|
||||
'call_user_func_array',
|
||||
'mb_check_encoding',
|
||||
'array_search',
|
||||
];
|
52
vendor/thecodingmachine/safe/generator/config/ignoredModules.php
vendored
Normal file
52
vendor/thecodingmachine/safe/generator/config/ignoredModules.php
vendored
Normal file
|
@ -0,0 +1,52 @@
|
|||
<?php
|
||||
return [
|
||||
'apd',
|
||||
'bbcode',
|
||||
'bcompiler',
|
||||
'cairo',
|
||||
'chdb',
|
||||
'classkit',
|
||||
'crack',
|
||||
'cyrus',
|
||||
'dba',
|
||||
'dbase',
|
||||
'dbplus',
|
||||
'dbx',
|
||||
'dio',
|
||||
'enchant',
|
||||
'fam',
|
||||
'fann',
|
||||
'fbsql',
|
||||
'fdf',
|
||||
'filepro',
|
||||
'fribidi',
|
||||
'gupnp',
|
||||
'id3',
|
||||
'ifx',
|
||||
'kadm5',
|
||||
'maxdb',
|
||||
'mcrypt',
|
||||
'mhash',
|
||||
'mnogosearch',
|
||||
'ncurses',
|
||||
'newt',
|
||||
'nis',
|
||||
'nsapi',
|
||||
'openal',
|
||||
'paradox',
|
||||
'proctitle',
|
||||
'radius',
|
||||
'rpmreader',
|
||||
'runkit',
|
||||
'session_pgsql',
|
||||
'snmp',
|
||||
'sqlite',
|
||||
'suhosin',
|
||||
'svn',
|
||||
'sybase',
|
||||
'tidy',
|
||||
'wddx',
|
||||
'win32ps',
|
||||
'wincache',
|
||||
'xattr',
|
||||
];
|
12
vendor/thecodingmachine/safe/generator/config/specialCasesFunctions.php
vendored
Normal file
12
vendor/thecodingmachine/safe/generator/config/specialCasesFunctions.php
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
/**
|
||||
* A list of functions that must be dealt with manually.
|
||||
* They are declared in lib/special_cases.php
|
||||
*/
|
||||
return [
|
||||
'json_decode',
|
||||
'apc_fetch',
|
||||
'apcu_fetch',
|
||||
'preg_replace',
|
||||
'openssl_encrypt',
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue