dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove "Squiz.WhiteSpace.FunctionSpacing" from phpcs exclusions
[lhc/web/wiklou.git]
/
includes
/
exception
/
MWException.php
diff --git
a/includes/exception/MWException.php
b/includes/exception/MWException.php
index
cb7ff19
..
c16d9f7
100644
(file)
--- a/
includes/exception/MWException.php
+++ b/
includes/exception/MWException.php
@@
-252,6
+252,7
@@
class MWException extends Exception {
header( $header );
}
}
+
private static function statusHeader( $code ) {
if ( !headers_sent() ) {
HttpStatus::header( $code );