diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a00d49e..7565418 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: uses: actions/checkout@v4 - name: "Install Composer dependencies" - uses: "ramsey/composer-install@v2" + uses: "ramsey/composer-install@v3" with: composer-options: "--optimize-autoloader" @@ -47,7 +47,7 @@ jobs: uses: actions/checkout@v4 - name: "Install Composer dependencies" - uses: "ramsey/composer-install@v2" + uses: "ramsey/composer-install@v3" with: composer-options: "--optimize-autoloader" @@ -64,13 +64,13 @@ jobs: dependencies: ['highest'] php: [ '7.4', '8.0', '8.1', '8.2' ] sf_version: [ '4.4.*', '5.4.*', '6.4.*', '7.0.*' ] - include: - - php: '7.4' - sf_version: '4.4.*' - dependencies: 'lowest' - - php: '7.4' - sf_version: '5.4.*' - dependencies: 'lowest' +# include: +# - php: '7.4' +# sf_version: '4.4.*' +# dependencies: 'lowest' +# - php: '7.4' +# sf_version: '5.4.*' +# dependencies: 'lowest' exclude: - php: '7.4' sf_version: '4.4.*' @@ -98,12 +98,12 @@ jobs: - name: "Install Composer dependencies" env: SYMFONY_REQUIRE: ${{ matrix.sf_version }} - uses: "ramsey/composer-install@v2" + uses: "ramsey/composer-install@v3" with: composer-options: "--optimize-autoloader" dependency-versions: "${{ matrix.dependencies }}" - name: "Run tests" env: - SYMFONY_DEPRECATIONS_HELPER: 'baselineFile=./tests/allowed.json' + SYMFONY_DEPRECATIONS_HELPER: 'ignoreFile=./tests/baseline-ignore' run: ./vendor/bin/simple-phpunit -v diff --git a/composer.json b/composer.json index 4bb8962..830303a 100644 --- a/composer.json +++ b/composer.json @@ -69,7 +69,7 @@ "psr/simple-cache": "^1.0 || ^2.0", "symfony/cache": "^4.4 || ^5.0 || ^6.0 || ^7.0", "symfony/config": "^4.4 || ^5.0 || ^6.0 || ^7.0", - "symfony/phpunit-bridge": "^5.2 || ^6.0 || ^7.0", + "symfony/phpunit-bridge": "^6.1", "symfony/validator": "^4.4 || ^5.0 || ^6.0 || ^7.0", "symfony/var-exporter": "^5.0 || ^6.0 || ^7.0", "symfony/yaml": "^4.4 || ^5.0 || ^6.0 || ^7.0" diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 70f30c8..864b650 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -55,11 +55,6 @@ parameters: count: 1 path: src/DependencyInjection/BazingaGeocoderExtension.php - - - message: "#^Cannot cast mixed to int\\.$#" - count: 2 - path: src/DependencyInjection/BazingaGeocoderExtension.php - - message: "#^Cannot cast mixed to string\\.$#" count: 1 @@ -82,7 +77,7 @@ parameters: - message: "#^Parameter \\#1 \\$id of class Symfony\\\\Component\\\\DependencyInjection\\\\Reference constructor expects string, mixed given\\.$#" - count: 3 + count: 1 path: src/DependencyInjection/BazingaGeocoderExtension.php - diff --git a/src/DataCollector/GeocoderDataCollector.php b/src/DataCollector/GeocoderDataCollector.php index 688932f..0a8ec82 100644 --- a/src/DataCollector/GeocoderDataCollector.php +++ b/src/DataCollector/GeocoderDataCollector.php @@ -47,7 +47,7 @@ public function reset() /** * @return void */ - public function collect(Request $request, Response $response, \Throwable $exception = null) + public function collect(Request $request, Response $response, ?\Throwable $exception = null) { if (!empty($this->data['queries'])) { // To avoid collection more that once. diff --git a/src/DependencyInjection/BazingaGeocoderExtension.php b/src/DependencyInjection/BazingaGeocoderExtension.php index a48ac76..9ea854a 100644 --- a/src/DependencyInjection/BazingaGeocoderExtension.php +++ b/src/DependencyInjection/BazingaGeocoderExtension.php @@ -30,9 +30,9 @@ use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +use Symfony\Component\DependencyInjection\Extension\Extension; use Symfony\Component\DependencyInjection\Loader\YamlFileLoader; use Symfony\Component\DependencyInjection\Reference; -use Symfony\Component\HttpKernel\DependencyInjection\Extension; /** * @author William Durand . diff --git a/src/Plugin/FakeIpPlugin.php b/src/Plugin/FakeIpPlugin.php index 64a8f5c..e45ff2d 100644 --- a/src/Plugin/FakeIpPlugin.php +++ b/src/Plugin/FakeIpPlugin.php @@ -30,7 +30,7 @@ class FakeIpPlugin implements Plugin private ?string $replacement; private ?Generator $faker = null; - public function __construct(?string $needle, string $replacement = null, bool $useFaker = false) + public function __construct(?string $needle, ?string $replacement = null, bool $useFaker = false) { $this->needle = $needle; $this->replacement = $replacement; diff --git a/src/ProviderFactory/AbstractFactory.php b/src/ProviderFactory/AbstractFactory.php index 069ca66..83da203 100644 --- a/src/ProviderFactory/AbstractFactory.php +++ b/src/ProviderFactory/AbstractFactory.php @@ -32,7 +32,7 @@ abstract class AbstractFactory implements ProviderFactoryInterface protected ?ClientInterface $httpClient; - public function __construct(ClientInterface $httpClient = null) + public function __construct(?ClientInterface $httpClient = null) { $this->httpClient = $httpClient; } diff --git a/src/Validator/Constraint/Address.php b/src/Validator/Constraint/Address.php index 17f278c..29a0484 100644 --- a/src/Validator/Constraint/Address.php +++ b/src/Validator/Constraint/Address.php @@ -49,7 +49,7 @@ class Address extends Constraint /** * @param string[]|null $options */ - public function __construct(array $options = null, string $message = null, array $groups = null, $payload = null) + public function __construct(?array $options = null, ?string $message = null, ?array $groups = null, $payload = null) { parent::__construct($options, $groups, $payload); diff --git a/tests/Functional/CustomTestKernel.php b/tests/Functional/CustomTestKernel.php index 393172c..0f7e5ea 100644 --- a/tests/Functional/CustomTestKernel.php +++ b/tests/Functional/CustomTestKernel.php @@ -80,7 +80,7 @@ protected function getKernelParameters(): array /** * @internal */ - public function setAnnotatedClassCache(array $annotatedClasses) + public function setAnnotatedClassCache(array $annotatedClasses): void { file_put_contents(($this->warmupDir ?: $this->getBuildDir()).'/annotations.map', sprintf('getContainerClass(); $buildDir = $this->warmupDir ?: $this->getBuildDir(); diff --git a/tests/Functional/GeocoderListenerTest.php b/tests/Functional/GeocoderListenerTest.php index f86d892..d1b7f64 100644 --- a/tests/Functional/GeocoderListenerTest.php +++ b/tests/Functional/GeocoderListenerTest.php @@ -28,6 +28,7 @@ use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\StreamInterface; +use Symfony\Bridge\Doctrine\ArgumentResolver\EntityValueResolver; use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\HttpKernel\Kernel; @@ -78,6 +79,16 @@ protected static function createKernel(array $options = []): KernelInterface ], ]); } + + if (class_exists(EntityValueResolver::class)) { + $container->prependExtensionConfig('doctrine', [ + 'orm' => [ + 'controller_resolver' => [ + 'auto_mapping' => false, + ], + ], + ]); + } }); } $kernel->handleOptions($options); diff --git a/tests/Functional/Helper/CacheHelperV8.php b/tests/Functional/Helper/CacheHelperV8.php index a8fd141..939ef94 100644 --- a/tests/Functional/Helper/CacheHelperV8.php +++ b/tests/Functional/Helper/CacheHelperV8.php @@ -23,7 +23,7 @@ public function get(string $key, mixed $default = null): mixed { } - public function set(string $key, mixed $value, int|\DateInterval $ttl = null): bool + public function set(string $key, mixed $value, int|\DateInterval|null $ttl = null): bool { return true; } @@ -43,7 +43,7 @@ public function getMultiple(iterable $keys, mixed $default = null): iterable return []; } - public function setMultiple(iterable $values, int|\DateInterval $ttl = null): bool + public function setMultiple(iterable $values, int|\DateInterval|null $ttl = null): bool { return true; } diff --git a/tests/Functional/config/listener.yml b/tests/Functional/config/listener.yml index f5217ad..1091a06 100644 --- a/tests/Functional/config/listener.yml +++ b/tests/Functional/config/listener.yml @@ -8,7 +8,7 @@ doctrine: orm: auto_generate_proxy_classes: true naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware - auto_mapping: true + auto_mapping: false bazinga_geocoder: profiling: diff --git a/tests/allowed.json b/tests/allowed.json deleted file mode 100644 index 938e327..0000000 --- a/tests/allowed.json +++ /dev/null @@ -1,617 +0,0 @@ -[ - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\ProviderFactoryTest::testProviderConfiguration", - "message": "Bazinga\\GeocoderBundle\\ProviderFactory\\GeoIPsFactory is deprecated since 5.6, to be removed in 6.0. See https://github.com/geocoder-php/Geocoder/issues/965", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\ProviderFactoryTest::testProviderConfiguration", - "message": "Bazinga\\GeocoderBundle\\ProviderFactory\\MapzenFactory is deprecated since 5.6, to be removed in 6.0. See https://github.com/geocoder-php/Geocoder/issues/808", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\DependencyInjection\\Compiler\\AddProvidersPassTest::testRegistersProviders", - "message": "Class \"Nyholm\\Psr7\\Factory\\HttplugFactory\" is deprecated since version 1.8, use \"Nyholm\\Psr7\\Factory\\Psr17Factory\" instead.", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForProperty", - "message": "Not enabling lazy ghost objects is deprecated and will not be supported in Doctrine ORM 3.0. Ensure Doctrine\\ORM\\Configuration::setLazyGhostObjectEnabled(true) is called to enable them. (ProxyFactory.php:166 called by EntityManager.php:178, https://github.com/doctrine/orm/pull/10837/, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForProperty", - "message": "Not enabling lazy ghost objects is deprecated and will not be supported in Doctrine ORM 3.0. Ensure Doctrine\\ORM\\Configuration::setLazyGhostObjectEnabled(true) is called to enable them. (ProxyFactory.php:169 called by EntityManager.php:182, https://github.com/doctrine/orm/pull/10837/, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForGetter", - "message": "Not enabling lazy ghost objects is deprecated and will not be supported in Doctrine ORM 3.0. Ensure Doctrine\\ORM\\Configuration::setLazyGhostObjectEnabled(true) is called to enable them. (ProxyFactory.php:166 called by EntityManager.php:178, https://github.com/doctrine/orm/pull/10837/, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForGetter", - "message": "Not enabling lazy ghost objects is deprecated and will not be supported in Doctrine ORM 3.0. Ensure Doctrine\\ORM\\Configuration::setLazyGhostObjectEnabled(true) is called to enable them. (ProxyFactory.php:169 called by EntityManager.php:182, https://github.com/doctrine/orm/pull/10837/, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForInvalidGetter", - "message": "Not enabling lazy ghost objects is deprecated and will not be supported in Doctrine ORM 3.0. Ensure Doctrine\\ORM\\Configuration::setLazyGhostObjectEnabled(true) is called to enable them. (ProxyFactory.php:166 called by EntityManager.php:178, https://github.com/doctrine/orm/pull/10837/, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForInvalidGetter", - "message": "Not enabling lazy ghost objects is deprecated and will not be supported in Doctrine ORM 3.0. Ensure Doctrine\\ORM\\Configuration::setLazyGhostObjectEnabled(true) is called to enable them. (ProxyFactory.php:169 called by EntityManager.php:182, https://github.com/doctrine/orm/pull/10837/, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForEmptyProperty", - "message": "Not enabling lazy ghost objects is deprecated and will not be supported in Doctrine ORM 3.0. Ensure Doctrine\\ORM\\Configuration::setLazyGhostObjectEnabled(true) is called to enable them. (ProxyFactory.php:166 called by EntityManager.php:178, https://github.com/doctrine/orm/pull/10837/, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForEmptyProperty", - "message": "Not enabling lazy ghost objects is deprecated and will not be supported in Doctrine ORM 3.0. Ensure Doctrine\\ORM\\Configuration::setLazyGhostObjectEnabled(true) is called to enable them. (ProxyFactory.php:169 called by EntityManager.php:182, https://github.com/doctrine/orm/pull/10837/, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testDoesNotGeocodeIfAddressNotChanged", - "message": "Not enabling lazy ghost objects is deprecated and will not be supported in Doctrine ORM 3.0. Ensure Doctrine\\ORM\\Configuration::setLazyGhostObjectEnabled(true) is called to enable them. (ProxyFactory.php:166 called by EntityManager.php:178, https://github.com/doctrine/orm/pull/10837/, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testDoesNotGeocodeIfAddressNotChanged", - "message": "Not enabling lazy ghost objects is deprecated and will not be supported in Doctrine ORM 3.0. Ensure Doctrine\\ORM\\Configuration::setLazyGhostObjectEnabled(true) is called to enable them. (ProxyFactory.php:169 called by EntityManager.php:182, https://github.com/doctrine/orm/pull/10837/, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForProperty", - "message": "Since doctrine/doctrine-bundle 2.11: Not setting \"enable_lazy_ghost_objects\" to true is deprecated.", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForGetter", - "message": "Since doctrine/doctrine-bundle 2.11: Not setting \"enable_lazy_ghost_objects\" to true is deprecated.", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForInvalidGetter", - "message": "Since doctrine/doctrine-bundle 2.11: Not setting \"enable_lazy_ghost_objects\" to true is deprecated.", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForEmptyProperty", - "message": "Since doctrine/doctrine-bundle 2.11: Not setting \"enable_lazy_ghost_objects\" to true is deprecated.", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testDoesNotGeocodeIfAddressNotChanged", - "message": "Since doctrine/doctrine-bundle 2.11: Not setting \"enable_lazy_ghost_objects\" to true is deprecated.", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testLoadMetadata", - "message": "Accessing Doctrine\\Common\\Lexer\\Token properties via ArrayAccess is deprecated, use the value, type or position property instead (Token.php:104 called by DocParser.php:691, https://github.com/doctrine/lexer/pull/79, package doctrine/lexer)", - "count": 57 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testIsGeocodable", - "message": "Accessing Doctrine\\Common\\Lexer\\Token properties via ArrayAccess is deprecated, use the value, type or position property instead (Token.php:104 called by DocParser.php:691, https://github.com/doctrine/lexer/pull/79, package doctrine/lexer)", - "count": 2 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testLoadMetadata", - "message": "Accessing Doctrine\\Common\\Lexer\\Token properties via ArrayAccess is deprecated, use the value, type or position property instead (Token.php:108 called by DocParser.php:691, https://github.com/doctrine/lexer/pull/79, package doctrine/lexer)", - "count": 57 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testIsGeocodable", - "message": "Accessing Doctrine\\Common\\Lexer\\Token properties via ArrayAccess is deprecated, use the value, type or position property instead (Token.php:108 called by DocParser.php:691, https://github.com/doctrine/lexer/pull/79, package doctrine/lexer)", - "count": 2 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testLoadMetadata", - "message": "Accessing Doctrine\\Common\\Lexer\\Token properties via ArrayAccess is deprecated, use the value, type or position property instead (Token.php:104 called by DocParser.php:699, https://github.com/doctrine/lexer/pull/79, package doctrine/lexer)", - "count": 16 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testLoadMetadata", - "message": "Accessing Doctrine\\Common\\Lexer\\Token properties via ArrayAccess is deprecated, use the value, type or position property instead (Token.php:108 called by DocParser.php:699, https://github.com/doctrine/lexer/pull/79, package doctrine/lexer)", - "count": 16 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testLoadMetadata", - "message": "Accessing Doctrine\\Common\\Lexer\\Token properties via ArrayAccess is deprecated, use the value, type or position property instead (Token.php:104 called by DocParser.php:717, https://github.com/doctrine/lexer/pull/79, package doctrine/lexer)", - "count": 13 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testIsGeocodable", - "message": "Accessing Doctrine\\Common\\Lexer\\Token properties via ArrayAccess is deprecated, use the value, type or position property instead (Token.php:104 called by DocParser.php:717, https://github.com/doctrine/lexer/pull/79, package doctrine/lexer)", - "count": 2 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testLoadMetadata", - "message": "Accessing Doctrine\\Common\\Lexer\\Token properties via ArrayAccess is deprecated, use the value, type or position property instead (Token.php:108 called by DocParser.php:717, https://github.com/doctrine/lexer/pull/79, package doctrine/lexer)", - "count": 13 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testIsGeocodable", - "message": "Accessing Doctrine\\Common\\Lexer\\Token properties via ArrayAccess is deprecated, use the value, type or position property instead (Token.php:108 called by DocParser.php:717, https://github.com/doctrine/lexer/pull/79, package doctrine/lexer)", - "count": 2 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testLoadMetadata", - "message": "Accessing Doctrine\\Common\\Lexer\\Token properties via ArrayAccess is deprecated, use the value, type or position property instead (Token.php:104 called by DocParser.php:1210, https://github.com/doctrine/lexer/pull/79, package doctrine/lexer)", - "count": 13 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testIsGeocodable", - "message": "Accessing Doctrine\\Common\\Lexer\\Token properties via ArrayAccess is deprecated, use the value, type or position property instead (Token.php:104 called by DocParser.php:1210, https://github.com/doctrine/lexer/pull/79, package doctrine/lexer)", - "count": 2 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testLoadMetadata", - "message": "Accessing Doctrine\\Common\\Lexer\\Token properties via ArrayAccess is deprecated, use the value, type or position property instead (Token.php:108 called by DocParser.php:1210, https://github.com/doctrine/lexer/pull/79, package doctrine/lexer)", - "count": 13 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testIsGeocodable", - "message": "Accessing Doctrine\\Common\\Lexer\\Token properties via ArrayAccess is deprecated, use the value, type or position property instead (Token.php:108 called by DocParser.php:1210, https://github.com/doctrine/lexer/pull/79, package doctrine/lexer)", - "count": 2 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testLoadMetadata", - "message": "Accessing Doctrine\\Common\\Lexer\\Token properties via ArrayAccess is deprecated, use the value, type or position property instead (Token.php:104 called by DocParser.php:1214, https://github.com/doctrine/lexer/pull/79, package doctrine/lexer)", - "count": 8 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testLoadMetadata", - "message": "Accessing Doctrine\\Common\\Lexer\\Token properties via ArrayAccess is deprecated, use the value, type or position property instead (Token.php:108 called by DocParser.php:1214, https://github.com/doctrine/lexer/pull/79, package doctrine/lexer)", - "count": 8 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testLoadMetadata", - "message": "Accessing Doctrine\\Common\\Lexer\\Token properties via ArrayAccess is deprecated, use the value, type or position property instead (Token.php:104 called by DocParser.php:700, https://github.com/doctrine/lexer/pull/79, package doctrine/lexer)", - "count": 8 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testLoadMetadata", - "message": "Accessing Doctrine\\Common\\Lexer\\Token properties via ArrayAccess is deprecated, use the value, type or position property instead (Token.php:108 called by DocParser.php:700, https://github.com/doctrine/lexer/pull/79, package doctrine/lexer)", - "count": 8 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testLoadMetadata", - "message": "Accessing Doctrine\\Common\\Lexer\\Token properties via ArrayAccess is deprecated, use the value, type or position property instead (Token.php:104 called by DocParser.php:1215, https://github.com/doctrine/lexer/pull/79, package doctrine/lexer)", - "count": 4 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testLoadMetadata", - "message": "Accessing Doctrine\\Common\\Lexer\\Token properties via ArrayAccess is deprecated, use the value, type or position property instead (Token.php:108 called by DocParser.php:1215, https://github.com/doctrine/lexer/pull/79, package doctrine/lexer)", - "count": 4 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testPersistForProperty", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:221 called by DriverManager.php:197, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testPersistForGetter", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:221 called by DriverManager.php:197, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testPersistForInvalidGetter", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:221 called by DriverManager.php:197, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testPersistForEmptyProperty", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:221 called by DriverManager.php:197, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testDoesNotGeocodeIfAddressNotChanged", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:221 called by DriverManager.php:197, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testPersistForProperty", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:221 called by ConnectionFactory.php:113, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testPersistForGetter", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:221 called by ConnectionFactory.php:113, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testPersistForInvalidGetter", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:221 called by ConnectionFactory.php:113, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testPersistForEmptyProperty", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:221 called by ConnectionFactory.php:113, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testDoesNotGeocodeIfAddressNotChanged", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:221 called by ConnectionFactory.php:113, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForProperty", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:221 called by DriverManager.php:197, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForGetter", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:221 called by DriverManager.php:197, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForInvalidGetter", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:221 called by DriverManager.php:197, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForEmptyProperty", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:221 called by DriverManager.php:197, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testDoesNotGeocodeIfAddressNotChanged", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:221 called by DriverManager.php:197, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForProperty", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:221 called by ConnectionFactory.php:113, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForGetter", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:221 called by ConnectionFactory.php:113, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForInvalidGetter", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:221 called by ConnectionFactory.php:113, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForEmptyProperty", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:221 called by ConnectionFactory.php:113, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testDoesNotGeocodeIfAddressNotChanged", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:221 called by ConnectionFactory.php:113, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForProperty", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:226 called by DriverManager.php:197, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForGetter", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:226 called by DriverManager.php:197, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForInvalidGetter", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:226 called by DriverManager.php:197, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForEmptyProperty", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:226 called by DriverManager.php:197, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testDoesNotGeocodeIfAddressNotChanged", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:226 called by DriverManager.php:197, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForProperty", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:226 called by ConnectionFactory.php:113, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForGetter", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:226 called by ConnectionFactory.php:113, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForInvalidGetter", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:226 called by ConnectionFactory.php:113, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForEmptyProperty", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:226 called by ConnectionFactory.php:113, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testDoesNotGeocodeIfAddressNotChanged", - "message": "Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4. (Connection.php:226 called by ConnectionFactory.php:113, https://github.com/doctrine/dbal/issues/5812, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testPersistForProperty", - "message": "Doctrine\\DBAL\\Connection::getEventManager is deprecated. (Connection.php:297 called by EntityManager.php:167, https://github.com/doctrine/dbal/issues/5784, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testPersistForGetter", - "message": "Doctrine\\DBAL\\Connection::getEventManager is deprecated. (Connection.php:297 called by EntityManager.php:167, https://github.com/doctrine/dbal/issues/5784, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testPersistForInvalidGetter", - "message": "Doctrine\\DBAL\\Connection::getEventManager is deprecated. (Connection.php:297 called by EntityManager.php:167, https://github.com/doctrine/dbal/issues/5784, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testPersistForEmptyProperty", - "message": "Doctrine\\DBAL\\Connection::getEventManager is deprecated. (Connection.php:297 called by EntityManager.php:167, https://github.com/doctrine/dbal/issues/5784, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Mapping\\Driver\\AnnotationDriverTest::testDoesNotGeocodeIfAddressNotChanged", - "message": "Doctrine\\DBAL\\Connection::getEventManager is deprecated. (Connection.php:297 called by EntityManager.php:167, https://github.com/doctrine/dbal/issues/5784, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForProperty", - "message": "DebugStack is deprecated. (DebugStack.php:38 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForGetter", - "message": "DebugStack is deprecated. (DebugStack.php:38 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForInvalidGetter", - "message": "DebugStack is deprecated. (DebugStack.php:38 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForEmptyProperty", - "message": "DebugStack is deprecated. (DebugStack.php:38 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testDoesNotGeocodeIfAddressNotChanged", - "message": "DebugStack is deprecated. (DebugStack.php:38 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForProperty", - "message": "DebugStack is deprecated. (DebugStack.php:41 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForGetter", - "message": "DebugStack is deprecated. (DebugStack.php:41 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForInvalidGetter", - "message": "DebugStack is deprecated. (DebugStack.php:41 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForEmptyProperty", - "message": "DebugStack is deprecated. (DebugStack.php:41 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testDoesNotGeocodeIfAddressNotChanged", - "message": "DebugStack is deprecated. (DebugStack.php:41 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForProperty", - "message": "Doctrine\\DBAL\\Configuration::setSQLLogger is deprecated, use setMiddlewares() and Logging\\Middleware instead. (Configuration.php:83 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForGetter", - "message": "Doctrine\\DBAL\\Configuration::setSQLLogger is deprecated, use setMiddlewares() and Logging\\Middleware instead. (Configuration.php:83 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForInvalidGetter", - "message": "Doctrine\\DBAL\\Configuration::setSQLLogger is deprecated, use setMiddlewares() and Logging\\Middleware instead. (Configuration.php:83 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForEmptyProperty", - "message": "Doctrine\\DBAL\\Configuration::setSQLLogger is deprecated, use setMiddlewares() and Logging\\Middleware instead. (Configuration.php:83 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testDoesNotGeocodeIfAddressNotChanged", - "message": "Doctrine\\DBAL\\Configuration::setSQLLogger is deprecated, use setMiddlewares() and Logging\\Middleware instead. (Configuration.php:83 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForProperty", - "message": "DoDoctrine\\DBAL\\Configuration::setSQLLogger is deprecated, use setMiddlewares() and Logging\\Middleware instead. (Configuration.php:87 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForGetter", - "message": "DoDoctrine\\DBAL\\Configuration::setSQLLogger is deprecated, use setMiddlewares() and Logging\\Middleware instead. (Configuration.php:87 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForInvalidGetter", - "message": "DoDoctrine\\DBAL\\Configuration::setSQLLogger is deprecated, use setMiddlewares() and Logging\\Middleware instead. (Configuration.php:87 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForEmptyProperty", - "message": "DoDoctrine\\DBAL\\Configuration::setSQLLogger is deprecated, use setMiddlewares() and Logging\\Middleware instead. (Configuration.php:87 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testDoesNotGeocodeIfAddressNotChanged", - "message": "DoDoctrine\\DBAL\\Configuration::setSQLLogger is deprecated, use setMiddlewares() and Logging\\Middleware instead. (Configuration.php:87 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForProperty", - "message": "In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode today, set the \"reportFieldsWhereDeclared\" constructor parameter to true. (AttributeDriver.php:78 called by getDoctrine_Orm_DefaultMetadataDriverService.php:11, https://github.com/doctrine/orm/pull/10455, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForGetter", - "message": "In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode today, set the \"reportFieldsWhereDeclared\" constructor parameter to true. (AttributeDriver.php:78 called by getDoctrine_Orm_DefaultMetadataDriverService.php:11, https://github.com/doctrine/orm/pull/10455, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForInvalidGetter", - "message": "In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode today, set the \"reportFieldsWhereDeclared\" constructor parameter to true. (AttributeDriver.php:78 called by getDoctrine_Orm_DefaultMetadataDriverService.php:11, https://github.com/doctrine/orm/pull/10455, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForEmptyProperty", - "message": "In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode today, set the \"reportFieldsWhereDeclared\" constructor parameter to true. (AttributeDriver.php:78 called by getDoctrine_Orm_DefaultMetadataDriverService.php:11, https://github.com/doctrine/orm/pull/10455, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testDoesNotGeocodeIfAddressNotChanged", - "message": "In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode today, set the \"reportFieldsWhereDeclared\" constructor parameter to true. (AttributeDriver.php:78 called by getDoctrine_Orm_DefaultMetadataDriverService.php:11, https://github.com/doctrine/orm/pull/10455, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForProperty", - "message": "In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode also with the AnnotationDriver today, set the \"reportFieldsWhereDeclared\" constructor parameter to true. (AnnotationDriver.php:82 called by getDoctrine_Orm_DefaultAnnotationMetadataDriverService.php:9, https://github.com/doctrine/orm/pull/10455, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForGetter", - "message": "In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode also with the AnnotationDriver today, set the \"reportFieldsWhereDeclared\" constructor parameter to true. (AnnotationDriver.php:82 called by getDoctrine_Orm_DefaultAnnotationMetadataDriverService.php:9, https://github.com/doctrine/orm/pull/10455, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForInvalidGetter", - "message": "In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode also with the AnnotationDriver today, set the \"reportFieldsWhereDeclared\" constructor parameter to true. (AnnotationDriver.php:82 called by getDoctrine_Orm_DefaultAnnotationMetadataDriverService.php:9, https://github.com/doctrine/orm/pull/10455, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForEmptyProperty", - "message": "In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode also with the AnnotationDriver today, set the \"reportFieldsWhereDeclared\" constructor parameter to true. (AnnotationDriver.php:82 called by getDoctrine_Orm_DefaultAnnotationMetadataDriverService.php:9, https://github.com/doctrine/orm/pull/10455, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testDoesNotGeocodeIfAddressNotChanged", - "message": "In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode also with the AnnotationDriver today, set the \"reportFieldsWhereDeclared\" constructor parameter to true. (AnnotationDriver.php:82 called by getDoctrine_Orm_DefaultAnnotationMetadataDriverService.php:9, https://github.com/doctrine/orm/pull/10455, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForProperty", - "message": "In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode today, set the \"reportFieldsWhereDeclared\" constructor parameter to true. (AttributeDriver.php:82 called by getDoctrine_Orm_DefaultMetadataDriverService.php:11, https://github.com/doctrine/orm/pull/10455, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForGetter", - "message": "In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode today, set the \"reportFieldsWhereDeclared\" constructor parameter to true. (AttributeDriver.php:82 called by getDoctrine_Orm_DefaultMetadataDriverService.php:11, https://github.com/doctrine/orm/pull/10455, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForInvalidGetter", - "message": "In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode today, set the \"reportFieldsWhereDeclared\" constructor parameter to true. (AttributeDriver.php:82 called by getDoctrine_Orm_DefaultMetadataDriverService.php:11, https://github.com/doctrine/orm/pull/10455, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForEmptyProperty", - "message": "In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode today, set the \"reportFieldsWhereDeclared\" constructor parameter to true. (AttributeDriver.php:82 called by getDoctrine_Orm_DefaultMetadataDriverService.php:11, https://github.com/doctrine/orm/pull/10455, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testDoesNotGeocodeIfAddressNotChanged", - "message": "In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode today, set the \"reportFieldsWhereDeclared\" constructor parameter to true. (AttributeDriver.php:82 called by getDoctrine_Orm_DefaultMetadataDriverService.php:11, https://github.com/doctrine/orm/pull/10455, package doctrine/orm)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForProperty", - "message": "Doctrine\\DBAL\\Connection::getEventManager is deprecated. (Connection.php:297 called by EntityManager.php:167, https://github.com/doctrine/dbal/issues/5784, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForGetter", - "message": "Doctrine\\DBAL\\Connection::getEventManager is deprecated. (Connection.php:297 called by EntityManager.php:167, https://github.com/doctrine/dbal/issues/5784, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForInvalidGetter", - "message": "Doctrine\\DBAL\\Connection::getEventManager is deprecated. (Connection.php:297 called by EntityManager.php:167, https://github.com/doctrine/dbal/issues/5784, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForEmptyProperty", - "message": "Doctrine\\DBAL\\Connection::getEventManager is deprecated. (Connection.php:297 called by EntityManager.php:167, https://github.com/doctrine/dbal/issues/5784, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testDoesNotGeocodeIfAddressNotChanged", - "message": "Doctrine\\DBAL\\Connection::getEventManager is deprecated. (Connection.php:297 called by EntityManager.php:167, https://github.com/doctrine/dbal/issues/5784, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForProperty", - "message": "Doctrine\\DBAL\\Connection::getEventManager is deprecated. (Connection.php:301 called by EntityManager.php:167, https://github.com/doctrine/dbal/issues/5784, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForGetter", - "message": "Doctrine\\DBAL\\Connection::getEventManager is deprecated. (Connection.php:301 called by EntityManager.php:167, https://github.com/doctrine/dbal/issues/5784, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForInvalidGetter", - "message": "Doctrine\\DBAL\\Connection::getEventManager is deprecated. (Connection.php:301 called by EntityManager.php:167, https://github.com/doctrine/dbal/issues/5784, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForEmptyProperty", - "message": "Doctrine\\DBAL\\Connection::getEventManager is deprecated. (Connection.php:301 called by EntityManager.php:167, https://github.com/doctrine/dbal/issues/5784, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testDoesNotGeocodeIfAddressNotChanged", - "message": "Doctrine\\DBAL\\Connection::getEventManager is deprecated. (Connection.php:301 called by EntityManager.php:167, https://github.com/doctrine/dbal/issues/5784, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForProperty", - "message": "Doctrine\\DBAL\\Configuration::setSQLLogger is deprecated, use setMiddlewares() and Logging\\Middleware instead. (Configuration.php:87 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForGetter", - "message": "Doctrine\\DBAL\\Configuration::setSQLLogger is deprecated, use setMiddlewares() and Logging\\Middleware instead. (Configuration.php:87 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForInvalidGetter", - "message": "Doctrine\\DBAL\\Configuration::setSQLLogger is deprecated, use setMiddlewares() and Logging\\Middleware instead. (Configuration.php:87 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testPersistForEmptyProperty", - "message": "Doctrine\\DBAL\\Configuration::setSQLLogger is deprecated, use setMiddlewares() and Logging\\Middleware instead. (Configuration.php:87 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - }, - { - "location": "Bazinga\\GeocoderBundle\\Tests\\Functional\\GeocoderListenerTest::testDoesNotGeocodeIfAddressNotChanged", - "message": "Doctrine\\DBAL\\Configuration::setSQLLogger is deprecated, use setMiddlewares() and Logging\\Middleware instead. (Configuration.php:87 called by getDoctrine_Dbal_DefaultConnection_ConfigurationService.php:11, https://github.com/doctrine/dbal/pull/4967, package doctrine/dbal)", - "count": 1 - } -] diff --git a/tests/baseline-ignore b/tests/baseline-ignore new file mode 100644 index 0000000..062b597 --- /dev/null +++ b/tests/baseline-ignore @@ -0,0 +1,12 @@ +%Bazinga\\GeocoderBundle\\ProviderFactory\\GeoIPsFactory is deprecated since 5.6, to be removed in 6.0% +%Bazinga\\GeocoderBundle\\ProviderFactory\\MapzenFactory is deprecated since 5.6, to be removed in 6.0% +%Since doctrine/doctrine-bundle 2.11: Not setting "enable_lazy_ghost_objects" to true is deprecated% +%Not configuring a schema manager factory is deprecated. Use Doctrine\\DBAL\\Schema\\DefaultSchemaManagerFactory which is going to be the default in DBAL 4% +%Doctrine\\DBAL\\Configuration::setSQLLogger is deprecated, use setMiddlewares\(\) and Logging\\Middleware instead% +%Accessing Doctrine\\Common\\Lexer\\Token properties via ArrayAccess is deprecated, use the value, type or position property instead% +%Doctrine\\DBAL\\Connection::getEventManager is deprecated% +%DebugStack is deprecated% +%In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared% +%Class "Nyholm\\Psr7\\Factory\\HttplugFactory" is deprecated since version 1.8, use "Nyholm\\Psr7\\Factory\\Psr17Factory" instead% +%Not enabling lazy ghost objects is deprecated and will not be supported in Doctrine ORM 3.0% +%Since doctrine/doctrine-bundle 2.11: Not setting "doctrine.orm.enable_lazy_ghost_objects" to true is deprecated% diff --git a/tests/bootstrap.php b/tests/bootstrap.php index abb3231..d0cb708 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -19,11 +19,3 @@ require_once __DIR__.'/../vendor/geoip/geoip/src/geoip.inc'; require_once __DIR__.'/../vendor/geoip/geoip/src/geoipcity.inc'; - -if (!is_bool($loader)) { - $loader->add('Doctrine\Tests', __DIR__.'/../vendor/doctrine/orm/tests'); -} else { - echo "Warning: Doctrine\Tests could not be added to the autoloader. \n"; - // Fake class - class_alias('\PHPUnit\Framework\TestCase', 'Doctrine\Tests\OrmTestCase'); -}