Skip to content

Commit 19d8fd7

Browse files
committed
Fix deprecations helper crashing old Symfony versions
1 parent 379cb40 commit 19d8fd7

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.travis.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,21 @@ matrix:
1818
fast_finish: true
1919
include:
2020
- php: 7.2
21-
env: SYMFONY_VERSION=4.1
21+
env:
22+
- SYMFONY_VERSION=4.1.13
23+
- SYMFONY_DEPRECATIONS_HELPER=weak
2224
- php: 7.2
23-
env: COMPOSER_FLAGS="--prefer-lowest"
25+
env:
26+
- COMPOSER_FLAGS="--prefer-lowest"
27+
- SYMFONY_DEPRECATIONS_HELPER=weak
2428
- php: 7.3
25-
env: SYMFONY_VERSION=^4.4
29+
env:
30+
- SYMFONY_VERSION=^4.4
31+
- SYMFONY_DEPRECATIONS_HELPER=weak
2632
- php: 7.4
27-
env: SYMFONY_VERSION=^4.4
33+
env:
34+
- SYMFONY_VERSION=^4.4
35+
- SYMFONY_DEPRECATIONS_HELPER=weak
2836
- php: 7.4
2937
env: DEPENDENCIES=dev
3038
- php: nightly

tests/Fixtures/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ doctrine:
4242
twig:
4343
debug: '%kernel.debug%'
4444
strict_variables: '%kernel.debug%'
45+
exception_controller: null
4546

4647
datatables:
4748
options:

0 commit comments

Comments
 (0)