Bug #33145

Annotation parser for interfaces gets confused

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

Status:Closed Start date:2012-01-12
Priority:Must have Due date:
Assigned To:Karsten Dambekalns % Done:

0%

Category:Object
Target version:TYPO3 Flow Base Distribution - 1.1 RC1
PHP Version: Complexity:
Has patch:No Affected Flow version:FLOW3 1.0.2

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.

History

#1 Updated by Karsten Dambekalns over 3 years ago

  • Category set to Object
  • Status changed from New to Accepted
  • Assigned To set to Karsten Dambekalns
  • Target version set to 1.0.4

#2 Updated by Karsten Dambekalns over 3 years ago

  • Target version changed from 1.0.4 to 1.0.5

#3 Updated by Karsten Dambekalns about 3 years ago

  • Target version changed from 1.0.5 to 1.1 RC1

#4 Updated by Karsten Dambekalns about 3 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