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),