Skip to content

Commit

Permalink
Improve Symfony 4.1 compatibility (#830)
Browse files Browse the repository at this point in the history
  • Loading branch information
Addvilz authored and wing328 committed Aug 20, 2018
1 parent a3e5edc commit dcc622d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"ext-mbstring": "*",
"symfony/validator": "*",
"jms/serializer-bundle": "*",
"symfony/framework-bundle": "^2.3|^3.0"
"symfony/framework-bundle": "^2.3|^3.0|^4.1"
},
"require-dev": {
"phpunit/phpunit": "~4.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ services:
class: {{modelPackage}}\ModelSerializer

{{bundleAlias}}.service.serializer:
class: %{{bundleAlias}}.serializer%
class: '%{{bundleAlias}}.serializer%'

{{bundleAlias}}.service.validator:
class: %{{bundleAlias}}.validator%
class: '%{{bundleAlias}}.validator%'

{{#apiInfo}}
{{#apis}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ services:
class: OpenAPI\Server\Model\ModelSerializer

open_apiserver.service.serializer:
class: %open_apiserver.serializer%
class: '%open_apiserver.serializer%'

open_apiserver.service.validator:
class: %open_apiserver.validator%
class: '%open_apiserver.validator%'

open_apiserver.controller.pet:
class: OpenAPI\Server\Controller\PetController
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"ext-mbstring": "*",
"symfony/validator": "*",
"jms/serializer-bundle": "*",
"symfony/framework-bundle": "^2.3|^3.0"
"symfony/framework-bundle": "^2.3|^3.0|^4.1"
},
"require-dev": {
"phpunit/phpunit": "~4.8",
Expand Down

0 comments on commit dcc622d

Please sign in to comment.