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
Merge "DidYouMeanWidget: Don't use deprecated Linker::linkKnown()"
[lhc/web/wiklou.git]
/
includes
/
tidy
/
RaggettExternal.php
diff --git
a/includes/tidy/RaggettExternal.php
b/includes/tidy/RaggettExternal.php
index
c21bcf8
..
b59423a
100644
(file)
--- a/
includes/tidy/RaggettExternal.php
+++ b/
includes/tidy/RaggettExternal.php
@@
-17,21
+17,21
@@
class RaggettExternal extends RaggettBase {
$opts = ' -utf8';
if ( $stderr ) {
$opts = ' -utf8';
if ( $stderr ) {
- $descriptorspec =
array(
- 0 =>
array( 'pipe', 'r' )
,
- 1 =>
array( 'file', wfGetNull(), 'a' )
,
- 2 =>
array( 'pipe', 'w' )
-
)
;
+ $descriptorspec =
[
+ 0 =>
[ 'pipe', 'r' ]
,
+ 1 =>
[ 'file', wfGetNull(), 'a' ]
,
+ 2 =>
[ 'pipe', 'w' ]
+
]
;
} else {
} else {
- $descriptorspec =
array(
- 0 =>
array( 'pipe', 'r' )
,
- 1 =>
array( 'pipe', 'w' )
,
- 2 =>
array( 'file', wfGetNull(), 'a' )
-
)
;
+ $descriptorspec =
[
+ 0 =>
[ 'pipe', 'r' ]
,
+ 1 =>
[ 'pipe', 'w' ]
,
+ 2 =>
[ 'file', wfGetNull(), 'a' ]
+
]
;
}
$readpipe = $stderr ? 2 : 1;
}
$readpipe = $stderr ? 2 : 1;
- $pipes =
array()
;
+ $pipes =
[]
;
$process = proc_open(
"{$this->config['tidyBin']} -config {$this->config['tidyConfigFile']} " .
$process = proc_open(
"{$this->config['tidyBin']} -config {$this->config['tidyConfigFile']} " .