From 470d1696d9a4057ab72b90941556f78990f61692 Mon Sep 17 00:00:00 2001 From: Theodore Brown Date: Thu, 2 Jul 2020 09:56:21 -0600 Subject: Implement Shorter Attribute Syntax MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit RFC: https://wiki.php.net/rfc/shorter_attribute_syntax Closes GH-5796. Co-authored-by: Martin Schröder --- ext/zend_test/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/zend_test') 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 <>"); + zend_error(E_COMPILE_ERROR, "Only classes can be marked with @@ZendTestAttribute"); } } -- cgit v1.2.1