Skip to content

Commit

Permalink
Merge pull request #1014 from ceeram/phpcs
Browse files Browse the repository at this point in the history
ignore last few silencers for code sniffer
  • Loading branch information
ceeram committed Dec 10, 2012
2 parents 209f3df + 74836a1 commit 1516434
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/Cake/Network/CakeResponse.php
Expand Up @@ -1314,7 +1314,9 @@ protected function _isActive() {
* @return boolean
*/
protected function _clearBuffer() {
//@codingStandardsIgnoreStart
return @ob_end_clean();
//@codingStandardsIgnoreEnd
}

/**
Expand All @@ -1323,8 +1325,10 @@ protected function _clearBuffer() {
* @return void
*/
protected function _flushBuffer() {
//@codingStandardsIgnoreStart
@flush();
@ob_flush();
//@codingStandardsIgnoreEnd
}

}

0 comments on commit 1516434

Please sign in to comment.