Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: symfony/validator
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.4.8
Choose a base ref
...
head repository: symfony/validator
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.4.9
Choose a head ref
  • 6 commits
  • 4 files changed
  • 5 contributors

Commits on Jun 9, 2024

  1. fix cssColor HSLA test dataProvider

    sfmok authored and fabpot committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    1fee97c View commit details
    Browse the repository at this point in the history
  2. [Validator] [UniqueValidator] Use correct variable as parameter in (c…

    …ustom) error message
    seho-nl authored and fabpot committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    49bfa54 View commit details
    Browse the repository at this point in the history
  3. bug #57213 [Validator] [UniqueValidator] Use correct variable as para…

    …meter in (custom) error message (seho-nl, Sebastien Hoek)
    
    This PR was squashed before being merged into the 5.4 branch.
    
    Discussion
    ----------
    
    [Validator] [UniqueValidator] Use correct variable as parameter in (custom) error message
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 5.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        |
    | License       | MIT
    
    Unique constraint should use the `$element` (the element violating uniqueness) and not `$values` (the collection) to build the error message.
    
    When adding a custom message to the Constraint, for example
    `message: 'Duplicate element found with value {{ value }}'`
    It outputs:
    `Duplicate element found with value "array"`
    And the expected output should be:
    `Duplicate element found with value "main"` (where main is an example value in the collection).
    
    Commits
    -------
    
    8ef75c2c01 [Validator] [UniqueValidator] Use correct variable as parameter in (custom) error message
    fabpot committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    11f7858 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. [57251] Missing translations for Romanian (ro)

    Cosmin Sandu committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    e00b254 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. Merge branch '5.4' into 6.4

    * 5.4: (21 commits)
      [SecurityBundle] Add `provider` XML attribute to the authenticators it’s missing from
      [DoctrineBridge] Test reset with a true manager
      Sync php-cs-fixer config file with 7.2
      [HttpClient] Fix parsing SSE
      [Notifier] Fix thread key in GoogleChat bridge
      [HttpKernel][Security] Fix accessing session for stateless request
      [Serializer] Fix `ObjectNormalizer` with property path
      test handling of special "value" constraint option
      [PhpUnitBridge] Add missing import
      [FrameworkBundle] Fix setting default context for certain normalizers
      [57251] Missing translations for Romanian (ro)
      [ErrorHandler] Fix rendered exception code highlighting on PHP 8.3
      [String] Fix #54611 pluralization of -on ending words + singularization of -a ending foreign words
      [Validator] [UniqueValidator] Use correct variable as parameter in (custom) error message
      [Messenger] Comply with Amazon SQS requirements for message body
      fix cssColor HSLA test dataProvider
      properly handle invalid data for false/true types
      chore: upgrade class doc
      add space in error message
      [Messenger] [Amqp] Handle AMQPConnectionException when publishing a message.
      ...
    xabbuh committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    1be7d1d View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2024

  1. fix test

    xabbuh committed Jun 22, 2024
    Configuration menu
    Copy the full SHA
    ee0a4d6 View commit details
    Browse the repository at this point in the history
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy