[DOC-CVS] [doc-en] master: Add missing attributes (#5067)

[email protected] (Máté Kocsis via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Máté Kocsis (kocsismate)
Committer: GitHub (web-flow)
Pusher: kocsismate
Date: 2026-01-02T14:37:19+01:00

Commit: https://github.com/php/doc-en/commit/77325b622f91355b118e8f3bc9ff940e8201f55d
Raw diff: https://github.com/php/doc-en/commit/77325b622f91355b118e8f3bc9ff940e8201f55d.diff

Add missing attributes (#5067)

Changed paths:
  M  language/predefined/attributes/allowdynamicproperties.xml
  M  language/predefined/attributes/attribute.xml
  M  language/predefined/attributes/deprecated.xml
  M  language/predefined/attributes/override.xml
  M  language/predefined/attributes/returntypewillchange.xml
  M  language/predefined/attributes/sensitiveparameter.xml
  M  language/predefined/php-incomplete-class.xml
  M  language/predefined/stdclass.xml


Diff:

diff --git a/language/predefined/attributes/allowdynamicproperties.xml b/language/predefined/attributes/allowdynamicproperties.xml
index 5c06466026ea..f5cf21bcb63a 100644
--- a/language/predefined/attributes/allowdynamicproperties.xml
+++ b/language/predefined/attributes/allowdynamicproperties.xml
@@ -18,6 +18,7 @@
 
    <classsynopsis class="class">
     <ooclass>
+     <modifier role="attribute">#[\Attribute]</modifier>
      <modifier>final</modifier>
      <classname>AllowDynamicProperties</classname>
     </ooclass>
diff --git a/language/predefined/attributes/attribute.xml b/language/predefined/attributes/attribute.xml
index 46bfef3d2fa5..9be28426145d 100644
--- a/language/predefined/attributes/attribute.xml
+++ b/language/predefined/attributes/attribute.xml
@@ -23,6 +23,7 @@
 
    <classsynopsis class="class">
     <ooclass>
+     <modifier role="attribute">#[\Attribute]</modifier>
      <modifier>final</modifier>
      <classname>Attribute</classname>
     </ooclass>
diff --git a/language/predefined/attributes/deprecated.xml b/language/predefined/attributes/deprecated.xml
index 98763d59adc1..1051fdab4824 100644
--- a/language/predefined/attributes/deprecated.xml
+++ b/language/predefined/attributes/deprecated.xml
@@ -18,6 +18,7 @@
 
    <classsynopsis class="class">
     <ooclass>
+     <modifier role="attribute">#[\Attribute]</modifier>
      <modifier>final</modifier>
      <classname>Deprecated</classname>
     </ooclass>
diff --git a/language/predefined/attributes/override.xml b/language/predefined/attributes/override.xml
index 3ea84e849163..bfbc8c4a6d8f 100644
--- a/language/predefined/attributes/override.xml
+++ b/language/predefined/attributes/override.xml
@@ -29,6 +29,7 @@
 
    <classsynopsis class="class">
     <ooclass>
+     <modifier role="attribute">#[\Attribute]</modifier>
      <modifier>final</modifier>
      <classname>Override</classname>
     </ooclass>
diff --git a/language/predefined/attributes/returntypewillchange.xml b/language/predefined/attributes/returntypewillchange.xml
index a24a77609648..12f7f83961c6 100644
--- a/language/predefined/attributes/returntypewillchange.xml
+++ b/language/predefined/attributes/returntypewillchange.xml
@@ -23,6 +23,7 @@
 
    <classsynopsis class="class">
     <ooclass>
+     <modifier role="attribute">#[\Attribute]</modifier>
      <modifier>final</modifier>
      <classname>ReturnTypeWillChange</classname>
     </ooclass>
diff --git a/language/predefined/attributes/sensitiveparameter.xml b/language/predefined/attributes/sensitiveparameter.xml
index 4f69ef73e0dc..efd908fab325 100644
--- a/language/predefined/attributes/sensitiveparameter.xml
+++ b/language/predefined/attributes/sensitiveparameter.xml
@@ -19,6 +19,7 @@
 
    <classsynopsis class="class">
     <ooclass>
+     <modifier role="attribute">#[\Attribute]</modifier>
      <modifier>final</modifier>
      <classname>SensitiveParameter</classname>
     </ooclass>
diff --git a/language/predefined/php-incomplete-class.xml b/language/predefined/php-incomplete-class.xml
index c74c75384ae4..94a7b4530761 100644
--- a/language/predefined/php-incomplete-class.xml
+++ b/language/predefined/php-incomplete-class.xml
@@ -28,6 +28,7 @@
 
    <classsynopsis class="class">
     <ooclass>
+     <modifier role="attribute">#[\AllowDynamicProperties]</modifier>
      <modifier>final</modifier>
      <classname>__PHP_Incomplete_Class</classname>
     </ooclass>
diff --git a/language/predefined/stdclass.xml b/language/predefined/stdclass.xml
index 94a069011370..db51a127c73e 100644
--- a/language/predefined/stdclass.xml
+++ b/language/predefined/stdclass.xml
@@ -42,6 +42,7 @@
 
    <classsynopsis class="class">
     <ooclass>
+     <modifier role="attribute">#[\AllowDynamicProperties]</modifier>
      <classname>stdClass</classname>
     </ooclass>
    </classsynopsis>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.