File: ExpectedOutputStructureDocs.md

package info (click to toggle)
php-codesniffer 3.11.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 13,772 kB
  • sloc: php: 84,771; pascal: 10,061; xml: 6,832; javascript: 2,096; sh: 11; makefile: 4
file content (180 lines) | stat: -rw-r--r-- 2,645 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
# GeneratorTest Coding Standard

## No Content


## Code Comparison Only, Missing Standard Block

  <table>
   <tr>
    <th>Valid: Lorem ipsum dolor sit amet.</th>
    <th>Invalid: Maecenas non rutrum dolor.</th>
   </tr>
   <tr>
<td>

    class Code {}

</td>
<td>

    class Comparison {}

</td>
   </tr>
  </table>

## One Standard Block, Code Comparison

Documentation contains one standard block and one code comparison.
  <table>
   <tr>
    <th>Valid: Lorem ipsum dolor sit amet.</th>
    <th>Invalid: Maecenas non rutrum dolor.</th>
   </tr>
   <tr>
<td>

    class Code {}

</td>
<td>

    class Comparison {}

</td>
   </tr>
  </table>

## One Standard Block, No Code

Documentation contains one standard block and no code comparison.

## One Standard Block, Two Code Comparisons

Documentation contains one standard block and two code comparisons.
  <table>
   <tr>
    <th>Valid: Etiam commodo magna at vestibulum blandit.</th>
    <th>Invalid: Vivamus lacinia ante velit.</th>
   </tr>
   <tr>
<td>

    class Code {}

</td>
<td>

    class Comparison {}

</td>
   </tr>
  </table>
  <table>
   <tr>
    <th>Valid: Pellentesque nisi neque.</th>
    <th>Invalid: Mauris dictum metus quis maximus pharetra.</th>
   </tr>
   <tr>
<td>

    $one = 10;

</td>
<td>

    $a = 10;

</td>
   </tr>
  </table>

## Two Standard Blocks, No Code

This is standard block one.
This is standard block two.

## Two Standard Blocks, One Code Comparison

This is standard block one.
  <table>
   <tr>
    <th>Valid: Vestibulum et orci condimentum.</th>
    <th>Invalid: Donec in nisl ut tortor convallis interdum.</th>
   </tr>
   <tr>
<td>

    class Code {}

</td>
<td>

    class Comparison {}

</td>
   </tr>
  </table>
This is standard block two.

## Two Standard Blocks, Three Code Comparisons

This is standard block one.
  <table>
   <tr>
    <th>Valid: Vestibulum et orci condimentum.</th>
    <th>Invalid: Donec in nisl ut tortor convallis interdum.</th>
   </tr>
   <tr>
<td>

    class Code {}

</td>
<td>

    class Comparison {}

</td>
   </tr>
  </table>
This is standard block two.
  <table>
   <tr>
    <th>Valid: Pellentesque nisi neque.</th>
    <th>Invalid: Mauris dictum metus quis maximus pharetra.</th>
   </tr>
   <tr>
<td>

    $one = 10;

</td>
<td>

    $a = 10;

</td>
   </tr>
  </table>
  <table>
   <tr>
    <th>Valid: Quisque sagittis nisi vitae.</th>
    <th>Invalid: Morbi ac libero vitae lorem.</th>
   </tr>
   <tr>
<td>

    echo $foo;

</td>
<td>

    print $foo;

</td>
   </tr>
  </table>

Documentation generated on *REDACTED* by [PHP_CodeSniffer *VERSION*](https://github.com/PHPCSStandards/PHP_CodeSniffer)