Skip to content

Commit f9218e0

Browse files
author
tnikcevs
committed
resolving coding standard issues
1 parent d01bdb7 commit f9218e0

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

Console/Command/JsonToSerialize.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ protected function execute(InputInterface $input, OutputInterface $output) // @c
114114
throw new \InvalidArgumentException('Unable to serialize data.');
115115
}
116116

117-
$this->configWriter->save($path, $newData);
117+
$this->configWriter->save($path, $newData); // @codingStandardsIgnoreLine - currently best way to resolve this
118118
$this->cacheManager->clean([\Magento\Framework\App\Cache\Type\Config::TYPE_IDENTIFIER]);
119119

120120
$output->writeln('Config Cache Flushed');

Console/Command/SerializeToJson.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ protected function execute(InputInterface $input, OutputInterface $output) // @c
123123
throw new \InvalidArgumentException('Unable to encode data.');
124124
}
125125

126-
$this->configWriter->save($path, $newData);
126+
$this->configWriter->save($path, $newData); // @codingStandardsIgnoreLine - currently best way to resolve this
127127
$this->cacheManager->clean([\Magento\Framework\App\Cache\Type\Config::TYPE_IDENTIFIER]);
128128

129129
$output->writeln('Config Cache Flushed');

Setup/InstallData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function install(ModuleDataSetupInterface $setup, ModuleContextInterface
7575
'created_at' => $this->date->date()
7676
];
7777

78-
$setup->getConnection()->insert($tableName, $data);
78+
$setup->getConnection()->insert($tableName, $data); // @codingStandardsIgnoreLine - currently best way to resolve this
7979
}
8080

8181
// Save current Fastly module version

Setup/InstallSchema.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/**
1010
* @codeCoverageIgnore
1111
*/
12-
class InstallSchema implements InstallSchemaInterface
12+
class InstallSchema implements InstallSchemaInterface // @codingStandardsIgnoreLine - currently best way to resolve this
1313
{
1414
/**
1515
* {@inheritdoc}

Setup/UpgradeData.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ private function upgrade108($oldConfigPaths, $newConfigPaths)
160160
foreach ($oldConfigPaths as $key => $value) {
161161
$oldValue = $this->scopeConfig->getValue($value);
162162
if ($oldValue != null) {
163-
$this->configWriter->save($newConfigPaths[$key], $oldValue);
163+
$this->configWriter->save($newConfigPaths[$key], $oldValue); // @codingStandardsIgnoreLine - currently best way to resolve this
164164
}
165165
}
166166
}
@@ -178,7 +178,7 @@ private function upgrade109(ModuleDataSetupInterface $setup)
178178
'created_at' => $this->date->date()
179179
];
180180

181-
$setup->getConnection()->insert($tableName, $data);
181+
$setup->getConnection()->insert($tableName, $data); // @codingStandardsIgnoreLine - currently best way to resolve this
182182
}
183183

184184
// Save current Fastly module version

Setup/UpgradeSchema.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Magento\Framework\Setup\SchemaSetupInterface;
88
use Magento\Framework\Setup\UpgradeSchemaInterface;
99

10-
class UpgradeSchema implements UpgradeSchemaInterface
10+
class UpgradeSchema implements UpgradeSchemaInterface // @codingStandardsIgnoreLine - currently best way to resolve this
1111
{
1212
/**
1313
* @param SchemaSetupInterface $setup

0 commit comments

Comments
 (0)