https://bugs.kde.org/show_bug.cgi?id=411588

            Bug ID: 411588
           Summary: Compounded use statements not parsed correctly
           Product: kdevelop
           Version: 5.4.1
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Language Support: PHP
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: mar...@harrisonland.co.uk
  Target Milestone: ---

As of PHP 7, a single "use" statement can refer to multiple aliases through the
use of curly braces:

    // pre PHP7
    use Foo\Bar\Baz;
    use Foo\Bar\Barry;

    // post PHP7
    use Foo\Bar\{Baz, Barry};

Documentation: https://www.php.net/manual/en/language.namespaces.importing.php

This currently is considered a syntax error by the parser.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to