Skip to content

Commit 02e8de5

Browse files
committed
Merge branch 'develop' into MQE-1074
# Conflicts: # composer.json # composer.lock
2 parents ed8018e + 95062cf commit 02e8de5

File tree

152 files changed

+2480
-2438
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+2480
-2438
lines changed

bin/blacklist.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# THIS FILE CANNOT CONTAIN BLANK LINES #
55
###################################################################
66
bin/blacklist.txt
7-
dev/tests/static/Magento/Sniffs/Annotations/Helper.php
8-
dev/tests/static/Magento/Sniffs/Annotations/RequireAnnotatedAttributesSniff.php
9-
dev/tests/static/Magento/Sniffs/Annotations/RequireAnnotatedMethodsSniff.php
7+
dev/tests/static/Magento/Sniffs/Commenting/FunctionCommentSniff.php
8+
dev/tests/static/Magento/Sniffs/Commenting/VariableCommentSniff.php
109
dev/tests/verification/_generated

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"vlucas/phpdotenv": "^2.4"
2323
},
2424
"require-dev": {
25-
"squizlabs/php_codesniffer": "1.5.3",
25+
"squizlabs/php_codesniffer": "~3.2",
2626
"brainmaestro/composer-git-hooks": "^2.3",
2727
"sebastian/phpcpd": "~3.0 || ~4.0",
2828
"doctrine/cache": "<1.7.0",

dev/tests/_bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
// set mftf appplication context
3131
\Magento\FunctionalTestingFramework\Config\MftfApplicationConfig::create(
3232
true,
33-
\Magento\FunctionalTestingFramework\Config\MftfApplicationConfig::GENERATION_PHASE,
33+
\Magento\FunctionalTestingFramework\Config\MftfApplicationConfig::UNIT_TEST_PHASE,
3434
true,
3535
false
3636
);

dev/tests/functional/_bootstrap.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* See COPYING.txt for license details.
55
*/
66

7-
define('PROJECT_ROOT', dirname(dirname(dirname(__DIR__))));
7+
defined('PROJECT_ROOT') || define('PROJECT_ROOT', dirname(dirname(dirname(__DIR__))));
88
require_once realpath(PROJECT_ROOT . '/vendor/autoload.php');
99

1010
//Load constants from .env file
@@ -29,4 +29,13 @@
2929
foreach ($_ENV as $key => $var) {
3030
defined($key) || define($key, $var);
3131
}
32+
33+
defined('MAGENTO_CLI_COMMAND_PATH') || define(
34+
'MAGENTO_CLI_COMMAND_PATH',
35+
'dev/tests/acceptance/utils/command.php'
36+
);
37+
$env->setEnvironmentVariable('MAGENTO_CLI_COMMAND_PATH', MAGENTO_CLI_COMMAND_PATH);
38+
39+
defined('MAGENTO_CLI_COMMAND_PARAMETER') || define('MAGENTO_CLI_COMMAND_PARAMETER', 'command');
40+
$env->setEnvironmentVariable('MAGENTO_CLI_COMMAND_PARAMETER', MAGENTO_CLI_COMMAND_PARAMETER);
3241
}

0 commit comments

Comments
 (0)