Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
unsecure_php_functions.php
Go to the documentation of this file.
1 <?php
21 return [
22  'unserialize' => [
23  'replacement' => '\Magento\Framework\Serialize\SerializerInterface::unserialize',
24  'exclude' => [
25  ['type' => 'library', 'name' => 'magento/framework', 'path' => 'DB/Adapter/Pdo/Mysql.php'],
26  ['type' => 'library', 'name' => 'magento/framework', 'path' => 'Serialize/Serializer/Serialize.php'],
27  ]
28  ],
29  'serialize' => [
30  'replacement' => '\Magento\Framework\Serialize\SerializerInterface::serialize',
31  'exclude' => [
32  ['type' => 'library', 'name' => 'magento/framework', 'path' => 'DB/Adapter/Pdo/Mysql.php'],
33  ['type' => 'library', 'name' => 'magento/framework', 'path' => 'Serialize/Serializer/Serialize.php'],
34  ]
35  ],
36  'eval' => [
37  'replacement' => '',
38  'exclude' => []
39  ],
40  'md5' => [
41  'replacement' => '',
42  'exclude' => [
43  /*
44  * Usage of md5 in MessageQueue key generation algorithm
45  * added to exclude list to avoid backward incompatible changes
46  */
47  [
48  'type' => 'library',
49  'name' => 'magento/framework',
50  'path' => 'MessageQueue/Rpc/Publisher.php',
51  ],
52  [
53  'type' => 'library',
54  'name' => 'magento/framework',
55  'path' => 'MessageQueue/MessageController.php',
56  ],
57  [
58  'type' => 'library',
59  'name' => 'magento/framework',
60  'path' => 'MessageQueue/Publisher.php',
61  ],
62  [
63  'type' => 'module',
64  'name' => 'Magento_AsynchronousOperations',
65  'path' => 'Model/ResourceModel/System/Message/Collection/Synchronized/Plugin.php'
66  ]
67  ]
68  ],
69  'srand' => [
70  'replacement' => '',
71  'exclude' => []
72  ],
73  'mt_srand' => [
74  'replacement' => '',
75  'exclude' => []
76  ],
77 ];