Bug #31789

methodAnnotatedWith in AOP doesn't work

Added by Marc Neuhaus almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Must have
Category:
AOP
Start date:
2011-11-13
Due date:
% Done:

100%

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

Description

There is a problem with the PATTERN_MATCHPOINTCUTDESIGNATOR in the class PointcutExpressionParser.php on line 133.

if you try to create an methodAnnotatedWith aspect it fails, because the regex captures only method and not methodAnnotatedWith.

Greetings Marc

#1

Updated by Karsten Dambekalns almost 10 years ago

  • Status changed from New to Accepted
  • Assignee changed from Robert Lemke to Karsten Dambekalns
  • Target version set to 1.0.2
#2

Updated by Karsten Dambekalns almost 10 years ago

  • Status changed from Accepted to Needs Feedback

Is this still an issue? The ordering inside the pattern looks correct, thus methodAnnotatedWith should be matched.

#3

Updated by Marc Neuhaus almost 10 years ago

Weird, works for me too now. you can close this ticket.

#4

Updated by Karsten Dambekalns almost 10 years ago

  • Status changed from Needs Feedback to Closed
  • % Done changed from 0 to 100

Thanks for the feedback!

Also available in: Atom PDF