chore: code cleanup with rector and php-cs-fixer

This commit is contained in:
Björn Fromme
2026-05-04 17:20:01 +02:00
parent d211425ff2
commit 1fa8f88a6d
38 changed files with 130 additions and 98 deletions
+2 -3
View File
@@ -7,8 +7,8 @@ namespace App\Command;
use App\BusProNet\Model\XmlExportInfo;
use App\Model\BpnXmlSnapshotRefreshResult;
use App\Model\BpnXmlSyncTarget;
use App\Service\BpnXmlSyncManager;
use App\Service\BpnXmlSnapshotRefreshManager;
use App\Service\BpnXmlSyncManager;
use League\Flysystem\FilesystemException;
use Psr\Log\LoggerInterface;
use Symfony\Component\Console\Attribute\AsCommand;
@@ -183,8 +183,7 @@ class BpnXmlSyncCommand extends Command
bool $dryRun,
SymfonyStyle $io,
OutputInterface $output,
): array
{
): array {
$datasetName = $target->name;
$remoteInfo = $this->syncManager->readRemoteInfo($target->source, $datasetName);
@@ -32,9 +32,9 @@ final class MailjetNewsletterWebhookCommand extends Command
public function __construct(
private readonly MailjetApiClient $mailjetApiClient,
#[Autowire('%env(APP_BASE_URL)%')]
#[Autowire(env: 'APP_BASE_URL')]
private readonly string $defaultBaseUrl,
#[Autowire('%env(MAILJET_WEBHOOK_BASIC_PASSWORD)%')]
#[Autowire(env: 'MAILJET_WEBHOOK_BASIC_PASSWORD')]
private readonly string $basicAuthPassword,
private readonly LoggerInterface $logger,
) {