Skip to content

Commit

Permalink
add test case for nested attribute arrays (#1342)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba authored Nov 29, 2021
1 parent 8db69a5 commit adc2e37
Showing 1 changed file with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php

namespace Rector\Tests\Php80\Rector\Class_\AnnotationToAttributeRector\Fixture;

use Rector\Tests\Php80\Rector\Class_\AnnotationToAttributeRector\Source\GenericAnnotation;

/**
* @GenericAnnotation(title="sample", route={absolute=true, parameters={id="{id}"}}))
*/
final class NestedNestedArrays
{
}

?>
-----
<?php

namespace Rector\Tests\Php80\Rector\Class_\AnnotationToAttributeRector\Fixture;

use Rector\Tests\Php80\Rector\Class_\AnnotationToAttributeRector\Source\GenericAnnotation;

#[GenericAnnotation(title: 'sample', route: ['absolute' => true, 'parameters' => ['id' => '{id}']])]
final class NestedNestedArrays
{
}

?>

0 comments on commit adc2e37

Please sign in to comment.