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 "clientpool: refactor Redis authentication error handling"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
api
/
ApiComparePagesTest.php
diff --git
a/tests/phpunit/includes/api/ApiComparePagesTest.php
b/tests/phpunit/includes/api/ApiComparePagesTest.php
index
ea13a0d
..
0428335
100644
(file)
--- a/
tests/phpunit/includes/api/ApiComparePagesTest.php
+++ b/
tests/phpunit/includes/api/ApiComparePagesTest.php
@@
-113,7
+113,7
@@
class ApiComparePagesTest extends ApiTestCase {
$value = self::$repl[$m[1]];
} else {
$value = preg_replace_callback( '/{{REPL:(.+?)}}/', function ( $m ) {
$value = self::$repl[$m[1]];
} else {
$value = preg_replace_callback( '/{{REPL:(.+?)}}/', function ( $m ) {
- return
isset( self::$repl[$m[1]] ) ? self::$repl[$m[1]] :
$m[0];
+ return
self::$repl[$m[1]] ??
$m[0];
}, $value );
}
} elseif ( is_array( $value ) || is_object( $value ) ) {
}, $value );
}
} elseif ( is_array( $value ) || is_object( $value ) ) {