Skip to content

Commit

Permalink
Use new class synopsis markup (#2611)
Browse files Browse the repository at this point in the history
Follow-up on php/phd#77
  • Loading branch information
kocsismate authored Aug 30, 2023
1 parent 09caff9 commit 14767af
Show file tree
Hide file tree
Showing 235 changed files with 1,108 additions and 2,452 deletions.
20 changes: 7 additions & 13 deletions language/predefined/argumentcounterror.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,16 @@
&reftitle.classsynopsis;

<!-- {{{ Synopsis -->
<classsynopsis>
<classsynopsis class="class">
<ooexception>
<exceptionname>ArgumentCountError</exceptionname>
</ooexception>

<ooclass>
<classname>ArgumentCountError</classname>
<modifier>extends</modifier>
<classname>TypeError</classname>
</ooclass>

<classsynopsisinfo>
<ooclass>
<classname>ArgumentCountError</classname>
</ooclass>

<ooclass>
<modifier>extends</modifier>
<classname>TypeError</classname>
</ooclass>
</classsynopsisinfo>

<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))">
<xi:fallback/>
Expand Down
20 changes: 7 additions & 13 deletions language/predefined/arithmeticerror.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,16 @@
&reftitle.classsynopsis;

<!-- {{{ Synopsis -->
<classsynopsis>
<classsynopsis class="class">
<ooexception>
<exceptionname>ArithmeticError</exceptionname>
</ooexception>

<ooclass>
<classname>ArithmeticError</classname>
<modifier>extends</modifier>
<classname>Error</classname>
</ooclass>

<classsynopsisinfo>
<ooclass>
<classname>ArithmeticError</classname>
</ooclass>

<ooclass>
<modifier>extends</modifier>
<classname>Error</classname>
</ooclass>
</classsynopsisinfo>

<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))">
<xi:fallback/>
Expand Down
20 changes: 7 additions & 13 deletions language/predefined/assertionerror.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,16 @@
&reftitle.classsynopsis;

<!-- {{{ Synopsis -->
<classsynopsis>
<classsynopsis class="class">
<ooexception>
<exceptionname>AssertionError</exceptionname>
</ooexception>

<ooclass>
<classname>AssertionError</classname>
<modifier>extends</modifier>
<classname>Error</classname>
</ooclass>

<classsynopsisinfo>
<ooclass>
<classname>AssertionError</classname>
</ooclass>

<ooclass>
<modifier>extends</modifier>
<classname>Error</classname>
</ooclass>
</classsynopsisinfo>

<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))">
<xi:fallback/>
Expand Down
10 changes: 2 additions & 8 deletions language/predefined/attributes/allowdynamicproperties.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,12 @@
<section xml:id="allowdynamicproperties.synopsis">
&reftitle.classsynopsis;

<classsynopsis>
<classsynopsis class="class">
<ooclass>
<modifier>final</modifier>
<classname>AllowDynamicProperties</classname>
</ooclass>

<classsynopsisinfo>
<ooclass>
<modifier>final</modifier>
<classname>AllowDynamicProperties</classname>
</ooclass>
</classsynopsisinfo>

<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.allowdynamicproperties')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='AllowDynamicProperties'])">
<xi:fallback/>
Expand Down
10 changes: 2 additions & 8 deletions language/predefined/attributes/attribute.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,12 @@
<section xml:id="attribute.synopsis">
&reftitle.classsynopsis;

<classsynopsis>
<classsynopsis class="class">
<ooclass>
<modifier>final</modifier>
<classname>Attribute</classname>
</ooclass>

<classsynopsisinfo>
<ooclass>
<modifier>final</modifier>
<classname>Attribute</classname>
</ooclass>
</classsynopsisinfo>

<classsynopsisinfo role="comment">&Constants;</classsynopsisinfo>
<fieldsynopsis>
<modifier>const</modifier>
Expand Down
10 changes: 2 additions & 8 deletions language/predefined/attributes/returntypewillchange.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,12 @@
<section xml:id="returntypewillchange.synopsis">
&reftitle.classsynopsis;

<classsynopsis>
<classsynopsis class="class">
<ooclass>
<modifier>final</modifier>
<classname>ReturnTypeWillChange</classname>
</ooclass>

<classsynopsisinfo>
<ooclass>
<modifier>final</modifier>
<classname>ReturnTypeWillChange</classname>
</ooclass>
</classsynopsisinfo>

<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.returntypewillchange')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='ReturnTypeWillChange'])">
<xi:fallback/>
Expand Down
10 changes: 2 additions & 8 deletions language/predefined/attributes/sensitiveparameter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,12 @@
<section xml:id="sensitiveparameter.synopsis">
&reftitle.classsynopsis;

<classsynopsis>
<classsynopsis class="class">
<ooclass>
<modifier>final</modifier>
<classname>SensitiveParameter</classname>
</ooclass>

<classsynopsisinfo>
<ooclass>
<modifier>final</modifier>
<classname>SensitiveParameter</classname>
</ooclass>
</classsynopsisinfo>

<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.sensitiveparameter')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='SensitiveParameter'])">
<xi:fallback/>
Expand Down
10 changes: 2 additions & 8 deletions language/predefined/closure.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,12 @@
&reftitle.classsynopsis;

<!-- {{{ Synopsis -->
<classsynopsis>
<classsynopsis class="class">
<ooclass>
<modifier>final</modifier>
<classname>Closure</classname>
</ooclass>

<classsynopsisinfo>
<ooclass>
<modifier>final</modifier>
<classname>Closure</classname>
</ooclass>
</classsynopsisinfo>

<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.closure')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='Closure'])">
<xi:fallback/>
Expand Down
20 changes: 7 additions & 13 deletions language/predefined/compileerror.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,16 @@
&reftitle.classsynopsis;

<!-- {{{ Synopsis -->
<classsynopsis>
<classsynopsis class="class">
<ooexception>
<exceptionname>CompileError</exceptionname>
</ooexception>

<ooclass>
<classname>CompileError</classname>
<modifier>extends</modifier>
<classname>Error</classname>
</ooclass>

<classsynopsisinfo>
<ooclass>
<classname>CompileError</classname>
</ooclass>

<ooclass>
<modifier>extends</modifier>
<classname>Error</classname>
</ooclass>
</classsynopsisinfo>

<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))">
<xi:fallback/>
Expand Down
20 changes: 7 additions & 13 deletions language/predefined/divisionbyzeroerror.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,16 @@
&reftitle.classsynopsis;

<!-- {{{ Synopsis -->
<classsynopsis>
<classsynopsis class="class">
<ooexception>
<exceptionname>DivisionByZeroError</exceptionname>
</ooexception>

<ooclass>
<classname>DivisionByZeroError</classname>
<modifier>extends</modifier>
<classname>ArithmeticError</classname>
</ooclass>

<classsynopsisinfo>
<ooclass>
<classname>DivisionByZeroError</classname>
</ooclass>

<ooclass>
<modifier>extends</modifier>
<classname>ArithmeticError</classname>
</ooclass>
</classsynopsisinfo>

<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))">
<xi:fallback/>
Expand Down
21 changes: 8 additions & 13 deletions language/predefined/error.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,15 @@
&reftitle.classsynopsis;

<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass>
<classname>Error</classname>
</ooclass>
<classsynopsis class="class">
<ooexception>
<exceptionname>Error</exceptionname>
</ooexception>

<classsynopsisinfo>
<ooclass>
<classname>Error</classname>
</ooclass>

<oointerface>
<interfacename>Throwable</interfacename>
</oointerface>
</classsynopsisinfo>
<oointerface>
<modifier>implements</modifier>
<interfacename>Throwable</interfacename>
</oointerface>

<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
<fieldsynopsis>
Expand Down
20 changes: 7 additions & 13 deletions language/predefined/errorexception.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,16 @@
&reftitle.classsynopsis;

<!-- {{{ Synopsis -->
<classsynopsis>
<classsynopsis class="class">
<ooexception>
<exceptionname>ErrorException</exceptionname>
</ooexception>

<ooclass>
<classname>ErrorException</classname>
<modifier>extends</modifier>
<classname>Exception</classname>
</ooclass>

<classsynopsisinfo>
<ooclass>
<classname>ErrorException</classname>
</ooclass>

<ooclass>
<modifier>extends</modifier>
<classname>Exception</classname>
</ooclass>
</classsynopsisinfo>

<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
<fieldsynopsis>
<modifier>protected</modifier>
Expand Down
21 changes: 8 additions & 13 deletions language/predefined/exception.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,15 @@
&reftitle.classsynopsis;

<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass>
<classname>Exception</classname>
</ooclass>
<classsynopsis class="class">
<ooexception>
<exceptionname>Exception</exceptionname>
</ooexception>

<classsynopsisinfo>
<ooclass>
<classname>Exception</classname>
</ooclass>

<oointerface>
<interfacename>Throwable</interfacename>
</oointerface>
</classsynopsisinfo>
<oointerface>
<modifier>implements</modifier>
<interfacename>Throwable</interfacename>
</oointerface>

<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
<fieldsynopsis>
Expand Down
10 changes: 2 additions & 8 deletions language/predefined/fiber.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,12 @@
&reftitle.classsynopsis;

<!-- {{{ Synopsis -->
<classsynopsis>
<classsynopsis class="class">
<ooclass>
<modifier>final</modifier>
<classname>Fiber</classname>
</ooclass>

<classsynopsisinfo>
<ooclass>
<modifier>final</modifier>
<classname>Fiber</classname>
</ooclass>
</classsynopsisinfo>

<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.fiber')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='Fiber'])">
<xi:fallback/>
Expand Down
22 changes: 8 additions & 14 deletions language/predefined/fibererror.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,17 @@
&reftitle.classsynopsis;

<!-- {{{ Synopsis -->
<classsynopsis>
<classsynopsis class="class">
<ooexception>
<modifier>final</modifier>
<exceptionname>FiberError</exceptionname>
</ooexception>

<ooclass>
<classname>FiberError</classname>
<modifier>extends</modifier>
<classname>Error</classname>
</ooclass>

<classsynopsisinfo>
<ooclass>
<modifier>final</modifier>
<classname>FiberError</classname>
</ooclass>

<ooclass>
<modifier>extends</modifier>
<classname>Error</classname>
</ooclass>
</classsynopsisinfo>

<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))">
<xi:fallback/>
Expand Down
Loading

0 comments on commit 14767af

Please sign in to comment.