Merge "Add semantic tags to license info text"
[lhc/web/wiklou.git] / tests / phpunit / includes / changes / ChangesListFilterTest.php
index 0015453..039658e 100644 (file)
@@ -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' => [