Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6f87f91

Browse files
wouterjfabpot
authored andcommitted
[TwigBridge] Fix the build
1 parent e6f392a commit 6f87f91

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

src/Symfony/Bridge/Doctrine/composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
"symfony/http-kernel": "^5.0|^6.0",
3535
"symfony/messenger": "^4.4|^5.0|^6.0",
3636
"symfony/doctrine-messenger": "^5.1|^6.0",
37-
"symfony/phpunit-bridge": "^4.4|^5.4|^6.0",
3837
"symfony/property-access": "^4.4|^5.0|^6.0",
3938
"symfony/property-info": "^5.0|^6.0",
4039
"symfony/proxy-manager-bridge": "^4.4|^5.0|^6.0",

src/Symfony/Bridge/Twig/Resources/views/Form/bootstrap_3_layout.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@
101101
{%- endif -%}
102102
{%- endif -%}
103103
<label{% with { attr: label_attr } %}{{ block('attributes') }}{% endwith %}>
104-
{{- widget|raw }}
105-
{%- if label is not same as(false) -%}
104+
{#- if statement must be kept on the same line, to force the space between widget and label -#}
105+
{{- widget|raw }} {% if label is not same as(false) -%}
106106
{%- if translation_domain is same as(false) -%}
107107
{%- if label_html is same as(false) -%}
108108
{{ label -}}

src/Symfony/Bundle/FrameworkBundle/composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@
6666
"symfony/property-info": "^4.4|^5.0|^6.0",
6767
"symfony/web-link": "^4.4|^5.0|^6.0",
6868
"phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0",
69-
"twig/twig": "^2.10|^3.0",
70-
"symfony/phpunit-bridge": "^5.3|^6.0"
69+
"twig/twig": "^2.10|^3.0"
7170
},
7271
"conflict": {
7372
"doctrine/annotations": "<1.13.1",

0 commit comments

Comments
 (0)