Skip to content

Commit

Permalink
cleanup (#4747)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Aug 9, 2023
1 parent 5293dab commit ecdf208
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 73 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ final class MultipleNestedAttribute
{
/**
* @Assert\All({
* @Assert\NotNull(),
* @Assert\NotNumber(secondValue=1000),
* @Assert\NotNumber(hey=10, hi="hello"),
* })
Expand All @@ -26,7 +25,7 @@ use Rector\Tests\Php80\Rector\Class_\AnnotationToAttributeRector\SourcePhp81 as

final class MultipleNestedAttribute
{
#[Assert\All([new Assert\NotNull(), new Assert\NotNumber(secondValue: 1000), new Assert\NotNumber(hey: 10, hi: 'hello')])]
#[Assert\All([new Assert\NotNumber(secondValue: 1000), new Assert\NotNumber(hey: 10, hi: 'hello')])]
public $value;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ final class MultipleNestedAttributeWithoutParentheses
{
/**
* @Assert\All({
* @Assert\NotNull,
* @Assert\NotNumber(secondValue=1000),
* @Assert\NotNumber(hey=10, hi="hello"),
* })
Expand All @@ -26,7 +25,7 @@ use Rector\Tests\Php80\Rector\Class_\AnnotationToAttributeRector\SourcePhp81 as

final class MultipleNestedAttributeWithoutParentheses
{
#[Assert\All([new Assert\NotNull(), new Assert\NotNumber(secondValue: 1000), new Assert\NotNumber(hey: 10, hi: 'hello')])]
#[Assert\All([new Assert\NotNumber(secondValue: 1000), new Assert\NotNumber(hey: 10, hi: 'hello')])]
public $value;
}

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit ecdf208

Please sign in to comment.