djoos / Symfony-coding-standard

Development repository for the Symfony coding standard
MIT License
402 stars 102 forks source link

Return Type sniff breaks for interfaces #151

Closed xalopp closed 5 years ago

xalopp commented 5 years ago

When checking with version 3.5.0 I'll get for this code

interface FooInterface
{
     public function fooMixed();

     public function voidFoo(): void;
}

an error message:

An error occurred during processing; checking has been aborted. The error message was: Undefined index: scope_closer in XYZ.php