Skip to content

Commit 13c9e58

Browse files
committed
Add baseline file for deprecation notices
1 parent b3d5485 commit 13c9e58

File tree

5 files changed

+15
-8
lines changed

5 files changed

+15
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,5 +105,5 @@ jobs:
105105

106106
- name: "Run tests"
107107
env:
108-
SYMFONY_DEPRECATIONS_HELPER: 'max[self]=3&max[indirect]=1'
108+
SYMFONY_DEPRECATIONS_HELPER: 'baselineFile=./tests/baseline-ignore'
109109
run: ./vendor/bin/simple-phpunit -v

phpunit.xml.dist

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
55
backupGlobals="false"
66
backupStaticAttributes="false"
7-
colors="true" convertErrorsToExceptions="true"
7+
colors="true"
8+
convertErrorsToExceptions="true"
89
convertNoticesToExceptions="true"
910
convertWarningsToExceptions="true"
1011
processIsolation="false"
1112
stopOnFailure="false"
1213
bootstrap="tests/bootstrap.php"
13-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
14+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
1415
>
1516
<coverage>
1617
<include>

tests/Functional/config/framework.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
framework:
2-
http_method_override: false
32
secret: 6825c711ef47cfc1530d322b62adac3e2c43844c
3+
annotations: false
4+
http_method_override: false
5+
handle_all_throwables: true
46
session:
57
storage_factory_id: session.storage.factory.mock_file
68
cookie_secure: auto
79
cookie_samesite: lax
810
handler_id: null
11+
php_errors:
12+
log: true
13+
router:
14+
utf8: true

tests/Functional/config/listener_php7.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ bazinga_geocoder:
2929
user_agent: 'geocoder-php test_suite'
3030

3131
services:
32-
Bazinga\GeocoderBundle\Mapping\Driver\AnnotationDriver:
33-
class: Bazinga\GeocoderBundle\Mapping\Driver\AnnotationDriver
34-
arguments:
35-
- '@annotations.reader'
32+
Bazinga\GeocoderBundle\Mapping\Driver\AnnotationDriver: ~
3633

3734
Bazinga\GeocoderBundle\Doctrine\ORM\GeocoderListener:
3835
class: Bazinga\GeocoderBundle\Doctrine\ORM\GeocoderListener

tests/baseline-ignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
%Bazinga\\GeocoderBundle\\ProviderFactory\\GeoIPsFactory is deprecated since 5\.6, to be removed in 6\.0\. See https://github.com/geocoder-php/Geocoder/issues/965%
2+
%Bazinga\\GeocoderBundle\\ProviderFactory\\MapzenFactory is deprecated since 5\.6, to be removed in 6\.0\. See https://github.com/geocoder-php/Geocoder/issues/808%
3+
%Class "Nyholm\\Psr7\\Factory\\HttplugFactory" is deprecated since version 1\.8, use "Nyholm\\Psr7\\Factory\\Psr17Factory" instead\.%

0 commit comments

Comments
 (0)