-
-
Notifications
You must be signed in to change notification settings - Fork 69
/
Copy pathExpectedOutputCodeTitleLineWrapping.html
135 lines (124 loc) · 3.89 KB
/
ExpectedOutputCodeTitleLineWrapping.html
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
<html>
<head>
<title>GeneratorTest Coding Standards</title>
<style>
body {
background-color: #FFFFFF;
font-size: 14px;
font-family: Arial, Helvetica, sans-serif;
color: #000000;
}
h1 {
color: #666666;
font-size: 20px;
font-weight: bold;
margin-top: 0px;
background-color: #E6E7E8;
padding: 20px;
border: 1px solid #BBBBBB;
}
h2 {
color: #00A5E3;
font-size: 16px;
font-weight: normal;
margin-top: 50px;
}
h2 a.sniffanchor,
h2 a.sniffanchor {
color: #006C95;
opacity: 0;
padding: 0 3px;
text-decoration: none;
font-weight: bold;
}
h2:hover a.sniffanchor,
h2:focus a.sniffanchor {
opacity: 1;
}
.code-comparison {
width: 100%;
}
.code-comparison td {
border: 1px solid #CCCCCC;
}
.code-comparison-title, .code-comparison-code {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
vertical-align: top;
padding: 4px;
width: 50%;
background-color: #F1F1F1;
line-height: 15px;
}
.code-comparison-title {
text-align: left;
font-weight: 600;
}
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
}
.code-comparison-highlight {
background-color: #DDF1F7;
border: 1px solid #00A5E3;
line-height: 15px;
}
.tag-line {
text-align: center;
width: 100%;
margin-top: 30px;
font-size: 12px;
}
.tag-line a {
color: #000000;
}
</style>
</head>
<body>
<h1>GeneratorTest Coding Standards</h1>
<h2 id="code-title--line-wrapping">Code Title, line wrapping<a class="sniffanchor" href="#code-title--line-wrapping"> § </a></h2>
<p class="text">This is a standard block.</p>
<table class="code-comparison">
<tr>
<th class="code-comparison-title">Valid: exactly 45 character long description.</th>
<th class="code-comparison-title">Invalid: exactly 45 char long description---.</th>
</tr>
<tr>
<td class="code-comparison-code">// Dummy.</td>
<td class="code-comparison-code">// Dummy.</td>
</tr>
</table>
<table class="code-comparison">
<tr>
<th class="code-comparison-title">Valid: exactly 46 character long description-.</th>
<th class="code-comparison-title">Invalid: exactly 46 character long description</th>
</tr>
<tr>
<td class="code-comparison-code">// Dummy.</td>
<td class="code-comparison-code">// Dummy.</td>
</tr>
</table>
<table class="code-comparison">
<tr>
<th class="code-comparison-title">Valid: exactly 47 character long description--.</th>
<th class="code-comparison-title">Invalid: exactly 47 character long description.</th>
</tr>
<tr>
<td class="code-comparison-code">// Dummy.</td>
<td class="code-comparison-code">// Dummy.</td>
</tr>
</table>
<table class="code-comparison">
<tr>
<th class="code-comparison-title">Valid: this description is longer than 46 characters and will wrap.</th>
<th class="code-comparison-title">Invalid: this description is longer than 46 characters and will wrap.</th>
</tr>
<tr>
<td class="code-comparison-code">// Dummy.</td>
<td class="code-comparison-code">// Dummy.</td>
</tr>
</table>
<div class="tag-line">Documentation generated on #REDACTED# by <a href="https://github.com/PHPCSStandards/PHP_CodeSniffer">PHP_CodeSniffer #VERSION#</a></div>
</body>
</html>