Skip to content

Commit 0e88735

Browse files
committed
Add baseline file for deprecation notices
1 parent b3d5485 commit 0e88735

File tree

5 files changed

+15
-14
lines changed

5 files changed

+15
-14
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,6 @@ jobs:
7676
sf_version: '5.4.*'
7777
- php: '8.1'
7878
sf_version: '5.4.*'
79-
- php: '8.0'
80-
sf_version: '6.0.*'
81-
- php: '8.1'
82-
sf_version: '6.0.*'
83-
- php: '8.2'
84-
sf_version: '6.2.*'
8579
- php: '8.2'
8680
sf_version: '6.4.*'
8781
- php: '8.2'
@@ -105,5 +99,5 @@ jobs:
10599

106100
- name: "Run tests"
107101
env:
108-
SYMFONY_DEPRECATIONS_HELPER: 'max[self]=3&max[indirect]=1'
102+
SYMFONY_DEPRECATIONS_HELPER: 'baselineFile=./tests/baseline-ignore'
109103
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)