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
Commits on Dec 5, 2018
Commits on Dec 1, 2018
  1. feature #28479 [Validator] Checking a BIC along with an IBAN (sylfabre)

    nicolas-grekas committed Dec 1, 2018
    This PR was merged into the 4.3-dev branch.
    
    Discussion
    ----------
    
    [Validator] Checking a BIC along with an IBAN
    
    | Q             | A
    | ------------- | ---
    | Branch?       | master
    | Bug fix?      | no
    | New feature?  | yes
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | #28166
    | License       | MIT
    | Doc PR        | symfony/symfony-docs#10349
    
    A BIC comes usually with an IBAN so it's better to check that they are associated. This PR provides an `iban` option to `Symfony\Component\Validator\Constraints\Bic` to check the BIC against an IBAN.
    
    It also provides an `ibanPropertyPath` to retrieves the IBAN using the property accessor like with comparison constraints.
    
    Commits
    -------
    
    bb6be1534a [Validator] Checking a BIC along with an IBAN Fix #28166
  2. Merge branch '4.2'

    nicolas-grekas committed Dec 1, 2018
    * 4.2:
      fix cs
      [FrameworkBundle] define doctrine as default_pdo_provider only if the package is installed
      [Validator] Allow `ConstraintViolation::__toString()` to expose codes that are not null or emtpy strings
      Added upgrade to HandlersLocator
      fix type for $value in DocBlock
      [WebProfilerBundle] Fix title case
      [Config] fix path exclusion during glob discovery
      [FrameworkBundle][Messenger] Restore check for messenger serializer default id
      Fix wrapped loop of event listener
      [DI] fix edge case in InlineServiceDefinitionsPass
      undeprecate the single-colon notation for controllers
      Update HttpKernel.php
  3. Merge branch '4.1' into 4.2

    nicolas-grekas committed Dec 1, 2018
    * 4.1:
      fix cs
      [Validator] Allow `ConstraintViolation::__toString()` to expose codes that are not null or emtpy strings
      fix type for $value in DocBlock
      [WebProfilerBundle] Fix title case
      Fix wrapped loop of event listener
      [DI] fix edge case in InlineServiceDefinitionsPass
      undeprecate the single-colon notation for controllers
      Update HttpKernel.php
  4. Merge branch '3.4' into 4.1

    nicolas-grekas committed Dec 1, 2018
    * 3.4:
      fix cs
      [Validator] Allow `ConstraintViolation::__toString()` to expose codes that are not null or emtpy strings
      fix type for $value in DocBlock
      Fix wrapped loop of event listener
      Update HttpKernel.php
  5. bug #29375 [Validator] Allow `ConstraintViolation::__toString()` to e…

    nicolas-grekas committed Dec 1, 2018
    …xpose codes that are not null or emtpy strings (phansys)
    
    This PR was squashed before being merged into the 3.4 branch (closes #29375).
    
    Discussion
    ----------
    
    [Validator] Allow `ConstraintViolation::__toString()` to expose codes that are not null or emtpy strings
    
    |Q            |A  |
    |---          |---|
    |Branch       |2.8|
    |Bug fix?     |yes|
    |New feature? |no |
    |BC breaks?   |no |
    |Deprecations?|no |
    |Tests pass?  |yes|
    |Fixed tickets|n/a|
    |License      |MIT|
    |Doc PR       |n/a|
    
    Allow to expose `0` or `"0"` validation codes.
    
    Commits
    -------
    
    7bb0fb5cc3 [Validator] Allow `ConstraintViolation::__toString()` to expose codes that are not null or emtpy strings