diff options
author | Theodore Brown <theodorejb@outlook.com> | 2020-07-02 09:56:21 -0600 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-07-28 15:28:57 +0200 |
commit | 470d1696d9a4057ab72b90941556f78990f61692 (patch) | |
tree | 30dc7f275ad3749fe3aff5bc862bc3b67f016e8f /ext/zend_test | |
parent | 44ad2db15fe786b07ce793624885e0c43e0af897 (diff) | |
download | php-git-470d1696d9a4057ab72b90941556f78990f61692.tar.gz |
Implement Shorter Attribute Syntax
RFC: https://wiki.php.net/rfc/shorter_attribute_syntax
Closes GH-5796.
Co-authored-by: Martin Schröder <m.schroeder2007@gmail.com>
Diffstat (limited to 'ext/zend_test')
-rw-r--r-- | ext/zend_test/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zend_test/test.c b/ext/zend_test/test.c index 413a6a302f..900c70f59d 100644 --- a/ext/zend_test/test.c +++ b/ext/zend_test/test.c @@ -257,7 +257,7 @@ static zend_function *zend_test_class_static_method_get(zend_class_entry *ce, ze void zend_attribute_validate_zendtestattribute(zend_attribute *attr, uint32_t target, zend_class_entry *scope) { if (target != ZEND_ATTRIBUTE_TARGET_CLASS) { - zend_error(E_COMPILE_ERROR, "Only classes can be marked with <<ZendTestAttribute>>"); + zend_error(E_COMPILE_ERROR, "Only classes can be marked with @@ZendTestAttribute"); } } |