8000 Merge branch 'TAGS2' of github.com:Ener-Getick/symfony into TAGS2 · symfony/symfony@2c0f572 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2c0f572

Browse files
committed
Merge branch 'TAGS2' of github.com:Ener-Getick/symfony into TAGS2
2 parents 1ffa162 + c0755fb commit 2c0f572

File tree

104 files changed

+2201
-245
lines changed
  • Ldap
  • Validator
  • Workflow
  • Yaml
  • Some content is hidden

    Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

    104 files changed

    +2201
    -245
    lines changed

    CHANGELOG-3.1.md

    Lines changed: 46 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -7,6 +7,52 @@ in 3.1 minor versions.
    77
    To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash
    88
    To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v3.1.0...v3.1.1
    99

    10+
    * 3.1.9 (2017-01-12)
    11+
    12+
    * bug #21218 [Form] DateTimeToLocalizedStringTransformer does not use timezone when using date only (magnetik)
    13+
    * bug #20605 [Ldap] Always have a valid connection when using the EntryManager (bobvandevijver)
    14+
    * bug #21104 [FrameworkBundle] fix IPv6 address handling in server commands (xabbuh)
    15+
    * bug #20793 [Validator] Fix caching of constraints derived from non-serializable parents (uwej711)
    16+
    * bug #19586 [TwigBundle] Fix bug where namespaced paths don't take parent bundles in account (wesleylancel)
    17+
    * bug #21237 [FrameworkBundle] Fix relative paths used as cache keys (nicolas-grekas)
    18+
    * bug #21183 [Validator] respect groups when merging constraints (xabbuh)
    19+
    * bug #21179 [TwigBundle] Fixing regression in TwigEngine exception handling (Bertalan Attila)
    20+
    * bug #21220 [DI] Fix missing new line after private alias (ogizanagi)
    21+
    * bug #21211 Classloader tmpname (lyrixx)
    22+
    * bug #21205 [TwigBundle] fixed usage when Templating is not installed (fabpot)
    23+
    * bug #21155 [Validator] Check cascasdedGroups for being countable (scaytrase)
    24+
    * bug #21200 [Filesystem] Check that directory is writable after created it in dumpFile() (chalasr)
    25+
    * bug #21165 [Serializer] int is valid when float is expected when deserializing JSON (dunglas)
    26+
    * bug #21166 [Cache] Fix order of writes in ChainAdapter (nicolas-grekas)
    27+
    * bug #21113 [FrameworkBundle][HttpKernel] Fix resources loading for bundles with custom structure (chalasr)
    28+
    * bug #21084 [Yaml] handle empty lines inside unindented collection (xabbuh)
    29+
    * bug #20925 [HttpFoundation] Validate/cast cookie expire time (ro0NL)
    30+
    * bug #21032 [SecurityBundle] Made collection of user provider unique when injecting them to the RemberMeService (lyrixx)
    31+
    * bug #21078 [Console] Escape default value when dumping help (lyrixx)
    32+
    * bug #21076 [Console] OS X Can't call cli_set_process_title php without superuser (ogizanagi)
    33+
    * bug #20900 [Console] Descriptors should use Helper::strlen (ogizanagi)
    34+
    * bug #21025 [Cache] remove is_writable check on filesystem cache (4rthem)
    35+
    * bug #21064 [Debug] Wrap call to ->log in a try catch block (lyrixx)
    36+
    * bug #21010 [Debug] UndefinedMethodFatalErrorHandler - Handle anonymous classes (SpacePossum)
    37+
    * bug #20991 [cache] Bump RedisAdapter default timeout to 5s (Nicofuma)
    38+
    * bug #20859 Avoid warning in PHP 7.2 because of non-countable data (wouterj)
    39+
    * bug #21053 [Validator] override property constraints in child class (xabbuh)
    40+
    * bug #21034 [FrameworkBundle] Make TemplateController working without the Templating component (dunglas)
    41+
    * bug #20970 [Console] Fix question formatting using SymfonyStyle::ask() (chalasr, ogizanagi)
    42+
    * bug #20999 [HttpKernel] Continuation of #20599 for 3.1 (ro0NL)
    43+
    * bug #20975 [Form] fix group sequence based validation (xabbuh)
    44+
    * bug #20599 [WebProfilerBundle] Display multiple HTTP headers in WDT (ro0NL)
    45+
    * bug #20799 [TwigBundle] do not try to register incomplete definitions (xabbuh)
    46+
    * bug #20961 [Validator] phpize default option values (xabbuh)
    47+
    * bug #20934 [FrameworkBundle] Fix PHP form templates on translatable attributes (ro0NL)
    48+
    * bug #20957 [FrameworkBundle] test for the Validator component to be present (xabbuh)
    49+
    * bug #20936 [DependencyInjection] Fix on-invalid attribute type in xsd (ogizanagi)
    50+
    * bug #20931 [VarDumper] Fix dumping by-ref variadics (nicolas-grekas)
    51+
    * bug #20734 [Security] AbstractVoter->supportsAttribute gives false positive if attribute is zero (0) (martynas-foodpanda)
    52+
    * bug #14082 [config] Fix issue when key removed and left value only (zerustech)
    53+
    * bug #20910 [HttpFoundation] Fix cookie to string conversion for raw cookies (ro0NL)
    54+
    * bug #20847 [Console] fixed BC issue with static closures (araines)
    55+
    1056
    * 3.1.8 (2016-12-13)
    1157

    1258
    * bug #20714 [FrameworkBundle] Fix unresolved parameters from default configs in debug:config (chalasr)

    CHANGELOG-3.2.md

    Lines changed: 63 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -7,6 +7,69 @@ in 3.2 minor versions.
    77
    To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash
    88
    To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v3.2.0...v3.2.1
    99

    10+
    * 3.2.2 (2017-01-12)
    11+
    12+
    * bug #21257 [Profiler][Form] Fix form profiler errors profiler_dump (ogizanagi)
    13+
    * bug #21243 [FrameworkBundle] Fix class_exists() checks in PhpArrayAdapter-related cache warmers (nicolas-grekas, mpajunen)
    14+
    * bug #21218 [Form] DateTimeToLocalizedStringTransformer does not use timezone when using date only (magnetik)
    15+
    * bug #20605 [Ldap] Always have a valid connection when using the EntryManager (bobvandevijver)
    16+
    * bug #21104 [FrameworkBundle] fix IPv6 address handling in server commands (xabbuh)
    17+
    * bug #20793 [Validator] Fix caching of constraints derived from non-serializable parents (uwej711)
    18+
    * bug #19586 [TwigBundle] Fix bug where namespaced paths don't take parent bundles in account (wesleylancel)
    19+
    * bug #21237 [FrameworkBundle] Fix relative paths used as cache keys (nicolas-grekas)
    20+
    * bug #21183 [Validator] respect groups when merging constraints (xabbuh)
    21+
    * bug #21179 [TwigBundle] Fixing regression in TwigEngine exception handling (Bertalan Attila)
    22+
    * bug #21220 [DI] Fix missing new line after private alias (ogizanagi)
    23+
    * bug #21211 Classloader tmpname (lyrixx)
    24+
    * bug #21205 [TwigBundle] fixed usage when Templating is not installed (fabpot)
    25+
    * bug #21155 [Validator] Check cascasdedGroups for being countable (scaytrase)
    26+
    * bug #21200 [Filesystem] Check that directory is writable after created it in dumpFile() (chalasr)
    27+
    * bug #21186 [Bridge/PhpUnit] Relax expectedDeprecation for forward compat (nicolas-grekas)
    28+
    * bug #21184 [FrameworkBundle] Remove Response* from classes to compile (nicolas-grekas)
    29+
    * bug #21165 [Serializer] int is valid when float is expected when deserializing JSON (dunglas)
    30+
    * bug #21167 [Cache] Remove silenced warning tiggered by PhpArrayAdapter (nicolas-grekas)
    31+
    * bug #21166 [Cache] Fix order of writes in ChainAdapter (nicolas-grekas)
    32+
    * bug #21113 [FrameworkBundle][HttpKernel] Fix resources loading for bundles with custom structure (chalasr)
    33+
    * bug #20995 [DependencyInjection] Fix the priority order of compiler pass trait (francoispluchino)
    34+
    * bug #21084 [Yaml] handle empty lines inside unindented collection (xabbuh)
    35+
    * bug #21143 [PhpUnitBridge] Set COMPOSER_ROOT_VERSION while installing (nicolas-grekas)
    36+
    * bug #20925 [HttpFoundation] Validate/cast cookie expire time (ro0NL)
    37+
    * bug #21138 [PhpUnitBridge] skip tests with failure and error states too (xabbuh)
    38+
    * bug #21135 [PhpUnitBridge] hide stack trace of expected deprecation failures (xabbuh)
    39+
    * bug #21117 [Yaml] add missing indicator character (xabbuh)
    40+
    * bug #21121 [PhpUnitBridge] respect skipped and incomplete tests (xabbuh)
    41+
    * bug #21032 [SecurityBundle] Made collection of user provider unique when injecting them to the RemberMeService (lyrixx)
    42+
    * bug #21078 [Console] Escape default value when dumping help (lyrixx)
    43+
    * bug #21076 [Console] OS X Can't call cli_set_process_title php without superuser (ogizanagi)
    44+
    * bug #20900 [Console] Descriptors should use Helper::strlen (ogizanagi)
    45+
    * bug #21025 [Cache] remove is_writable check on filesystem cache (4rthem)
    46+
    * bug #21064 [Debug] Wrap call to ->log in a try catch block (lyrixx)
    47+
    * bug #21069 [Debug] Fixed cast of stream (lyrixx)
    48+
    * bug #21010 [Debug] UndefinedMethodFatalErrorHandler - Handle anonymous classes (SpacePossum)
    49+
    * bug #20991 [cache] Bump RedisAdapter default timeout to 5s (Nicofuma)
    50+
    * bug #20959 [FrameworkBundle] Ignore AnnotationException exceptions in the AnnotationsCacheWarmer (fancyweb)
    51+
    * bug #20795 [FrameworkBundle] Allow multiple transitions with the same name (Padam87)
    52+
    * bug #20859 Avoid warning in PHP 7.2 because of non-countable data (wouterj)
    53+
    * bug #21053 [Validator] override property constraints in child class (xabbuh)
    54+
    * bug #21034 [FrameworkBundle] Make TemplateController working without the Templating component (dunglas)
    55+
    * bug #20970 [Console] Fix question formatting using SymfonyStyle::ask() (chalasr, ogizanagi)
    56+
    * bug #20999 [HttpKernel] Continuation of #20599 for 3.1 (ro0NL)
    57+
    * bug #20975 [Form] fix group sequence based validation (xabbuh)
    58+
    * bug #20599 [WebProfilerBundle] Display multiple HTTP headers in WDT (ro0NL)
    59+
    * bug #20799 [TwigBundle] do not try to register incomplete definitions (xabbuh)
    60+
    * bug #20961 [Validator] phpize default option values (xabbuh)
    61+
    * bug #20934 [FrameworkBundle] Fix PHP form templates on translatable attributes (ro0NL)
    62+
    * bug #20957 [FrameworkBundle] test for the Validator component to be present (xabbuh)
    63+
    * bug #20936 [DependencyInjection] Fix on-invalid attribute type in xsd (ogizanagi)
    64+
    * bug #20931 [VarDumper] Fix dumping by-ref variadics (nicolas-grekas)
    65+
    * bug #20749 [FrameworkBundle] Smarter default for framework.annotations (ogizanagi)
    66+
    * bug #20734 [Security] AbstractVoter->supportsAttribute gives false positive if attribute is zero (0) (martynas-foodpanda)
    67+
    * bug #14082 [config] Fix issue when key removed and left value only (zerustech)
    68+
    * bug #20910 [HttpFoundation] Fix cookie to string conversion for raw cookies (ro0NL)
    69+
    * bug #20909 Fix misresolved parameters in debug:config on 3.2 (chalasr)
    70+
    * bug #20904 [TwigBundle] Config is now a hard dependency (dunglas)
    71+
    * bug #20847 [Console] fixed BC issue with static closures (araines)
    72+
    1073
    * 3.2.1 (2016-12-13)
    1174

    1275
    * bug #20891 Add support for REDIS_URL environment variables. (robinvdvleuten)

    UPGRADE-3.3.md

    Lines changed: 9 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -10,6 +10,10 @@ ClassLoader
    1010
    DependencyInjection
    1111
    -------------------
    1212

    13+
    * The `Reference` and `Alias` classes do not make service identifiers lowercase anymore.
    14+
    15+
    * Case insensitivity of service identifiers is deprecated and will be removed in 4.0.
    16+
    1317
    * Using the `PhpDumper` with an uncompiled `ContainerBuilder` is deprecated and
    1418
    will not be supported anymore in 4.0.
    1519

    @@ -27,6 +31,11 @@ Finder
    2731

    2832
    * The `ExceptionInterface` has been deprecated and will be removed in 4.0.
    2933

    34+
    FrameworkBundle
    35+
    ---------------
    36+
    37+
    * The `Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddConsoleCommandPass` has been deprecated. Use `Symfony\Component\Console\DependencyInjection\AddConsoleCommandPass` instead.
    38+
    3039
    HttpKernel
    3140
    -----------
    3241

    UPGRADE-4.0.md

    Lines changed: 7 additions & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -22,6 +22,10 @@ Debug
    2222
    DependencyInjection
    2323
    -------------------
    2424

    25+
    * Service identifiers are now case sensitive.
    26+
    27+
    * The `Reference` and `Alias` classes do not make service identifiers lowercase anymore.
    28+
    2529
    * Using the `PhpDumper` with an uncompiled `ContainerBuilder` is not supported
    2630
    anymore.
    2731

    @@ -150,6 +154,8 @@ FrameworkBundle
    150154
    * The `framework.serializer.cache` option and the services
    151155
    `serializer.mapping.cache.apc` and `serializer.mapping.cache.doctrine.apc`
    152156
    have been removed. APCu should now be automatically used when available.
    157+
    158+
    * The `Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\AddConsoleCommandPass` has been removed. Use `Symfony\Component\Console\DependencyInjection\AddConsoleCommandPass` instead.
    153159

    154160
    SecurityBundle
    155161
    --------------
    @@ -290,7 +296,7 @@ Validator
    290296
    ```
    291297

    292298
    * The default value of the strict option of the `Choice` Constraint has been
    293-
    changed to `true` as of 4.0. If you need the the previous behaviour ensure to
    299+
    changed to `true` as of 4.0. If you need the previous behaviour ensure to
    294300
    set the option to `false`.
    295301

    296302
    Yaml

    composer.json

    Lines changed: 1 addition & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -40,6 +40,7 @@
    4040
    "symfony/debug-bundle": "self.version",
    4141
    "symfony/doctrine-bridge": "self.version",
    4242
    "symfony/dom-crawler": "self.version",
    43+
    "symfony/dotenv": "self.version",
    4344
    "symfony/event-dispatcher": "self.version",
    4445
    "symfony/expression-language": "self.version",
    4546
    "symfony/filesystem": "self.version",

    src/Symfony/Bridge/Twig/CHANGELOG.md

    Lines changed: 8 additions & 2 deletions
    Original file line numberDiff line numberDiff line change
    @@ -1,14 +1,19 @@
    11
    CHANGELOG
    22
    =========
    33

    4+
    3.3.0
    5+
    -----
    6+
    7+
    * added a `workflow_has_marked_place` function
    8+
    49
    3.2.0
    510
    -----
    611

    712
    * added `AppVariable::getToken()`
    813
    * Deprecated the possibility to inject the Form `TwigRenderer` into the `FormExtension`.
    9-
    * [BC BREAK] Registering the `FormExtension` without configuring a runtime loader for the `TwigRenderer`
    14+
    * [BC BREAK] Registering the `FormExtension` without configuring a runtime loader for the `TwigRenderer`
    1015
    doesn't work anymore.
    11-
    16+
    1217
    Before:
    1318

    1419
    ```php
    @@ -36,6 +41,7 @@ CHANGELOG
    3641
    $twig->addExtension(new FormExtension());
    3742
    ```
    3843
    * Deprecated the `TwigRendererEngineInterface` interface.
    44+
    * added WorkflowExtension (provides `workflow_can` and `workflow_transitions`)
    3945

    4046
    2.7.0
    4147
    -----

    src/Symfony/Bridge/Twig/Extension/WorkflowExtension.php

    Lines changed: 6 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -32,6 +32,7 @@ public function getFunctions()
    3232
    return array(
    3333
    new \Twig_SimpleFunction('workflow_can', array($this, 'canTransition')),
    3434
    new \Twig_SimpleFunction('workflow_transitions', array($this, 'getEnabledTransitions')),
    35+
    new \Twig_SimpleFunction('workflow_has_marked_place', array($this, 'hasMarkedPlace')),
    3536
    );
    3637
    }
    3738

    @@ -45,6 +46,11 @@ public function getEnabledTransitions($object, $name = null)
    4546
    return $this->workflowRegistry->get($object, $name)->getEnabledTransitions($object);
    4647
    }
    4748

    49+
    public function hasMarkedPlace($object, $place, $name = null)
    50+
    {
    51+
    return $this->workflowRegistry->get($object, $name)->getMarking($object)->has($place);
    52+
    }
    53+
    4854
    public function getName()
    4955
    {
    5056
    return 'workflow';

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

    Lines changed: 26 additions & 7 deletions
    Original file line numberDiff line numberDiff line change
    @@ -94,13 +94,32 @@
    9494
    {%- set attr = attr|merge({class: (attr.class|default('') ~ ' form-inline')|trim}) -%}
    9595
    <div {{ block('widget_container_attributes') }}>
    9696
    {{- form_errors(form) -}}
    97-
    {%- if with_years %}{{ form_widget(form.years) }}{% endif -%}
    98-
    {%- if with_months %}{{ form_widget(form.months) }}{% endif -%}
    99-
    {%- if with_weeks %}{{ form_widget(form.weeks) }}{% endif -%}
    100-
    {%- if with_days %}{{ form_widget(form.days) }}{% endif -%}
    101-
    {%- if with_hours %}{{ form_widget(form.hours) }}{% endif -%}
    102-
    {%- if with_minutes %}{{ form_widget(form.minutes) }}{% endif -%}
    103-
    {%- if with_seconds %}{{ form_widget(form.seconds) }}{% endif -%}
    97+
    <div class="table-responsive">
    98+
    <table class="table {{ table_class|default('table-bordered table-condensed table-striped') }}">
    99+
    <thead>
    100+
    <tr>
    101+
    {%- if with_years %}<th>{{ form_label(form.years) }}</th>{% endif -%}
    102+
    {%- if with_months %}<th>{{ form_label(form.months) }}</th>{% endif -%}
    103+
    {%- if with_weeks %}<th>{{ form_label(form.weeks) }}</th>{% endif -%}
    104+
    {%- if with_days %}<th>{{ form_label(form.days) }}</th>{% endif -%}
    105+
    {%- if with_hours %}<th>{{ form_label(form.hours) }}</th>{% endif -%}
    106+
    {%- if with_minutes %}<th>{{ form_label(form.minutes) }}</th>{% endif -%}
    107+
    {%- if with_seconds %}<th>{{ form_label(form.seconds) }}</th>{% endif -%}
    108+
    </tr>
    109+
    </thead>
    110+
    <tbody>
    111+
    <tr>
    112+
    {%- if with_years %}<td>{{ form_widget(form.years) }}</td>{% endif -%}
    113+
    {%- if with_months %}<td>{{ form_widget(form.months) }}</td>{% endif -%}
    114+
    {%- if with_weeks %}<td>{{ form_widget(form.weeks) }}</td>{% endif -%}
    115+
    {%- if with_days %}<td>{{ form_widget(form.days) }}</td>{% endif -%}
    116+
    {%- if with_hours %}<td>{{ form_widget(form.hours) }}</td>{% endif -%}
    117+
    {%- if with_minutes %}<td>{{ form_widget(form.minutes) }}</td>{% endif -%}
    118+
    {%- if with_seconds %}<td>{{ form_widget(form.seconds) }}</td>{% endif -%}
    119+
    </tr>
    120+
    </tbody>
    121+
    </table>
    122+
    </div>
    104123
    {%- if with_invert %}{{ form_widget(form.invert) }}{% endif -%}
    105124
    </div>
    106125
    {%- endif -%}

    src/Symfo 10000 ny/Bridge/Twig/Resources/views/Form/form_div_layout.html.twig

    Lines changed: 24 additions & 7 deletions
    Original file line numberDiff line numberDiff line change
    @@ -136,13 +136,30 @@
    136136
    {%- else -%}
    137137
    <div {{ block('widget_container_attributes') }}>
    138138
    {{- form_errors(form) -}}
    139-
    {%- if with_years %}{{ form_widget(form.years) }}{% endif -%}
    140-
    {%- if with_months %}{{ form_widget(form.months) }}{% endif -%}
    141-
    {%- if with_weeks %}{{ form_widget(form.weeks) }}{% endif -%}
    142-
    {%- if with_days %}{{ form_widget(form.days) }}{% endif -%}
    143-
    {%- if with_hours %}{{ form_widget(form.hours) }}{% endif -%}
    144-
    {%- if with_minutes %}{{ form_widget(form.minutes) }}{% endif -%}
    145-
    {%- if with_seconds %}{{ form_widget(form.seconds) }}{% endif -%}
    139+
    <table class="{{ table_class|default('') }}">
    140+
    <thead>
    141+
    <tr>
    142+
    {%- if with_years %}<th>{{ form_label(form.years) }}</th>{% endif -%}
    143+
    {%- if with_months %}<th>{{ form_label(form.months) }}</th>{% endif -%}
    144+
    {%- if with_weeks %}<th>{{ form_label(form.weeks) }}</th>{% endif -%}
    145+
    {%- if with_days %}<th>{{ form_label(form.days) }}</th>{% endif -%}
    146+
    {%- if with_hours %}<th>{{ form_label(form.hours) }}</th>{% endif -%}
    147+
    {%- if with_minutes %}<th>{{ form_label(form.minutes) }}</th>{% endif -%}
    148+
    {%- if with_seconds %}<th>{{ form_label(form.seconds) }}</th>{% endif -%}
    149+
    </tr>
    150+
    </thead>
    151+
    <tbody>
    152+
    <tr>
    153+
    {%- if with_years %}<td>{{ form_widget(form.years) }}</td>{% endif -%}
    154+
    {%- if with_months %}<td>{{ form_widget(form.months) }}</td>{% endif -%}
    155+
    {%- if with_weeks %}<td>{{ form_widget(form.weeks) }}</td>{% endif -%}
    156+
    {%- if with_days %}<td>{{ form_widget(form.days) }}</td>{% endif -%}
    157+
    {%- if with_hours %}<td>{{ form_widget(form.hours) }}</td>{% endif -%}
    158+
    {%- if with_minutes %}<td>{{ form_widget(form.minutes) }}</td>{% endif -%}
    159+
    {%- if with_seconds %}<td>{{ form_widget(form.seconds) }}</td>{% endif -%}
    160+
    </tr>
    161+
    </tbody>
    162+
    </table>
    146163
    {%- if with_invert %}{{ form_widget(form.invert) }}{% endif -%}
    147164
    </div>
    148165
    {%- endif -%}

    src/Symfony/Bridge/Twig/Tests/Extension/CodeExtensionTest.php

    Lines changed: 0 additions & 2 deletions
    Original file line numberDiff line numberDiff line change
    @@ -16,8 +16,6 @@
    1616

    1717
    class CodeExtensionTest extends \PHPUnit_Framework_TestCase
    1818
    {
    19-
    protected $helper;
    20-
    2119
    public function testFormatFile()
    2220
    {
    2321
    $expected = sprintf('<a href="proto://foobar%s#&amp;line=25" title="Click to open this file" class="file_link">%s at line 25</a>', substr(__FILE__, 5), __FILE__);

    src/Symfony/Bridge/Twig/Tests/Extension/ExpressionExtensionTest.php

    Lines changed: 0 additions & 2 deletions
    Original file line numberDiff line numberDiff line change
    @@ -15,8 +15,6 @@
    1515

    1616
    class ExpressionExtensionTest extends \PHPUnit_Framework_TestCase
    1717
    {
    18-
    protected $helper;
    19-
    2018
    public function testExpressionCreation()
    2119
    {
    2220
    $template = "{{ expression('1 == 1') }}";

    0 commit comments

    Comments
     (0)
    0