Skip to content

Commit 65f47a9

Browse files
author
Jeremiah VALERIE
committed
Allow symfony 4.0
1 parent 84f3991 commit 65f47a9

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

Resources/config/services.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@ parameters:
77

88
services:
99
thrift.compile_warmer:
10-
class: %thrift.compile_warmer.class%
11-
arguments: [%kernel.cache_dir%, %kernel.root_dir%, %thrift.config.compiler.path%, %thrift.config.services%]
10+
class: '%thrift.compile_warmer.class%'
11+
arguments: ['%kernel.cache_dir%', '%kernel.root_dir%', '%thrift.config.compiler.path%', '%thrift.config.services%']
1212

1313
thrift.factory:
14-
class: %thrift.factory.class%
15-
arguments: [%thrift.config.services%]
14+
class: '%thrift.factory.class%'
15+
arguments: ['%thrift.config.services%']
1616

1717
thrift.classloader.listener:
18-
arguments: [%kernel.cache_dir%]
19-
class: %thrift.classloader.listener.class%
18+
arguments: ['%kernel.cache_dir%']
19+
class: '%thrift.classloader.listener.class%'
2020
tags:
2121
- { name: kernel.event_listener, event: kernel.request, method: onKernelRequest, priority: 255 }
2222
- { name: kernel.event_listener, event: console.command, method: onConsoleCommand, priority: 255 }
2323

2424
thrift.routing.loader:
2525
class: Overblog\ThriftBundle\Routing\ThriftRoutingLoader
26-
arguments: [%thrift.config.servers%]
26+
arguments: ['%thrift.config.servers%']
2727
tags:
28-
- { name: routing.loader, priority: 255 }
28+
- { name: routing.loader, priority: 255 }

composer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,13 @@
2323
"require": {
2424
"php": "^5.3.6|~7.0",
2525
"apache/thrift": ">=0.9.1",
26-
"symfony/symfony": "~2.3|~3.0"
26+
"symfony/class-loader": "~2.3||~3.0",
27+
"symfony/dependency-injection": "~2.3||~3.0||^4.0",
28+
"symfony/framework-bundle": "~2.3||~3.0||^4.0"
2729
},
2830
"require-dev": {
29-
"phpunit/phpunit": "^4.1 || ^5.5"
31+
"phpunit/phpunit": "^4.1 || ^5.5",
32+
"symfony/symfony": "~2.3||~3.0||^4.0"
3033
},
3134
"extra": {
3235
"branch-alias": {

0 commit comments

Comments
 (0)