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
4242 * @param FilterBuilder $filterBuilder
4343 * @param FilterGroupBuilder $filterGroupBuilder
4444 * @param string[] $fieldTranslatorArray
45+ *
46+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
4547 */
4648 public function __construct (
4749 ScopeConfigInterface $ scopeConfig ,
Original file line number Diff line number Diff line change @@ -165,6 +165,7 @@ protected function _cleanupFtp()
165165 );
166166
167167 foreach ($ iterator as $ item ) {
168+ // @phpstan-ignore-next-line
168169 $ ftpPath = $ this ->_snapshot ->getFtpPath () . '/ ' . str_replace ($ rootDir ?? '' , '' , $ item ->__toString ());
169170 $ ftpPath = str_replace ('\\' , '/ ' , $ ftpPath );
170171
@@ -193,6 +194,7 @@ protected function _uploadBackupToFtp($tmpDir)
193194 );
194195
195196 foreach ($ filesystemIterator as $ item ) {
197+ // @phpstan-ignore-next-line
196198 $ ftpPath = $ this ->_snapshot ->getFtpPath () . '/ ' . str_replace ($ tmpDir ?? '' , '' , $ item ->__toString ());
197199 $ ftpPath = str_replace ('\\' , '/ ' , $ ftpPath );
198200
You can’t perform that action at this time.
0 commit comments