comparison vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Commenting/FixmeStandard.xml @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
1 <documentation title="Fixme Comments">
2 <standard>
3 <![CDATA[
4 FIXME Statements should be taken care of.
5 ]]>
6 </standard>
7 <code_comparison>
8 <code title="Valid: A comment without a fixme.">
9 <![CDATA[
10 // <em>Handle strange case</em>
11 if ($test) {
12 $var = 1;
13 }
14 ]]>
15 </code>
16 <code title="Invalid: A fixme comment.">
17 <![CDATA[
18 // <em>FIXME</em>: This needs to be fixed!
19 if ($test) {
20 $var = 1;
21 }
22 ]]>
23 </code>
24 </code_comparison>
25 </documentation>