Skip to content
This repository was archived by the owner on Oct 2, 2020. It is now read-only.

Commit cf39a6e

Browse files
author
roettigl
committed
[Techdivision] Add PHP 7.3 support
1 parent a0bb85f commit cf39a6e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Magento/Mtf/Client/Element/SelectElement.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function dragAndDrop(ElementInterface $target)
9191
*/
9292
protected function escapeQuotes($toEscape)
9393
{
94-
if (strpos($toEscape, '"') !== false && strpos($toEscape, "'" != false)) {
94+
if (strpos($toEscape, '"') !== false && strpos($toEscape, "'") !== false) {
9595
$subStrings = explode('"', $toEscape);
9696
$escaped = "concat(";
9797
$first = true;
@@ -106,7 +106,7 @@ protected function escapeQuotes($toEscape)
106106
return $escaped;
107107
}
108108

109-
if (strpos($toEscape, '"' !== false)) {
109+
if (strpos($toEscape, '"') !== false) {
110110
return sprintf("'%s'", $toEscape);
111111
}
112112

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"keywords": ["automation", "magento", "testing"],
66
"license": "OSL-3.0",
77
"require": {
8-
"php": ">=5.4.0|~7.2.0",
8+
"php": "~7.1.0||~7.2.0||~7.3.0",
99
"phpunit/phpunit": "~6.5.0",
1010
"phpunit/phpunit-selenium": "~4.1.0",
1111
"symfony/console": "~4.1.0",

0 commit comments

Comments
 (0)