Permalink
Commits on Dec 6, 2018
  1. Merge branch '4.2'

    nicolas-grekas committed Dec 6, 2018
    * 4.2:
      [TwigBridge] Deprecating legacy Twig paths in DebugCommand and simplifications
      [Cache] Fixed Memcached adapter doClear()to call flush()
      Fixes sprintf(): Too few arguments in Translator
      fix TransChoiceTokenParser deprecation message
      [DoctrineBridge] Conflict with Messenger <4.2
      [Contracts] extract LocaleAwareInterface out of TranslatorInterface
  2. bug #29481 [TwigBridge] Deprecating legacy Twig paths in DebugCommand…

    nicolas-grekas committed Dec 6, 2018
    … and simplifications (yceruto)
    
    This PR was squashed before being merged into the 4.2 branch (closes #29481).
    
    Discussion
    ----------
    
    [TwigBridge] Deprecating legacy Twig paths in DebugCommand and simplifications
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 4.2
    | Bug fix?      | yes
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | yes
    | Tests pass?   | yes
    | Fixed tickets | -
    | License       | MIT
    | Doc PR        | -
    
    I've also added some missing tests.
    
    Commits
    -------
    
    96169b8046 [TwigBridge] Deprecating legacy Twig paths in DebugCommand and simplifications
  3. minor #29479 Fix TransChoiceTokenParser deprecation message (fbouriga…

    nicolas-grekas committed Dec 6, 2018
    …ult)
    
    This PR was merged into the 4.2 branch.
    
    Discussion
    ----------
    
    Fix TransChoiceTokenParser deprecation message
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 4.2
    | Bug fix?      | yes
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | N/A
    | License       | MIT
    | Doc PR        | N/A
    
    While debugging a `cache:clear`, I found the following errors on stderr:
    ```
    PHP Warning: sprintf(): Too few arguments in .../vendor/symfony/twig-bridge/TokenParser/TransChoiceTokenParser.php on line 43
    ```
    
    This was caused by using unescaped `%` in the `sprintf` format string.
    
    This fix the `sprintf` format string so the deprecation message will now works.
    
    Commits
    -------
    
    3d3b3ced48 fix TransChoiceTokenParser deprecation message
Commits on Dec 5, 2018