Created
February 21, 2010 19:35
-
-
Save shupp/310488 to your computer and use it in GitHub Desktop.
Example of code coverage igore annotations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Foo | |
{ | |
// @codeCoverageIgnoreStart | |
protected function getCache() | |
{ | |
return Cache::singleton('MyCacheDriver'); | |
} | |
// @codeCoverageIgnoreEnd | |
} | |
?> |
You're right, thanks for catching that. Fixed!
Cheers,
Bill
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The "new" is unnecessary.