Closed vhamed closed 5 years ago
Hi @abdesselame17
The plugin tries to find a class or function declaration in the file (e.g. class Foo
or function Foo
), by executing these two regexes:
^\s*\%(/\*.*\*/\s*\)\?\%(\%(abstract\|final\)\_s\+\)*\%(class\|interface\|trait\)\_s\+Foo\>
^\s*function\_s\+Foo\>
If none match, we get this error.
Could you show the content of the app/Task.php
file ?
I was wrong because I typed 1 instead of 2, there is no method called task in the TasksController class. thnx @arnaud-lb
When I enter the number of the corespondent class and press enter this error message appears