Skip to content

Commit

Permalink
Add baseline file for deprecation notices
Browse files Browse the repository at this point in the history
  • Loading branch information
ker0x committed Jan 26, 2024
1 parent b3d5485 commit 1f6f607
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
21 changes: 21 additions & 0 deletions tests/allowed.json
Original file line number Diff line number Diff line change
@@ -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
}
]

0 comments on commit 1f6f607

Please sign in to comment.