We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eea9149 + b43cbee commit 4d90fd0Copy full SHA for 4d90fd0
PHPUnit/Util/Log/VCR.php
@@ -119,7 +119,8 @@ public function startTest(PHPUnit_Framework_Test $test)
119
$doc_block = $reflection->getDocComment();
120
121
// Use regex to parse the doc_block for a specific annotation
122
- $cassetteName = array_pop(self::parseDocBlock($doc_block, '@vcr'));
+ $parsed = $self::parseDocBlock($doc_block, '@vcr');
123
+ $cassetteName = array_pop($parsed);
124
125
// If the cassette name ends in .json, then use the JSON storage format
126
if (substr($cassetteName, '-5') == '.json') {
@@ -188,4 +189,4 @@ public function endTestSuite(PHPUnit_Framework_TestSuite $suite)
188
189
{
190
191
}
-}
192
+}
0 commit comments