Skip to content

Commit 9d763be

Browse files
committed
feat: drop support for PHP < 8.1, symfony < 6.4
1 parent 9525d11 commit 9d763be

File tree

3 files changed

+4
-13
lines changed

3 files changed

+4
-13
lines changed

src/BazingaGeocoderBundle.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@
2323
*/
2424
class BazingaGeocoderBundle extends Bundle
2525
{
26-
/**
27-
* @return void
28-
*/
29-
public function build(ContainerBuilder $container)
26+
public function build(ContainerBuilder $container): void
3027
{
3128
parent::build($container);
3229

src/DataCollector/GeocoderDataCollector.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,14 @@ public function __construct()
3434
$this->data['providers'] = [];
3535
}
3636

37-
/**
38-
* @return void
39-
*/
40-
public function reset()
37+
public function reset(): void
4138
{
4239
$this->instances = [];
4340
$this->data['queries'] = [];
4441
$this->data['providers'] = [];
4542
}
4643

47-
/**
48-
* @return void
49-
*/
50-
public function collect(Request $request, Response $response, ?\Throwable $exception = null)
44+
public function collect(Request $request, Response $response, ?\Throwable $exception = null): void
5145
{
5246
if (!empty($this->data['queries'])) {
5347
// To avoid collection more that once.

tests/Functional/GeocoderListenerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ protected static function createKernel(array $options = []): KernelInterface
6363
$kernel->addTestConfig(static function (ContainerBuilder $container) {
6464
$container->prependExtensionConfig('doctrine', [
6565
'orm' => [
66-
#'report_fields_where_declared' => true,
66+
// 'report_fields_where_declared' => true,
6767
],
6868
]);
6969

0 commit comments

Comments
 (0)