Bug #33145

Annotation parser for interfaces gets confused

Added by Christof Rodejohann over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Must have
Category:
Object
Start date:
2012-01-12
Due date:
% Done:

0%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

With the following constellation

Example.php
containing the class Example with a scope singleton

and

ExampleInterface.php
containing the interface ExampleInterface which is not implemented in the class Example.

in the same directory, the interface annotation parser will throw the following exception:

"Scope annotations in interfaces don't have any effect, therefore you better remove it from My\Package\ExampleInterface in order to avoid confusion." (Exception code #1299095595)

Removing the scope from Example solves the exception in ExampleInterface.

#1

Updated by Karsten Dambekalns over 9 years ago

  • Category set to Object
  • Status changed from New to Accepted
  • Assignee set to Karsten Dambekalns
  • Target version set to 1.0.4
#2

Updated by Karsten Dambekalns over 9 years ago

  • Target version changed from 1.0.4 to 1.0.5
#3

Updated by Karsten Dambekalns about 9 years ago

  • Target version changed from 1.0.5 to 1.1 RC1
#4

Updated by Karsten Dambekalns about 9 years ago

  • Status changed from Accepted to Closed

WIth 1.0.5-dev and 1.1.0-dev this works fine. Feel free to reopen if this is still an issue. Thanks!

Also available in: Atom PDF