File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
app/code/Magento/SalesGraphQl/Model/Resolver/CustomerOrders/Query
lib/internal/Magento/Framework/Backup/Filesystem/Rollback Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ class OrderFilter
42
42
* @param FilterBuilder $filterBuilder
43
43
* @param FilterGroupBuilder $filterGroupBuilder
44
44
* @param string[] $fieldTranslatorArray
45
+ *
46
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
45
47
*/
46
48
public function __construct (
47
49
ScopeConfigInterface $ scopeConfig ,
Original file line number Diff line number Diff line change @@ -165,6 +165,7 @@ protected function _cleanupFtp()
165
165
);
166
166
167
167
foreach ($ iterator as $ item ) {
168
+ // @phpstan-ignore-next-line
168
169
$ ftpPath = $ this ->_snapshot ->getFtpPath () . '/ ' . str_replace ($ rootDir ?? '' , '' , $ item ->__toString ());
169
170
$ ftpPath = str_replace ('\\' , '/ ' , $ ftpPath );
170
171
@@ -193,6 +194,7 @@ protected function _uploadBackupToFtp($tmpDir)
193
194
);
194
195
195
196
foreach ($ filesystemIterator as $ item ) {
197
+ // @phpstan-ignore-next-line
196
198
$ ftpPath = $ this ->_snapshot ->getFtpPath () . '/ ' . str_replace ($ tmpDir ?? '' , '' , $ item ->__toString ());
197
199
$ ftpPath = str_replace ('\\' , '/ ' , $ ftpPath );
198
200
You can’t perform that action at this time.
0 commit comments