[DOC-CVS] [doc-en] master: Synchronize final class changes (#5068)

[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:51:56+01:00

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

Synchronize final class changes (#5068)

Changed paths:
  M  reference/dir/directory.xml
  M  reference/reflection/reflectionconstant.xml


Diff:

diff --git a/reference/dir/directory.xml b/reference/dir/directory.xml
index f449cc906495..e974ae8cba9e 100644
--- a/reference/dir/directory.xml
+++ b/reference/dir/directory.xml
@@ -23,6 +23,7 @@
 <!-- {{{ Synopsis -->
    <classsynopsis class="class">
     <ooclass>
+     <modifier>final</modifier>
      <classname>Directory</classname>
     </ooclass>
 
@@ -91,6 +92,12 @@
         The <varname>path</varname> and <varname>handle</varname> properties are now readonly.
        </entry>
       </row>
+      <row>
+       <entry>8.5.0</entry>
+       <entry>
+        The class is now final.
+       </entry>
+      </row>
      </tbody>
     </tgroup>
    </informaltable>
diff --git a/reference/reflection/reflectionconstant.xml b/reference/reflection/reflectionconstant.xml
index d9f3830184f7..1df987339e98 100644
--- a/reference/reflection/reflectionconstant.xml
+++ b/reference/reflection/reflectionconstant.xml
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<reference xml:id="class.reflectionconstant" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
+<reference xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude" xml:id="class.reflectionconstant" role="class">
  <title>The ReflectionConstant class</title>
  <titleabbrev>ReflectionConstant</titleabbrev>
 
@@ -17,7 +17,6 @@
 
    <classsynopsis class="class">
     <ooclass>
-     <modifier>final</modifier>
      <classname>ReflectionConstant</classname>
     </ooclass>
 
@@ -59,6 +58,28 @@
    </variablelist>
   </section>
 
+  <section role="changelog">
+   &reftitle.changelog;
+   <informaltable>
+    <tgroup cols="2">
+     <thead>
+      <row>
+       <entry>&Version;</entry>
+       <entry>&Description;</entry>
+      </row>
+     </thead>
+     <tbody>
+      <row>
+       <entry>8.5.0</entry>
+       <entry>
+        The class is no longer final.
+       </entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </informaltable>
+  </section>
+
   <section role="seealso" xml:id="reflectionconstant.seealso">
    &reftitle.seealso;
    <simplelist>
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.