mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-21 22:32:41 +01:00
Add a URL to support a TODO comment.
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
This commit is contained in:
parent
213628ff34
commit
c727a98f73
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue