File: ExpectedOutputCodeTitleLineWrapping.html

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 (118 lines) | stat: -rw-r--r-- 3,507 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
<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;
        }

        .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-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>
  <a name="Code-Title,-line-wrapping" />
  <h2>Code Title, line wrapping</h2>
  <p class="text">This is a standard block.</p>
  <table class="code-comparison">
   <tr>
    <td class="code-comparison-title">Valid: exactly 45 character long description.</td>
    <td class="code-comparison-title">Invalid: exactly 45 char long description---.</td>
   </tr>
   <tr>
    <td class="code-comparison-code">//&nbsp;Dummy.</td>
    <td class="code-comparison-code">//&nbsp;Dummy.</td>
   </tr>
  </table>
  <table class="code-comparison">
   <tr>
    <td class="code-comparison-title">Valid: exactly 46 character long description-.</td>
    <td class="code-comparison-title">Invalid: exactly 46 character long description</td>
   </tr>
   <tr>
    <td class="code-comparison-code">//&nbsp;Dummy.</td>
    <td class="code-comparison-code">//&nbsp;Dummy.</td>
   </tr>
  </table>
  <table class="code-comparison">
   <tr>
    <td class="code-comparison-title">Valid: exactly 47 character long description--.</td>
    <td class="code-comparison-title">Invalid: exactly 47 character long description.</td>
   </tr>
   <tr>
    <td class="code-comparison-code">//&nbsp;Dummy.</td>
    <td class="code-comparison-code">//&nbsp;Dummy.</td>
   </tr>
  </table>
  <table class="code-comparison">
   <tr>
    <td class="code-comparison-title">Valid: this description is longer than 46 characters and will wrap.</td>
    <td class="code-comparison-title">Invalid: this description is longer than 46 characters and will wrap.</td>
   </tr>
   <tr>
    <td class="code-comparison-code">//&nbsp;Dummy.</td>
    <td class="code-comparison-code">//&nbsp;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>