Skip to content

Commit

Permalink
Ignore the autoloader from code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccue committed Feb 7, 2012
1 parent 4c84b02 commit d0be7e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions library/Requests.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ private function __construct() {}
*
* (You can also use `spl_autoload_register` directly if you'd prefer.)
*
* @codeCoverageIgnore
*
* @param string $class Class name to load
*/
public static function autoloader($class) {
Expand All @@ -94,6 +96,8 @@ public static function autoloader($class) {

/**
* Register the built-in autoloader
*
* @codeCoverageIgnore
*/
public static function register_autoloader() {
spl_autoload_register(array('Requests', 'autoloader'));
Expand Down

0 comments on commit d0be7e6

Please sign in to comment.