mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Merge pull request #1014 from ceeram/phpcs
ignore last few silencers for code sniffer
This commit is contained in:
commit
1516434d61
1 changed files with 4 additions and 0 deletions
|
@ -1314,7 +1314,9 @@ class CakeResponse {
|
|||
* @return boolean
|
||||
*/
|
||||
protected function _clearBuffer() {
|
||||
//@codingStandardsIgnoreStart
|
||||
return @ob_end_clean();
|
||||
//@codingStandardsIgnoreEnd
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1323,8 +1325,10 @@ class CakeResponse {
|
|||
* @return void
|
||||
*/
|
||||
protected function _flushBuffer() {
|
||||
//@codingStandardsIgnoreStart
|
||||
@flush();
|
||||
@ob_flush();
|
||||
//@codingStandardsIgnoreEnd
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue