Skip to content

Commit ab8aa18

Browse files
authored
Fix code standard of ValidTest
1 parent b157e80 commit ab8aa18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Validator/Tests/Constraints/ValidTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function testAttributes()
4545
self::assertTrue($loader->loadClassMetadata($metadata));
4646

4747
[$bConstraint] = $metadata->properties['b']->getConstraints();
48-
self::assertSame(true, $bConstraint->traverse);
48+
self::assertFalse($bConstraint->traverse);
4949
self::assertSame(['Default', 'ValidDummy'], $bConstraint->groups);
5050

5151
[$cConstraint] = $metadata->properties['c']->getConstraints();
@@ -59,7 +59,7 @@ class ValidDummy
5959
#[Valid]
6060
private $a;
6161

62-
#[Valid(traverse: true)]
62+
#[Valid(traverse: false)]
6363
private $b;
6464

6565
#[Valid(groups: ['my_group'], payload: 'some attached data')]

0 commit comments

Comments
 (0)
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