From eb1294530582dfe0221c2927572dc81ae39598b1 Mon Sep 17 00:00:00 2001 From: jens1o Date: Mon, 3 Apr 2017 16:24:48 +0200 Subject: [PATCH] minor changes --- fixtures/completion/constant_with_namespace.php | 2 -- tests/Server/TextDocument/HoverTest.php | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/fixtures/completion/constant_with_namespace.php b/fixtures/completion/constant_with_namespace.php index 8e76089..cade11f 100644 --- a/fixtures/completion/constant_with_namespace.php +++ b/fixtures/completion/constant_with_namespace.php @@ -16,8 +16,6 @@ namespace { /** * Lorem ipsum dolor sit amet. - * - * @var bool */ define('HELLO', true); diff --git a/tests/Server/TextDocument/HoverTest.php b/tests/Server/TextDocument/HoverTest.php index 5844e12..628aab5 100644 --- a/tests/Server/TextDocument/HoverTest.php +++ b/tests/Server/TextDocument/HoverTest.php @@ -157,8 +157,8 @@ class HoverTest extends ServerTestCase } public function testHoverForGlobalConstant() { - // HELLO; - // Get hover for HELLO + // print TEST_PROPERTY ? 'true' : 'false'; + // Get hover for TEST_PROPERTY $reference = $this->getReferenceLocations('TEST_PROPERTY')[0]; $result = $this->textDocument->hover( new TextDocumentIdentifier($reference->uri),