Skip to content

Commit c20629e

Browse files
author
Your Name
committed
[PHP] update php-symfony/services.mustache
fix 2 deprecated messages: "User Deprecated: Not quoting the scalar "%swagger_server.validator%" starting with the "%" indicator character is deprecated since Symfony 3.1 and will throw a ParseException in 4.0 on line 20." "User Deprecated: Not quoting the scalar "%swagger_server.serializer%" starting with the "%" indicator character is deprecated since Symfony 3.1 and will throw a ParseException in 4.0 in "swagger/server-bundle/Resources/config/services.yml" on line 17."
1 parent 7b6be0e commit c20629e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/swagger-codegen/src/main/resources/php-symfony/services.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ services:
1414
class: {{modelPackage}}\ModelSerializer
1515

1616
{{bundleAlias}}.service.serializer:
17-
class: %{{bundleAlias}}.serializer%
17+
class: "%{{bundleAlias}}.serializer%"
1818

1919
{{bundleAlias}}.service.validator:
20-
class: %{{bundleAlias}}.validator%
20+
class: "%{{bundleAlias}}.validator%"
2121

2222
{{#apiInfo}}
2323
{{#apis}}

0 commit comments

Comments
 (0)