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
|
<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-Comparison,-char-encoding" />
<h2>Code Comparison, char encoding</h2>
<p class="text">This is a standard block.</p>
<table class="code-comparison">
<tr>
<td class="code-comparison-title">Valid: Vestibulum et orci condimentum.</td>
<td class="code-comparison-title">Invalid: Donec in nisl ut tortor convallis interdum.</td>
</tr>
<tr>
<td class="code-comparison-code"><?php</br></br>// The above PHP tag is specifically testing</br>// handling of that in generated HTML doc.</br></br>// Now let's also check the handling of</br>// comparison operators in code samples...</br>$a = $b < $c;</br>$d = $e > $f;</br>$g = $h <= $i;</br>$j = $k >= $l;</br>$m = $n <=> $o;</td>
<td class="code-comparison-code"><span class="code-comparison-highlight"><?php</span></br></br>// The above PHP tag is specifically testing</br>// handling of that in generated HTML doc.</br></br>// Now let's also check the handling of</br>// comparison operators in code samples</br>// in combination with "em" tags.</br>$a = $b <span class="code-comparison-highlight"><</span> $c;</br>$d = $e > $f;</br>$g = <span class="code-comparison-highlight">$h <= $i</span>;</br>$j = $k >= $l;</br>$m = $n <span class="code-comparison-highlight"><=></span> $o;</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>
|