Skip to content

Commit

Permalink
Ignore noop RouterDev::send_cookie from coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
rsur committed Apr 21, 2017
1 parent fd5df24 commit 0631cee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ language: php
php:
- 5.5
- 5.6
- 7.0
- 7.1

before_script:
- composer install -no --prefer-dist
- composer install -no

script:
- php ./vendor/bin/phpunit -c phpunit.xml 2>/dev/null
Expand Down
2 changes: 2 additions & 0 deletions dev/RouterDev.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ public static function header($header_string, $replace=false) {

/**
* Patched Header::send_cookie().
*
* @codeCoverageIgnore
*/
public static function send_cookie(
$name, $value='', $expire=0, $path='', $domain='',
Expand Down

0 comments on commit 0631cee

Please sign in to comment.