File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
src/Standards/Squiz/Docs/WhiteSpace Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 99 <![CDATA[
1010function foo()
1111{
12- echo 'opening brace at column 1';
13- echo 'closing brace at column 1';
1412<em>}</em>
1513
14+ function bar()
15+ {
16+ <em> }</em>
17+
1618if (!class_exists('Foo')) {
1719 class Foo {
1820 <em>}</em>
1921<em>}</em>
2022
2123<?php if ($something) { ?>
22- <p>conditional opening tag at column 1</p>
23- <p>conditional closing tag at column 1</p>
24+ <p>some output</p>
2425<?php } ?>
2526 ]]>
2627 </code >
2728 <code title =" Invalid: Closing brace misaligned with line containing opening brace." >
2829 <![CDATA[
2930function foo()
3031{
31- echo 'opening brace at column 1';
32- echo 'closing brace at column 2';
3332<em> }</em>
3433
34+ function bar()
35+ {
36+ <em> }</em>
37+
3538if (!class_exists('Foo')) {
3639 class Foo {
3740 <em> }</em>
3841<em> }</em>
3942
4043<?php if ($something) { ?>
41- <p>conditional opening tag at column 1</p>
42- <p>conditional closing tag at column 2</p>
44+ <p>some output</p>
4345 <?php } ?>
4446 ]]>
4547 </code >
You can’t perform that action at this time.
0 commit comments