Skip to content

Commit

Permalink
Generate ext/fileinfo class synospes from stubs (#1115)
Browse files Browse the repository at this point in the history
  • Loading branch information
kocsismate committed Nov 17, 2021
1 parent 7e711e8 commit a464e3b
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions reference/fileinfo/finfo.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->

<phpdoc:classref xml:id="class.finfo" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">

<title>The finfo class</title>
Expand All @@ -23,18 +22,23 @@

<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass><classname>finfo</classname></ooclass>
<ooclass>
<classname>finfo</classname>
</ooclass>

<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
<classname>finfo</classname>
</ooclass>
</classsynopsisinfo>
<!-- }}} -->

<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.finfo')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[1])" />
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.finfo')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />

<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.finfo')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
<xi:fallback/>
</xi:include>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.finfo')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])">
<xi:fallback/>
</xi:include>
</classsynopsis>
<!-- }}} -->

Expand All @@ -45,7 +49,6 @@
&reference.fileinfo.entities.finfo;

</phpdoc:classref>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down

0 comments on commit a464e3b

Please sign in to comment.