Skip to content

Commit f03806f

Browse files
authored
Update ext/phar role attributes (#1983)
1 parent 89eaa41 commit f03806f

File tree

99 files changed

+133
-172
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+133
-172
lines changed

reference/phar/Phar.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,20 @@
4343
<interfacename>ArrayAccess</interfacename>
4444
</oointerface>
4545
</classsynopsisinfo>
46-
46+
4747
<classsynopsisinfo role="comment">&InheritedConstants;</classsynopsisinfo>
4848
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.filesystemiterator')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Constants;']]))">
49-
<xi:fallback />
49+
<xi:fallback/>
5050
</xi:include>
5151

5252
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
53-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.phar')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
53+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.phar')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='Phar'])">
5454
<xi:fallback/>
5555
</xi:include>
56-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.phar')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])">
56+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.phar')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='Phar'])">
5757
<xi:fallback/>
5858
</xi:include>
59-
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.phar')/db:refentry/db:refsect1[@role='description']/descendant::db:destructorsynopsis[not(@role='procedural')])">
59+
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.phar')/db:refentry/db:refsect1[@role='description']/descendant::db:destructorsynopsis[@role='Phar'])">
6060
<xi:fallback/>
6161
</xi:include>
6262

reference/phar/Phar/addEmptyDir.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="Phar">
1111
<modifier>public</modifier> <type>void</type><methodname>Phar::addEmptyDir</methodname>
1212
<methodparam><type>string</type><parameter>directory</parameter></methodparam>
1313
</methodsynopsis>

reference/phar/Phar/addFile.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="Phar">
1111
<modifier>public</modifier> <type>void</type><methodname>Phar::addFile</methodname>
1212
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
1313
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>localName</parameter><initializer>&null;</initializer></methodparam>

reference/phar/Phar/addFromString.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="Phar">
1111
<modifier>public</modifier> <type>void</type><methodname>Phar::addFromString</methodname>
1212
<methodparam><type>string</type><parameter>localName</parameter></methodparam>
1313
<methodparam><type>string</type><parameter>contents</parameter></methodparam>

reference/phar/Phar/apiVersion.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="phar.apiversion">
3+
<refentry xml:id="phar.apiversion" xmlns="http://docbook.org/ns/docbook">
44
<refnamediv>
55
<refname>Phar::apiVersion</refname>
66
<refpurpose>Returns the api version</refpurpose>
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="Phar">
1111
<modifier>final</modifier> <modifier>public</modifier> <modifier>static</modifier> <type>string</type><methodname>Phar::apiVersion</methodname>
1212
<void/>
1313
</methodsynopsis>
@@ -54,7 +54,6 @@ echo Phar::apiVersion();
5454
</refsect1>
5555

5656
</refentry>
57-
5857
<!-- Keep this comment at the end of the file
5958
Local variables:
6059
mode: sgml

reference/phar/Phar/buildFromDirectory.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<refsect1 role="description">
1010
&reftitle.description;
11-
<methodsynopsis>
11+
<methodsynopsis role="Phar">
1212
<modifier>public</modifier> <type>array</type><methodname>Phar::buildFromDirectory</methodname>
1313
<methodparam><type>string</type><parameter>directory</parameter></methodparam>
1414
<methodparam choice="opt"><type>string</type><parameter>pattern</parameter><initializer>""</initializer></methodparam>

reference/phar/Phar/buildFromIterator.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<refsect1 role="description">
1010
&reftitle.description;
11-
<methodsynopsis>
11+
<methodsynopsis role="Phar">
1212
<modifier>public</modifier> <type>array</type><methodname>Phar::buildFromIterator</methodname>
1313
<methodparam><type>Traversable</type><parameter>iterator</parameter></methodparam>
1414
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>baseDirectory</parameter><initializer>&null;</initializer></methodparam>

reference/phar/Phar/canCompress.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="Phar">
1111
<modifier>final</modifier> <modifier>public</modifier> <modifier>static</modifier> <type>bool</type><methodname>Phar::canCompress</methodname>
1212
<methodparam choice="opt"><type>int</type><parameter>compression</parameter><initializer>0</initializer></methodparam>
1313
</methodsynopsis>

reference/phar/Phar/canWrite.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="phar.canwrite">
3+
<refentry xml:id="phar.canwrite" xmlns="http://docbook.org/ns/docbook">
44
<refnamediv>
55
<refname>Phar::canWrite</refname>
66
<refpurpose>Returns whether phar extension supports writing and creating phars</refpurpose>
77
</refnamediv>
88
<refsect1 role="description">
99
&reftitle.description;
10-
<methodsynopsis>
10+
<methodsynopsis role="Phar">
1111
<modifier>final</modifier> <modifier>public</modifier> <modifier>static</modifier> <type>bool</type><methodname>Phar::canWrite</methodname>
1212
<void/>
1313
</methodsynopsis>
@@ -61,7 +61,6 @@ if (Phar::canWrite()) {
6161

6262

6363
</refentry>
64-
6564
<!-- Keep this comment at the end of the file
6665
Local variables:
6766
mode: sgml

reference/phar/Phar/compress.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<refsect1 role="description">
1010
&reftitle.description;
11-
<methodsynopsis>
11+
<methodsynopsis role="Phar">
1212
<modifier>public</modifier> <type class="union"><type>Phar</type><type>null</type></type><methodname>Phar::compress</methodname>
1313
<methodparam><type>int</type><parameter>compression</parameter></methodparam>
1414
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>extension</parameter><initializer>&null;</initializer></methodparam>

0 commit comments

Comments
 (0)