Skip to content

Commit dbbb2aa

Browse files
authored
Remove skeleton comments (#309)
1 parent f572f00 commit dbbb2aa

5 files changed

Lines changed: 1 addition & 18 deletions

File tree

skeletons/book.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@
33
<title>Long title of extension</title>
44
<titleabbrev>Extname</titleabbrev>
55

6-
<!-- {{{ preface -->
76
<preface xml:id="intro.extname">
87
&reftitle.intro;
98
<simpara>
109
Extension introduction.
1110
</simpara>
1211
</preface>
13-
<!-- }}} -->
1412

1513
&reference.extname.setup;
1614
&reference.extname.constants;

skeletons/classname.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,16 @@
55

66
<partintro>
77

8-
<!-- {{{ ClassName intro -->
98
<section xml:id="classname.intro">
109
&reftitle.intro;
1110
<simpara>
1211
Description of the class.
1312
</simpara>
1413
</section>
15-
<!-- }}} -->
1614

1715
<section xml:id="classname.synopsis">
1816
&reftitle.classsynopsis;
1917

20-
<!-- {{{ Synopsis -->
2118
<classsynopsis class="class">
2219
<ooclass>
2320
<classname>ClassName</classname>
@@ -90,7 +87,6 @@
9087
<xi:fallback/>
9188
</xi:include>
9289
</classsynopsis>
93-
<!-- }}} -->
9490

9591
</section>
9692

skeletons/exceptionname.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,16 @@
55

66
<partintro>
77

8-
<!-- {{{ ExceptionName intro -->
98
<section xml:id="exceptionname.intro">
109
&reftitle.intro;
1110
<simpara>
1211
Description of the exception.
1312
</simpara>
1413
</section>
15-
<!-- }}} -->
1614

1715
<section xml:id="exceptionname.synopsis">
1816
&reftitle.classsynopsis;
1917

20-
<!-- {{{ Synopsis -->
2118
<classsynopsis class="class">
2219
<ooclass>
2320
<classname>ExceptionName</classname>

skeletons/method.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Procedural synopsis goes after OOP synopsis.
131131
<![CDATA[
132132
<?php
133133
if ($anexample === true) {
134-
echo 'Use the PEAR Coding standards';
134+
echo 'Use the latest PHP-FIG PER Coding style for PHP code examples: https://www.php-fig.org/per/coding-style/';
135135
}
136136
if ($thereisoutput === 'and it is multiple lines') {
137137
echo 'Use a screen like we did below';

skeletons/setup.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,27 @@
33
&reftitle.setup;
44

55
<!-- Remove sections which are useless -->
6-
<!-- {{{ Requirements -->
76
<section xml:id="extname.requirements">
87
&reftitle.required;
98
&no.requirement;
109
</section>
11-
<!-- }}} -->
1210

13-
<!-- {{{ Installation -->
1411
<section xml:id="extname.installation">
1512
&reftitle.install;
1613
&no.install;
1714
</section>
1815
<!-- or &reference.extname.entities.configure; -->
19-
<!-- }}} -->
2016

21-
<!-- {{{ Configuration -->
2217
<section xml:id="extname.configuration">
2318
&reftitle.runtime;
2419
&no.config;
2520
</section>
2621
<!-- or &reference.extname.entities.ini; -->
27-
<!-- }}} -->
2822

29-
<!-- {{{ Resources -->
3023
<section xml:id="extname.resources">
3124
&reftitle.resources;
3225
&no.resource;
3326
</section>
34-
<!-- }}} -->
3527

3628
</chapter>
3729
<!-- Keep this comment at the end of the file

0 commit comments

Comments
 (0)