X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fchanges%2FChangesListFilterTest.php;h=039658e2cfb5a2662b83e99c26e54416fdffdbc6;hb=ffc750c2d5d9ead5de61752593525081eb586475;hp=0015453de9548cf99a2e16daa704a5007e3df490;hpb=853b17ef5788be25045855ab340c9e0d8b443218;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/changes/ChangesListFilterTest.php b/tests/phpunit/includes/changes/ChangesListFilterTest.php index 0015453de9..039658e2cf 100644 --- a/tests/phpunit/includes/changes/ChangesListFilterTest.php +++ b/tests/phpunit/includes/changes/ChangesListFilterTest.php @@ -25,12 +25,12 @@ class ChangesListFilterTest extends MediaWikiTestCase { ); } - // @codingStandardsIgnoreStart /** + * phpcs:disable Generic.Files.LineLength * @expectedException MWException * @expectedExceptionMessage Filter names may not contain '_'. Use the naming convention: 'lowercase' + * phpcs:enable */ - // @codingStandardsIgnoreEnd public function testReservedCharacter() { $filter = new MockChangesListFilter( [ @@ -41,12 +41,10 @@ class ChangesListFilterTest extends MediaWikiTestCase { ); } - // @codingStandardsIgnoreStart /** * @expectedException MWException * @expectedExceptionMessage Two filters in a group cannot have the same name: 'somename' */ - // @codingStandardsIgnoreEnd public function testDuplicateName() { new MockChangesListFilter( [ @@ -84,7 +82,7 @@ class ChangesListFilterTest extends MediaWikiTestCase { ] ); - $groupB = $this->getGroup( + $groupB = $this->getGroup( [ 'name' => 'groupB', 'filters' => [