Skip to content

Commit 64dd3b3

Browse files
authored
Merge branch 'develop' into MQE-1068
2 parents 8353881 + bf22ecb commit 64dd3b3

File tree

158 files changed

+2753
-2505
lines changed

Some content is hidden

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

158 files changed

+2753
-2505
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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"require": {
1212
"php": "7.0.2|7.0.4|~7.0.6|~7.1.0|~7.2.0",
1313
"allure-framework/allure-codeception": "~1.2.6",
14-
"codeception/codeception": "~2.3.4",
14+
"codeception/codeception": "~2.3.4 || ~2.4.0",
1515
"consolidation/robo": "^1.0.0",
1616
"epfremme/swagger-php": "^2.0",
1717
"flow/jsonpath": ">0.2",
@@ -22,8 +22,8 @@
2222
"vlucas/phpdotenv": "^2.4"
2323
},
2424
"require-dev": {
25-
"squizlabs/php_codesniffer": "1.5.3",
26-
"sebastian/phpcpd": "~3.0",
25+
"squizlabs/php_codesniffer": "~3.2",
26+
"sebastian/phpcpd": "~3.0 || ~4.0",
2727
"brainmaestro/composer-git-hooks": "^2.3",
2828
"doctrine/cache": "<1.7.0",
2929
"codeception/aspect-mock": "^3.0",

composer.lock

Lines changed: 68 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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)