diff --git a/Resources/views/Collector/ajax.html.twig b/Resources/views/Collector/ajax.html.twig index 3e897075..a670b0a6 100644 --- a/Resources/views/Collector/ajax.html.twig +++ b/Resources/views/Collector/ajax.html.twig @@ -31,5 +31,5 @@ {% endset %} - {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: false }) }} + {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', {link: false}) }} {% endblock %} diff --git a/Resources/views/Collector/cache.html.twig b/Resources/views/Collector/cache.html.twig index 217ad78f..b1e5f4d4 100644 --- a/Resources/views/Collector/cache.html.twig +++ b/Resources/views/Collector/cache.html.twig @@ -30,7 +30,7 @@ {% endset %} - {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url }) }} + {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', {link: profiler_url}) }} {% endif %} {% endblock %} @@ -94,7 +94,7 @@ {{ loop.index }} {{ '%0.2f'|format((call.end - call.start) * 1000) }} ms {{ call.name }}({{ call.namespace|default('') }}) - {{ profiler_dump(call.value.result, maxDepth=2) }} + {{ profiler_dump(call.value.result, maxDepth: 2) }} {% endfor %} diff --git a/Resources/views/Collector/command.html.twig b/Resources/views/Collector/command.html.twig index 96e031dd..ebf058d9 100644 --- a/Resources/views/Collector/command.html.twig +++ b/Resources/views/Collector/command.html.twig @@ -75,7 +75,7 @@

No arguments were set

{% else %} - {{ include('@WebProfiler/Profiler/table.html.twig', { data: collector.arguments, labels: ['Argument', 'Value'], maxDepth: 2 }, with_context=false) }} + {{ include('@WebProfiler/Profiler/table.html.twig', {data: collector.arguments, labels: ['Argument', 'Value'], maxDepth: 2}, with_context: false) }} {% endif %}

Options

@@ -85,7 +85,7 @@

No options were set

{% else %} - {{ include('@WebProfiler/Profiler/table.html.twig', { data: collector.options, labels: ['Option', 'Value'], maxDepth: 2 }, with_context=false) }} + {{ include('@WebProfiler/Profiler/table.html.twig', {data: collector.options, labels: ['Option', 'Value'], maxDepth: 2}, with_context: false) }} {% endif %} {% if collector.interactive %} @@ -100,7 +100,7 @@

No inputs were set

{% else %} - {{ include('@WebProfiler/Profiler/table.html.twig', { data: collector.interactiveInputs, labels: ['Input', 'Value'], maxDepth: 2 }, with_context=false) }} + {{ include('@WebProfiler/Profiler/table.html.twig', {data: collector.interactiveInputs, labels: ['Input', 'Value'], maxDepth: 2}, with_context: false) }} {% endif %} {% endif %} @@ -111,7 +111,7 @@

No application inputs are set

{% else %} - {{ include('@WebProfiler/Profiler/table.html.twig', { data: collector.applicationInputs, labels: ['Input', 'Value'], maxDepth: 2 }, with_context=false) }} + {{ include('@WebProfiler/Profiler/table.html.twig', {data: collector.applicationInputs, labels: ['Input', 'Value'], maxDepth: 2}, with_context: false) }} {% endif %} @@ -166,14 +166,14 @@

Server Parameters

Defined in .env

- {{ include('@WebProfiler/Profiler/bag.html.twig', { bag: request_collector.dotenvvars }, with_context = false) }} + {{ include('@WebProfiler/Profiler/bag.html.twig', {bag: request_collector.dotenvvars}, with_context: false) }}

Defined as regular env variables

{% set requestserver = [] %} {% for key, value in request_collector.requestserver|filter((_, key) => key not in request_collector.dotenvvars.keys) %} {% set requestserver = requestserver|merge({(key): value}) %} {% endfor %} - {{ include('@WebProfiler/Profiler/table.html.twig', { data: requestserver }, with_context = false) }} + {{ include('@WebProfiler/Profiler/table.html.twig', {data: requestserver}, with_context: false) }}
@@ -222,7 +222,7 @@

- Return to parent command + Return to parent command (token = {{ profile.parent.token }})

@@ -239,7 +239,7 @@ {% for child in profile.children %}

{{ child.url }} - (token = {{ child.token }}) + (token = {{ child.token }})

{% endfor %}
diff --git a/Resources/views/Collector/config.html.twig b/Resources/views/Collector/config.html.twig index cf25892b..94841671 100644 --- a/Resources/views/Collector/config.html.twig +++ b/Resources/views/Collector/config.html.twig @@ -157,7 +157,7 @@ {% endset %} - {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: true, name: 'config', status: block_status, additional_classes: 'sf-toolbar-block-right' }) }} + {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', {link: true, name: 'config', status: block_status, additional_classes: 'sf-toolbar-block-right'}) }} {% endblock %} {% block menu %} @@ -197,8 +197,8 @@ {% endif %} - {% set symfony_status = { dev: 'In Development', stable: 'Maintained', eom: 'Security Fixes Only', eol: 'Unmaintained' } %} - {% set symfony_status_class = { dev: 'warning', stable: 'success', eom: 'warning', eol: 'error' } %} + {% set symfony_status = {dev: 'In Development', stable: 'Maintained', eom: 'Security Fixes Only', eol: 'Unmaintained'} %} + {% set symfony_status_class = {dev: 'warning', stable: 'success', eom: 'warning', eol: 'error'} %}
diff --git a/Resources/views/Collector/exception.html.twig b/Resources/views/Collector/exception.html.twig index e60d83f3..19f45472 100644 --- a/Resources/views/Collector/exception.html.twig +++ b/Resources/views/Collector/exception.html.twig @@ -3,7 +3,7 @@ {% block head %} {% if collector.hasexception %} {% endif %} @@ -39,7 +39,7 @@
{% else %}
- {{ render(controller('web_profiler.controller.exception_panel::body', { token: token })) }} + {{ render(controller('web_profiler.controller.exception_panel::body', {token: token})) }}
{% endif %} {% endblock %} diff --git a/Resources/views/Collector/form.html.twig b/Resources/views/Collector/form.html.twig index 37f00aca..6f7e4808 100644 --- a/Resources/views/Collector/form.html.twig +++ b/Resources/views/Collector/form.html.twig @@ -21,7 +21,7 @@
{% endset %} - {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url, status: status_color }) }} + {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', {link: profiler_url, status: status_color}) }} {% endif %} {% endblock %} @@ -195,7 +195,7 @@ {% endblock %} {% block javascripts %} - {{ parent() }} + {{ parent() }}