bmewburn / vscode-intelephense

PHP intellisense for Visual Studio Code
https://intelephense.com
Other
1.63k stars 94 forks source link

The use keyword used inside the classes to implement traits MUST be declared on the next line after the opening brace. #1032

Open bmewburn opened 4 years ago

bmewburn commented 4 years ago
class Foo
{
    use Bar;
}
SharakPL commented 4 years ago

From phpcs --standard=PSR12:

The first trait import statement must be declared on the first non-comment line after the class opening brace