summaryrefslogtreecommitdiff
path: root/Zend/tests/attributes/004_name_resolution.phpt
diff options
context:
space:
mode:
authorBenjamin Eberlei <kontakt@beberlei.de>2020-08-15 10:39:00 +0200
committerBenjamin Eberlei <kontakt@beberlei.de>2020-09-02 20:26:50 +0200
commit8b37c1e993f17345312a76a239b77ae137d3f8e8 (patch)
tree606fc07aee5d8531712f1bb008a8e5abe052540c /Zend/tests/attributes/004_name_resolution.phpt
parentf2b40775af7165d0f343fe6351e0d468403c111b (diff)
downloadphp-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.phpt10
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() {
}
}