Skip to content

Commit 19c7859

Browse files
committed
fix static test error
1 parent e67dd09 commit 19c7859

File tree

1 file changed

+6
-6
lines changed
  • src/Magento/FunctionalTestingFramework/DataGenerator/Handlers/SecretStorage

1 file changed

+6
-6
lines changed

src/Magento/FunctionalTestingFramework/DataGenerator/Handlers/SecretStorage/FileStorage.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
namespace Magento\FunctionalTestingFramework\DataGenerator\Handlers\SecretStorage;
88

9-
use Magento\FunctionalTestingFramework\Exceptions\TestFrameworkException;
109
use Magento\FunctionalTestingFramework\Config\MftfApplicationConfig;
10+
use Magento\FunctionalTestingFramework\Exceptions\TestFrameworkException;
1111
use Magento\FunctionalTestingFramework\Util\Logger\LoggingUtil;
1212
use Magento\FunctionalTestingFramework\Util\Path\FilePathFormatter;
1313

@@ -93,18 +93,18 @@ private function readInCredentialsFile()
9393
*
9494
* @param array $credContents
9595
* @return array
96+
* @throws TestFrameworkException
9697
*/
9798
private function encryptCredFileContents($credContents)
9899
{
99100
$encryptedCreds = [];
100101
foreach ($credContents as $credValue) {
101102
if (substr($credValue, 0, 1) === '#' || empty($credValue)) {
102103
continue;
103-
}
104-
elseif (strpos($credValue, "=") === false){
105-
throw new TestFrameworkException(
106-
$credValue." not configured correctly in .credentials file"
107-
);
104+
} elseif (strpos($credValue, "=") === false) {
105+
throw new TestFrameworkException(
106+
$credValue . " not configured correctly in .credentials file"
107+
);
108108
}
109109

110110
list($key, $value) = explode("=", $credValue, 2);

0 commit comments

Comments
 (0)