Skip to content

Commit 67a1579

Browse files
committed
chore: solve phpstan deprecations
1 parent 23f8fd6 commit 67a1579

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

phpstan.neon

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,8 @@ parameters:
2323
tag\\:v6\\.7\\.0 \\- reason\\:return\\-type\\-change \\- return type will be changed to int\\|string$#
2424
"""
2525
reportUnmatched: false
26+
-
27+
identifier: shopware.noEntityRepositoryInLoop
28+
path: src/Command/CleanupExcludesCommand.php
29+
reportUnmatched: false
2630

src/Command/CleanupExcludesCommand.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int
101101
$progressBar->start();
102102

103103
$deleteIds = \array_chunk($deleteIds, 1000);
104-
/** @phpstan-ignore shopware.noEntityRepositoryInLoop */
105104
foreach ($deleteIds as $ids) {
106105
$this->tinectRedirectsRedirectRepository->delete(\array_map(static fn ($id) => ['id' => $id], $ids), $context);
107106
$progressBar->advance(\count($ids));

0 commit comments

Comments
 (0)