From 3a10a5701b63d8913d27ad8a925aa24e080dc0ea Mon Sep 17 00:00:00 2001 From: Christopher Georg Date: Mon, 22 Dec 2025 11:27:04 +0100 Subject: [PATCH 1/2] test: remove outdated PHP 7 listener --- tests/Functional/config/listener_php7.yml | 33 ----------------------- 1 file changed, 33 deletions(-) delete mode 100644 tests/Functional/config/listener_php7.yml diff --git a/tests/Functional/config/listener_php7.yml b/tests/Functional/config/listener_php7.yml deleted file mode 100644 index d13fa8ca..00000000 --- a/tests/Functional/config/listener_php7.yml +++ /dev/null @@ -1,33 +0,0 @@ -doctrine: - orm: - mappings: - App: - is_bundle: false - type: annotation - dir: '%kernel.project_dir%/tests/Functional/Fixtures/Entity' - prefix: 'Bazinga\GeocoderBundle\Tests\Functional\Fixtures\Entity' - alias: App - -bazinga_geocoder: - profiling: - enabled: false - providers: - acme: - factory: Bazinga\GeocoderBundle\ProviderFactory\NominatimFactory - options: - root_url: 'https://nominatim.openstreetmap.org' - user_agent: 'geocoder-php test_suite' - -services: - Bazinga\GeocoderBundle\Mapping\Driver\AnnotationDriver: - class: Bazinga\GeocoderBundle\Mapping\Driver\AnnotationDriver - arguments: - - '@annotations.reader' - - Bazinga\GeocoderBundle\Doctrine\ORM\GeocoderListener: - class: Bazinga\GeocoderBundle\Doctrine\ORM\GeocoderListener - arguments: - - '@bazinga_geocoder.provider.acme' - - '@Bazinga\GeocoderBundle\Mapping\Driver\AnnotationDriver' - tags: - - { name: doctrine.event_listener, event: onFlush } From 5a3276d8ffc30bc42180db158aa1e50b910495a7 Mon Sep 17 00:00:00 2001 From: Christopher Georg Date: Mon, 22 Dec 2025 11:29:38 +0100 Subject: [PATCH 2/2] test: remove outdated PHP 7 listener --- tests/Functional/GeocoderListenerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Functional/GeocoderListenerTest.php b/tests/Functional/GeocoderListenerTest.php index a9109530..5f550463 100644 --- a/tests/Functional/GeocoderListenerTest.php +++ b/tests/Functional/GeocoderListenerTest.php @@ -109,7 +109,7 @@ public function testPersistForProperty(): void } $kernel->addTestConfig(__DIR__.'/config/listener.yml'); - $kernel->addTestConfig(__DIR__.'/config/listener_'.(PHP_VERSION_ID >= 80000 ? 'php8' : 'php7').'.yml'); + $kernel->addTestConfig(__DIR__.'/config/listener_php8.yml'); }]); $container = self::getContainer();