<commit_before>{% extends '@WebProfiler/Profiler/layout.html.twig' %}

{% import _self as helper %}

{% block toolbar %}
    {% set unavailable_migrations = collector.data.unavailable_migrations|length %}
    {% set new_migrations = collector.data.new_migrations|length %}
    {% if unavailable_migrations > 0 or new_migrations > 0 %}
        {% set executed_migrations = collector.data.executed_migrations|length %}
        {% set available_migrations = collector.data.available_migrations|length %}
        {% set status_color = unavailable_migrations > 0 ? 'yellow' : '' %}
        {% set status_color = new_migrations > 0 ? 'red' : status_color %}

        {% set icon %}
            {{ include('@DoctrineMigrations/Collector/icon.svg') }}
            <span class="sf-toolbar-value">{{ new_migrations + unavailable_migrations }}</span>
        {% endset %}

        {% set text %}
            <div class="sf-toolbar-info-piece">
                <b>Current</b>
                <span>{{ collector.data.executed_migrations|last|split('\\')|last }}</span>
            </div>
            <div class="sf-toolbar-info-piece">
                <b>Executed</b>
                <span class="sf-toolbar-status">{{ executed_migrations }}</span>
            </div>
            <div class="sf-toolbar-info-piece">
                <b>Executed Unavailable</b>
                <span class="sf-toolbar-status {{ unavailable_migrations > 0 ? 'sf-toolbar-status-yellow' }}">{{ unavailable_migrations }}</span>
            </div>
            <div class="sf-toolbar-info-piece">
                <b>Available</b>
                <span class="sf-toolbar-status">{{ available_migrations }}</span>
            </div>
            <div class="sf-toolbar-info-piece">
                <b>New</b>
                <span class="sf-toolbar-status {{ new_migrations > 0 ? 'sf-toolbar-status-red' }}">{{ new_migrations }}</span>
            </div>
        {% endset %}
<commit_msg>fix current version in toolbar<commit_after>{% extends '@WebProfiler/Profiler/layout.html.twig' %}

{% import _self as helper %}

{% block toolbar %}
    {% set unavailable_migrations = collector.data.unavailable_migrations|length %}
    {% set new_migrations = collector.data.new_migrations|length %}
    {% if unavailable_migrations > 0 or new_migrations > 0 %}
        {% set executed_migrations = collector.data.executed_migrations|length %}
        {% set available_migrations = collector.data.available_migrations|length %}
        {% set status_color = unavailable_migrations > 0 ? 'yellow' : '' %}
        {% set status_color = new_migrations > 0 ? 'red' : status_color %}

        {% set icon %}
            {{ include('@DoctrineMigrations/Collector/icon.svg') }}
            <span class="sf-toolbar-value">{{ new_migrations + unavailable_migrations }}</span>
        {% endset %}

        {% set text %}
            <div class="sf-toolbar-info-piece">
                <b>Current</b>
                <span>{{ collector.data.executed_migrations|last.version|split('\\')|last }}</span>
            </div>
            <div class="sf-toolbar-info-piece">
                <b>Executed</b>
                <span class="sf-toolbar-status">{{ executed_migrations }}</span>
            </div>
            <div class="sf-toolbar-info-piece">
                <b>Executed Unavailable</b>
                <span class="sf-toolbar-status {{ unavailable_migrations > 0 ? 'sf-toolbar-status-yellow' }}">{{ unavailable_migrations }}</span>
            </div>
            <div class="sf-toolbar-info-piece">
                <b>Available</b>
                <span class="sf-toolbar-status">{{ available_migrations }}</span>
            </div>
            <div class="sf-toolbar-info-piece">
                <b>New</b>
                <span class="sf-toolbar-status {{ new_migrations > 0 ? 'sf-toolbar-status-red' }}">{{ new_migrations }}</span>
            </div>
        {% endset %}

{'fraction_non_alphanumeric': 0.15480744707982658, 'fraction_numerical': 0.00306044376434583, 'mean_word_length': 2.2574750830564785, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 79, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5517808', 'n_tokens_mistral': 1222, 'n_tokens_neox': 1146, 'n_words': 196}