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
Exclude redirects from Special:Fewestrevisions
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
htmlform
/
HTMLCheckMatrixTest.php
diff --git
a/tests/phpunit/includes/htmlform/HTMLCheckMatrixTest.php
b/tests/phpunit/includes/htmlform/HTMLCheckMatrixTest.php
index
c1aa1d7
..
05c567d
100644
(file)
--- a/
tests/phpunit/includes/htmlform/HTMLCheckMatrixTest.php
+++ b/
tests/phpunit/includes/htmlform/HTMLCheckMatrixTest.php
@@
-1,11
+1,10
@@
<?php
/**
<?php
/**
- * Unit tests for the HTMLCheckMatrix
* @covers HTMLCheckMatrix
*/
class HTMLCheckMatrixTest extends MediaWikiTestCase {
* @covers HTMLCheckMatrix
*/
class HTMLCheckMatrixTest extends MediaWikiTestCase {
-
static private
$defaultOptions = [
+
private static
$defaultOptions = [
'rows' => [ 'r1', 'r2' ],
'columns' => [ 'c1', 'c2' ],
'fieldname' => 'test',
'rows' => [ 'r1', 'r2' ],
'columns' => [ 'c1', 'c2' ],
'fieldname' => 'test',
@@
-15,7
+14,7
@@
class HTMLCheckMatrixTest extends MediaWikiTestCase {
try {
new HTMLCheckMatrix( [] );
} catch ( MWException $e ) {
try {
new HTMLCheckMatrix( [] );
} catch ( MWException $e ) {
- $this->assertInstanceOf(
'HTMLFormFieldRequiredOptionsException'
, $e );
+ $this->assertInstanceOf(
HTMLFormFieldRequiredOptionsException::class
, $e );
return;
}
return;
}