We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
validate_deprecated_attribute
#[\Deprecated]
1 parent 5fb982a commit 051c6ecCopy full SHA for 051c6ec
Zend/zend_attributes.c
@@ -85,10 +85,6 @@ static void validate_allow_dynamic_properties(
85
scope->ce_flags |= ZEND_ACC_ALLOW_DYNAMIC_PROPERTIES;
86
}
87
88
-void validate_deprecated_attribute(zend_attribute *attr, uint32_t target, zend_class_entry *scope)
89
-{
90
-}
91
-
92
ZEND_METHOD(Attribute, __construct)
93
{
94
zend_long flags = ZEND_ATTRIBUTE_TARGET_ALL;
@@ -541,7 +537,6 @@ void zend_register_attribute_ce(void)
541
537
542
538
zend_ce_deprecated = register_class_Deprecated();
543
539
attr = zend_mark_internal_attribute(zend_ce_deprecated);
544
- attr->validator = validate_deprecated_attribute;
545
540
546
547
void zend_attributes_shutdown(void)
0 commit comments