diff --git a/src/Generators/HTML.php b/src/Generators/HTML.php
index 8295935d95..681699ba65 100644
--- a/src/Generators/HTML.php
+++ b/src/Generators/HTML.php
@@ -72,6 +72,11 @@ class HTML extends Generator
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
@@ -410,8 +415,8 @@ protected function getFormattedCodeComparisonBlock(DOMNode $node)
$titleRow = '';
if ($firstTitle !== '' || $secondTitle !== '') {
$titleRow .= '
'.PHP_EOL;
- $titleRow .= " $firstTitle | ".PHP_EOL;
- $titleRow .= " $secondTitle | ".PHP_EOL;
+ $titleRow .= " $firstTitle | ".PHP_EOL;
+ $titleRow .= " $secondTitle | ".PHP_EOL;
$titleRow .= '
'.PHP_EOL;
}
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonBlankLines.html b/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonBlankLines.html
index 788ef612d8..7726809fea 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonBlankLines.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonBlankLines.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
@@ -75,8 +80,8 @@ Code Comparison, blank lines
This is a standard block.
- Valid: Checking handling of blank lines. |
- Invalid: Checking handling of blank lines. |
+ Valid: Checking handling of blank lines. |
+ Invalid: Checking handling of blank lines. |
// First line of the code sample is// deliberately empty.// We also have a blank line in the middle.// And a blank line at the end. |
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonBlockLength.html b/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonBlockLength.html
index a8bfc97f7c..5897d87131 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonBlockLength.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonBlockLength.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
@@ -75,8 +80,8 @@ Code Comparison, block length
This is a standard block.
- Valid: code sample A has more lines than B. |
- Invalid: shorter. |
+ Valid: code sample A has more lines than B. |
+ Invalid: shorter. |
// This code sample has more lines// than the "invalid" one.$one = 10; |
@@ -85,8 +90,8 @@ Code Comparison, block length
- Valid: shorter. |
- Invalid: code sample B has more lines than A. |
+ Valid: shorter. |
+ Invalid: code sample B has more lines than A. |
echo $foo; |
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonEncoding.html b/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonEncoding.html
index ff9f6df12b..dbf5100ba7 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonEncoding.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonEncoding.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
@@ -75,8 +80,8 @@ Code Comparison, char encoding
This is a standard block.
- Valid: Vestibulum et orci condimentum. |
- Invalid: Donec in nisl ut tortor convallis interdum. |
+ Valid: Vestibulum et orci condimentum. |
+ Invalid: Donec in nisl ut tortor convallis interdum. |
<?php// The above PHP tag is specifically testing// handling of that in generated HTML doc.// Now let's also check the handling of// comparison operators in code samples...$a = $b < $c;$d = $e > $f;$g = $h <= $i;$j = $k >= $l;$m = $n <=> $o; |
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonLineLength.html b/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonLineLength.html
index b876e6b1e9..d1b3483535 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonLineLength.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonLineLength.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
@@ -76,8 +81,8 @@ Code Comparison, line length
Ref: squizlabs/PHP_CodeSniffer#2522
- Valid: contains line which is too long. |
- Invalid: contains line which is too long. |
+ Valid: contains line which is too long. |
+ Invalid: contains line which is too long. |
class Foo extends Bar implements Countable, Serializable{} |
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputCodeTitleLineWrapping.html b/tests/Core/Generators/Expectations/ExpectedOutputCodeTitleLineWrapping.html
index fc35fdf0bf..a2e7c6a97f 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputCodeTitleLineWrapping.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputCodeTitleLineWrapping.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
@@ -75,8 +80,8 @@ Code Title, line wrapping
This is a standard block.
- Valid: exactly 45 character long description. |
- Invalid: exactly 45 char long description---. |
+ Valid: exactly 45 character long description. |
+ Invalid: exactly 45 char long description---. |
// Dummy. |
@@ -85,8 +90,8 @@ Code Title, line wrapping
- Valid: exactly 46 character long description-. |
- Invalid: exactly 46 character long description |
+ Valid: exactly 46 character long description-. |
+ Invalid: exactly 46 character long description |
// Dummy. |
@@ -95,8 +100,8 @@ Code Title, line wrapping
- Valid: exactly 47 character long description--. |
- Invalid: exactly 47 character long description. |
+ Valid: exactly 47 character long description--. |
+ Invalid: exactly 47 character long description. |
// Dummy. |
@@ -105,8 +110,8 @@ Code Title, line wrapping
- Valid: this description is longer than 46 characters and will wrap. |
- Invalid: this description is longer than 46 characters and will wrap. |
+ Valid: this description is longer than 46 characters and will wrap. |
+ Invalid: this description is longer than 46 characters and will wrap. |
// Dummy. |
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputCodeTitleWhitespace.html b/tests/Core/Generators/Expectations/ExpectedOutputCodeTitleWhitespace.html
index fe1c15bb47..88eab60199 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputCodeTitleWhitespace.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputCodeTitleWhitespace.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
@@ -75,8 +80,8 @@ Code Title, whitespace handling
This is a standard block.
- Valid: spaces at start of description. |
- Invalid: spaces at end making line > 46 chars. |
+ Valid: spaces at start of description. |
+ Invalid: spaces at end making line > 46 chars. |
// Dummy. |
@@ -85,8 +90,8 @@ Code Title, whitespace handling
- Valid: spaces at start + end of description. |
- Invalid: spaces ' ' in description. |
+ Valid: spaces at start + end of description. |
+ Invalid: spaces ' ' in description. |
// Note: description above without the// trailing whitespace fits in 46 chars. |
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputDocumentationTitleCase.html b/tests/Core/Generators/Expectations/ExpectedOutputDocumentationTitleCase.html
index 98184e1e85..e1a11f7bde 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputDocumentationTitleCase.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputDocumentationTitleCase.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputDocumentationTitleLength.html b/tests/Core/Generators/Expectations/ExpectedOutputDocumentationTitleLength.html
index e94beac1ca..b4963bea4f 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputDocumentationTitleLength.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputDocumentationTitleLength.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputDocumentationTitlePCREFallback.html b/tests/Core/Generators/Expectations/ExpectedOutputDocumentationTitlePCREFallback.html
index 80cf616fde..c9abcb1cba 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputDocumentationTitlePCREFallback.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputDocumentationTitlePCREFallback.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeComparisonMismatchedCodeElms.html b/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeComparisonMismatchedCodeElms.html
index 6ff1711cea..3176ce9dee 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeComparisonMismatchedCodeElms.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeComparisonMismatchedCodeElms.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
@@ -75,8 +80,8 @@ Code Comparison, mismatched code blocks
This doc has two code elements, one only has a title, one has actual code. Unbalanced
- Code title |
- |
+ Code title |
+ |
|
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeComparisonMissingCodeElm.html b/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeComparisonMissingCodeElm.html
index c699cb7d20..1f63a58591 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeComparisonMissingCodeElm.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeComparisonMissingCodeElm.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeComparisonNoCode.html b/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeComparisonNoCode.html
index ff4d115361..964e800232 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeComparisonNoCode.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeComparisonNoCode.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
@@ -75,8 +80,8 @@ Code Comparison, no code
This is a standard block.
- Valid: no code. |
- Invalid: no code. |
+ Valid: no code. |
+ Invalid: no code. |
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeComparisonNoContent.html b/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeComparisonNoContent.html
index 02b031224b..0cbe32caf2 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeComparisonNoContent.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeComparisonNoContent.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeComparisonOneEmptyCodeElm.html b/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeComparisonOneEmptyCodeElm.html
index 8343920211..14ad04ad85 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeComparisonOneEmptyCodeElm.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeComparisonOneEmptyCodeElm.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
@@ -75,8 +80,8 @@ Code Comparison, one empty code element
This doc has two code elements, but only one of them has a title and actual code.
- Code title |
- |
+ Code title |
+ |
$a = 'Example code'; |
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeComparisonTwoEmptyCodeElms.html b/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeComparisonTwoEmptyCodeElms.html
index f51eeac69a..fcf0131ccc 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeComparisonTwoEmptyCodeElms.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeComparisonTwoEmptyCodeElms.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeTitleEmpty.html b/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeTitleEmpty.html
index f73849e5d0..6e2af6ae8f 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeTitleEmpty.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeTitleEmpty.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeTitleMissing.html b/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeTitleMissing.html
index 7b8060cda2..8988712a03 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeTitleMissing.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputInvalidCodeTitleMissing.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputInvalidDocumentationTitleEmpty.html b/tests/Core/Generators/Expectations/ExpectedOutputInvalidDocumentationTitleEmpty.html
index 440153b72e..727e0e0706 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputInvalidDocumentationTitleEmpty.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputInvalidDocumentationTitleEmpty.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
@@ -75,8 +80,8 @@ Documentation Title Empty
The above "documentation" element has an empty title attribute.
- Valid: Lorem ipsum dolor sit amet. |
- Invalid: Maecenas non rutrum dolor. |
+ Valid: Lorem ipsum dolor sit amet. |
+ Invalid: Maecenas non rutrum dolor. |
class Code {} |
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputInvalidDocumentationTitleMissing.html b/tests/Core/Generators/Expectations/ExpectedOutputInvalidDocumentationTitleMissing.html
index 5cb16fbd2a..2da51a0f0d 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputInvalidDocumentationTitleMissing.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputInvalidDocumentationTitleMissing.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
@@ -75,8 +80,8 @@ Documentation Title Missing
The above "documentation" element is missing the title attribute.
- Valid: Lorem ipsum dolor sit amet. |
- Invalid: Maecenas non rutrum dolor. |
+ Valid: Lorem ipsum dolor sit amet. |
+ Invalid: Maecenas non rutrum dolor. |
class Code {} |
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputInvalidStandardNoContent.html b/tests/Core/Generators/Expectations/ExpectedOutputInvalidStandardNoContent.html
index 058a3026f4..9f216091f9 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputInvalidStandardNoContent.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputInvalidStandardNoContent.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
@@ -74,8 +79,8 @@ GeneratorTest Coding Standards
Standard Element, no content
- Valid: Lorem ipsum dolor sit amet. |
- Invalid: Maecenas non rutrum dolor. |
+ Valid: Lorem ipsum dolor sit amet. |
+ Invalid: Maecenas non rutrum dolor. |
class Code {} |
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputOneDoc.html b/tests/Core/Generators/Expectations/ExpectedOutputOneDoc.html
index 2100809e71..30bcd76501 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputOneDoc.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputOneDoc.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputStandardBlankLines.html b/tests/Core/Generators/Expectations/ExpectedOutputStandardBlankLines.html
index 4c45757b57..b23f86921a 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputStandardBlankLines.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputStandardBlankLines.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputStandardEncoding.html b/tests/Core/Generators/Expectations/ExpectedOutputStandardEncoding.html
index 106e835a74..09b98765e2 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputStandardEncoding.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputStandardEncoding.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputStandardIndent.html b/tests/Core/Generators/Expectations/ExpectedOutputStandardIndent.html
index b3aad7f45c..a5ae0dbecf 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputStandardIndent.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputStandardIndent.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputStandardLineWrapping.html b/tests/Core/Generators/Expectations/ExpectedOutputStandardLineWrapping.html
index d54d94c38f..66ebcb091f 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputStandardLineWrapping.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputStandardLineWrapping.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputStructureDocs.html b/tests/Core/Generators/Expectations/ExpectedOutputStructureDocs.html
index c959dcac4a..a7324d80fa 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputStructureDocs.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputStructureDocs.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
@@ -85,8 +90,8 @@ Table of Contents
Code Comparison Only, Missing Standard Block
- Valid: Lorem ipsum dolor sit amet. |
- Invalid: Maecenas non rutrum dolor. |
+ Valid: Lorem ipsum dolor sit amet. |
+ Invalid: Maecenas non rutrum dolor. |
class Code {} |
@@ -98,8 +103,8 @@ One Standard Block, Code Comparison
Documentation contains one standard block and one code comparison.
- Valid: Lorem ipsum dolor sit amet. |
- Invalid: Maecenas non rutrum dolor. |
+ Valid: Lorem ipsum dolor sit amet. |
+ Invalid: Maecenas non rutrum dolor. |
class Code {} |
@@ -114,8 +119,8 @@ One Standard Block, Two Code Comparisons
Documentation contains one standard block and two code comparisons.
- Valid: Etiam commodo magna at vestibulum blandit. |
- Invalid: Vivamus lacinia ante velit. |
+ Valid: Etiam commodo magna at vestibulum blandit. |
+ Invalid: Vivamus lacinia ante velit. |
class Code {} |
@@ -124,8 +129,8 @@ One Standard Block, Two Code Comparisons
- Valid: Pellentesque nisi neque. |
- Invalid: Mauris dictum metus quis maximus pharetra. |
+ Valid: Pellentesque nisi neque. |
+ Invalid: Mauris dictum metus quis maximus pharetra. |
$one = 10; |
@@ -141,8 +146,8 @@ Two Standard Blocks, One Code Comparison
This is standard block one.
- Valid: Vestibulum et orci condimentum. |
- Invalid: Donec in nisl ut tortor convallis interdum. |
+ Valid: Vestibulum et orci condimentum. |
+ Invalid: Donec in nisl ut tortor convallis interdum. |
class Code {} |
@@ -155,8 +160,8 @@ Two Standard Blocks, Three Code Comparisons
This is standard block one.
- Valid: Vestibulum et orci condimentum. |
- Invalid: Donec in nisl ut tortor convallis interdum. |
+ Valid: Vestibulum et orci condimentum. |
+ Invalid: Donec in nisl ut tortor convallis interdum. |
class Code {} |
@@ -166,8 +171,8 @@ Two Standard Blocks, Three Code Comparisons
This is standard block two.
- Valid: Pellentesque nisi neque. |
- Invalid: Mauris dictum metus quis maximus pharetra. |
+ Valid: Pellentesque nisi neque. |
+ Invalid: Mauris dictum metus quis maximus pharetra. |
$one = 10; |
@@ -176,8 +181,8 @@ Two Standard Blocks, Three Code Comparisons
- Valid: Quisque sagittis nisi vitae. |
- Invalid: Morbi ac libero vitae lorem. |
+ Valid: Quisque sagittis nisi vitae. |
+ Invalid: Morbi ac libero vitae lorem. |
echo $foo; |
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputUnsupportedOneElmAtWrongLevel.html b/tests/Core/Generators/Expectations/ExpectedOutputUnsupportedOneElmAtWrongLevel.html
index dc86a6c42f..ff1f5d842e 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputUnsupportedOneElmAtWrongLevel.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputUnsupportedOneElmAtWrongLevel.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
diff --git a/tests/Core/Generators/Expectations/ExpectedOutputUnsupportedSuperfluousCodeElement.html b/tests/Core/Generators/Expectations/ExpectedOutputUnsupportedSuperfluousCodeElement.html
index 967381e3a9..6cd60d0cac 100644
--- a/tests/Core/Generators/Expectations/ExpectedOutputUnsupportedSuperfluousCodeElement.html
+++ b/tests/Core/Generators/Expectations/ExpectedOutputUnsupportedSuperfluousCodeElement.html
@@ -45,6 +45,11 @@
line-height: 15px;
}
+ .code-comparison-title {
+ text-align: left;
+ font-weight: 600;
+ }
+
.code-comparison-code {
font-family: Courier;
background-color: #F9F9F9;
@@ -75,8 +80,8 @@ Superfluous code element
This is a standard block.
- Valid: Checking handling of blank lines. |
- Invalid: Checking handling of blank lines. |
+ Valid: Checking handling of blank lines. |
+ Invalid: Checking handling of blank lines. |
$valid = true; |