feat: upgrade project to symfony 7.4

This commit is contained in:
Björn Fromme committed 2026-08-31 09:03:44 +02:00
1 parent c1fa08fed0
commit 010cfe56b2
29 files changed
+1391 -1133

No files matched your search

@@ -4,7 +4,7 @@ namespace App\BusProNet\XmlParser;
use App\BusProNet\ApiClient;
use App\BusProNet\Exception\ResponseParserException;
use Symfony\Component\DomCrawler\Crawler;
use App\BusProNet\XmlCrawlerFactory;
class ApiResponseParser extends AbstractParser
{
@@ -14,7 +14,7 @@ class ApiResponseParser extends AbstractParser
/** @param array<string, mixed> $additionalArgs */
public function parseXmlString(string $type, string $xml, array $additionalArgs = []): mixed
{
$crawler = new Crawler($xml);
$crawler = XmlCrawlerFactory::create($xml);
if (0 === $crawler->count()) {
throw new ResponseParserException('Empty response received from server');