1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

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
This commit is contained in:
Tyson Andre 2020-08-29 13:36:56 -04:00 committed by Daniil Gentili
parent 38cd48657f
commit c9ff06d4d4
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -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],
];