Skip to content
Snippets Groups Projects
Commit 226ea7f5 authored by Olga Kopylova's avatar Olga Kopylova
Browse files

MAGETWO-58691: Refactor Module_Quote, Module_Sales

- fixed static test
parent 4efeb173
Branches
No related merge requests found
......@@ -114,7 +114,8 @@ class UnsecureFunctionsUsageTest extends \PHPUnit_Framework_TestCase
if (strpos($path, $directory) === 0) {
if (preg_match($fileExtensions, $path)) {
foreach ($blackListFiles as $blackListFile) {
if (preg_match($blackListFile, $path)) {
$blackListFile = preg_quote($blackListFile, '#');
if (preg_match('#' . $blackListFile . '#', $path)) {
return false;
}
}
......
......@@ -4,6 +4,7 @@
* See COPYING.txt for license details.
*/
return [
'/Test\/Unit/',
'/lib\/internal\/Magento\/Framework\/DB\/Adapter\/Pdo\/Mysql\.php/',
'Test/Unit',
'lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php',
'lib/internal/Magento/Framework/Serialize/SerializerInterface.php',
];
# "Component Type" "Component Name" "Path Pattern"
module * /
library * /
setup
pub
\ No newline at end of file
pub
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment