diff options
author | Benjamin Eberlei <kontakt@beberlei.de> | 2020-08-15 10:39:00 +0200 |
---|---|---|
committer | Benjamin Eberlei <kontakt@beberlei.de> | 2020-09-02 20:26:50 +0200 |
commit | 8b37c1e993f17345312a76a239b77ae137d3f8e8 (patch) | |
tree | 606fc07aee5d8531712f1bb008a8e5abe052540c /Zend/tests/attributes/004_name_resolution.phpt | |
parent | f2b40775af7165d0f343fe6351e0d468403c111b (diff) | |
download | php-git-8b37c1e993f17345312a76a239b77ae137d3f8e8.tar.gz |
Change Attribute Syntax from @@ to #[]
Diffstat (limited to 'Zend/tests/attributes/004_name_resolution.phpt')
-rw-r--r-- | Zend/tests/attributes/004_name_resolution.phpt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Zend/tests/attributes/004_name_resolution.phpt b/Zend/tests/attributes/004_name_resolution.phpt index 3c0e1190ff..6f266908b5 100644 --- a/Zend/tests/attributes/004_name_resolution.phpt +++ b/Zend/tests/attributes/004_name_resolution.phpt @@ -25,11 +25,11 @@ namespace Foo { use Doctrine\ORM\Mapping as ORM; use Doctrine\ORM\Attributes; - @@Entity("imported class") - @@ORM\Entity("imported namespace") - @@\Doctrine\ORM\Mapping\Entity("absolute from namespace") - @@\Entity("import absolute from global") - @@Attributes\Table() + #[Entity("imported class")] + #[ORM\Entity("imported namespace")] + #[\Doctrine\ORM\Mapping\Entity("absolute from namespace")] + #[\Entity("import absolute from global")] + #[Attributes\Table()] function foo() { } } |