php-vcr / phpunit-testlistener-vcr

Integrates PHPUnit with PHP-VCR.
MIT License
61 stars 50 forks source link

Cant recognize @vcr annotation within single line comment #35

Open csiszarattila opened 5 years ago

csiszarattila commented 5 years ago

I know its an edge case, but TestListener dont recognize @vcr tag, if you use it with single line comments:

Not working:

 /** @vcr vcr.yaml */
function testSomething

Working:

/** 
* @vcr vcr.yaml 
*/
function testSomething