From c9ff06d4d4a46b11341a6ae9b2548f5dfa6e324e Mon Sep 17 00:00:00 2001 From: Tyson Andre Date: Sat, 29 Aug 2020 13:36:56 -0400 Subject: [PATCH] Fix expected php 8.0 syntax error (#4084) This will very likely be parsed as an attribute in php 8.0 See https://wiki.php.net/rfc/shorter_attribute_syntax_change#secondary_vote --- tests/LanguageServer/SymbolLookupTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/LanguageServer/SymbolLookupTest.php b/tests/LanguageServer/SymbolLookupTest.php index 1a240cb0f..7fb204f3e 100644 --- a/tests/LanguageServer/SymbolLookupTest.php +++ b/tests/LanguageServer/SymbolLookupTest.php @@ -449,7 +449,7 @@ class SymbolLookupTest extends \Psalm\Tests\TestCase [new Position(8, 46), 'B\A::bar', 0, 1], [new Position(8, 47), 'B\A::foo', 0, 2], [new Position(10, 40), 'B\A::staticfoo', 0, 1], - #[new Position(12, 28), 'B\foo', 0, 1], + // [new Position(12, 28), 'B\foo', 0, 1], [new Position(14, 30), 'B\A::__construct', 0, 0], [new Position(16, 31), 'strlen', 0, 1], ];