diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bfb1cf1..8fdfe41 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -105,5 +105,5 @@ jobs: - name: "Run tests" env: - SYMFONY_DEPRECATIONS_HELPER: 'max[self]=3&max[indirect]=1' + SYMFONY_DEPRECATIONS_HELPER: 'baselineFile=./tests/allowed.json' run: ./vendor/bin/simple-phpunit -v diff --git a/tests/allowed.json b/tests/allowed.json new file mode 100644 index 0000000..573c943 --- /dev/null +++ b/tests/allowed.json @@ -0,0 +1,21 @@ +[ + { + "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 + }, + { + "message": "Since symfony/framework-bundle 5.1: Not setting the \"framework.router.utf8\" configuration option is deprecated, it will default to \"true\" in version 6.0.", + "count": 41 + }, + { + "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 + } +]