8000 replace annotations with attributes · Jean-Beru/symfony@cf3879c · GitHub
[go: up one dir, main page]

Skip to content

Commit cf3879c

Browse files
committed
replace annotations with attributes
1 parent eaa33cc commit cf3879c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/Symfony/Component/Validator/Tests/Dummy/DummyClassOne.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ class DummyClassOne
3030

3131
/**
3232
* @var DummyClassTwo|null
33-
*
34-
* @Assert\Valid()
3533
*/
34+
#[Assert\Valid]
3635
public $dummyClassTwo;
3736
}

src/Symfony/Component/Validator/Tests/Dummy/DummyClassTwo.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ class DummyClassTwo
3030

3131
/**
3232
* @var DummyClassOne|null
33-
*
34-
* @Assert\DisableAutoMapping()
3533
*/
34+
#[Assert\DisableAutoMapping]
3635
public $dummyClassOne;
3736
}

0 commit comments

Comments
 (0)
0