]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Add a URL to support a TODO comment.
authorJoshua Spence <josh@joshuaspence.com>
Mon, 23 Jun 2014 18:49:09 +0000 (04:49 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Mon, 23 Jun 2014 18:56:52 +0000 (04:56 +1000)
Summary: Provide a link to a "resolved" [[http://bugs.xdebug.org/view.php?id=1041 | Xdebug issue]] to support a TODO comment. Further information can be found at http://derickrethans.nl/dead-code.html.

Test Plan: Read the article.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9696

src/unit/engine/phutil/ArcanistPhutilTestCase.php

index 291cdcbcfba038e4f10b6a656cf834b33a36fe1e..761323f6ea3ffeec9a0e9c0633636c372a8e9904 100644 (file)
@@ -576,6 +576,8 @@ abstract class ArcanistPhutilTestCase {
           // TODO: This indicates "unreachable", but it flags the closing braces
           // of functions which end in "return", which is super ridiculous. Just
           // ignore it for now.
+          //
+          // See http://bugs.xdebug.org/view.php?id=1041
           $str .= 'N'; // Not executable.
         } else if ($c === 1) {
           $str .= 'C'; // Covered.