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
Use PHP 7 '??' operator instead of '?:' with 'isset()' where convenient
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
HtmlTest.php
diff --git
a/tests/phpunit/includes/HtmlTest.php
b/tests/phpunit/includes/HtmlTest.php
index
7e32770
..
974373b
100644
(file)
--- a/
tests/phpunit/includes/HtmlTest.php
+++ b/
tests/phpunit/includes/HtmlTest.php
@@
-1,5
+1,4
@@
<?php
-/** tests for includes/Html.php */
class HtmlTest extends MediaWikiTestCase {
@@
-677,7
+676,7
@@
class HtmlTest extends MediaWikiTestCase {
$ret[] = [
$case[0],
$case[1], $case[2],
-
isset( $case[3] ) ? $case[3] :
''
+
$case[3] ??
''
];
}