From 80445234034ace1b127e056c50ea1a4b3598ca31 Mon Sep 17 00:00:00 2001 From: Harald Deiser Date: Mon, 1 Jul 2019 14:45:15 +0200 Subject: [PATCH 1/2] MC-17912: Fixed strpos error --- Magento/Mtf/Client/Element/SelectElement.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Magento/Mtf/Client/Element/SelectElement.php b/Magento/Mtf/Client/Element/SelectElement.php index b397bd8..3f10f29 100644 --- a/Magento/Mtf/Client/Element/SelectElement.php +++ b/Magento/Mtf/Client/Element/SelectElement.php @@ -91,7 +91,7 @@ public function dragAndDrop(ElementInterface $target) */ protected function escapeQuotes($toEscape) { - if (strpos($toEscape, '"') !== false && strpos($toEscape, "'" != false)) { + if (strpos($toEscape, '"') !== false && strpos($toEscape, "'") !== false) { $subStrings = explode('"', $toEscape); $escaped = "concat("; $first = true; @@ -106,7 +106,7 @@ protected function escapeQuotes($toEscape) return $escaped; } - if (strpos($toEscape, '"' !== false)) { + if (strpos($toEscape, '"') !== false) { return sprintf("'%s'", $toEscape); } From e6d520c004f336fcfcb69375298f22ff769bda6c Mon Sep 17 00:00:00 2001 From: Falk Ulbricht Date: Sun, 7 Jul 2019 10:24:29 +0200 Subject: [PATCH 2/2] MC-16705: Update composer.json for 7.3 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index e4d0622..047353f 100755 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "keywords": ["automation", "magento", "testing"], "license": "OSL-3.0", "require": { - "php": ">=5.4.0|~7.2.0", + "php": "~7.1.0||~7.2.0||~7.3.0", "phpunit/phpunit": "~6.5.0", "phpunit/phpunit-selenium": "~4.1.0", "symfony/console": "~4.1.0",