feat: replace *Service suffix with role-based class names

This commit is contained in:
Björn Fromme
2026-04-16 13:34:54 +02:00
parent 0d2cc5b998
commit d1c92f2957
88 changed files with 435 additions and 435 deletions
+6 -6
View File
@@ -6,8 +6,8 @@ namespace App\Tests\Command;
use App\BusProNet\XmlLoader\TravelLoader;
use App\Command\BpnXmlSyncCommand;
use App\Service\TravelDataService;
use App\Service\TravelSnapshotService;
use App\Service\TravelDataProvider;
use App\Service\TravelSnapshotManager;
use League\Flysystem\DirectoryListing;
use League\Flysystem\FilesystemOperator;
use PHPUnit\Framework\TestCase;
@@ -23,8 +23,8 @@ class BpnXmlSyncCommandTest extends TestCase
private CacheInterface $cache;
private LoggerInterface $logger;
private TravelLoader $travelLoader;
private TravelDataService $travelDataService;
private TravelSnapshotService $travelSnapshotService;
private TravelDataProvider $travelDataService;
private TravelSnapshotManager $travelSnapshotService;
private BpnXmlSyncCommand $command;
protected function tearDown(): void
@@ -42,8 +42,8 @@ class BpnXmlSyncCommandTest extends TestCase
$this->cache = $this->createMock(CacheInterface::class);
$this->logger = $this->createMock(LoggerInterface::class);
$this->travelLoader = $this->createMock(TravelLoader::class);
$this->travelDataService = $this->createMock(TravelDataService::class);
$this->travelSnapshotService = $this->createMock(TravelSnapshotService::class);
$this->travelDataService = $this->createMock(TravelDataProvider::class);
$this->travelSnapshotService = $this->createMock(TravelSnapshotManager::class);
$this->command = new BpnXmlSyncCommand(
$this->xmlSource,