X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fspecials%2FSpecialExport.php;h=4b5dedf7811f8739d5e719face0cd011d8ab0166;hp=eb7be510bda757a6296963534ff458db359bb181;hb=11ee7f78da9776db26098642a151a288f98bea14;hpb=5fa4cdf860c79b32ab6ef034c6d9420c2727f695 diff --git a/includes/specials/SpecialExport.php b/includes/specials/SpecialExport.php index eb7be510bd..4b5dedf781 100644 --- a/includes/specials/SpecialExport.php +++ b/includes/specials/SpecialExport.php @@ -238,7 +238,7 @@ class SpecialExport extends SpecialPage { $formDescriptor += [ 'textarea' => [ - 'class' => 'HTMLTextAreaField', + 'class' => HTMLTextAreaField::class, 'name' => 'pages', 'label-message' => 'export-manual', 'nodata' => true, @@ -533,9 +533,7 @@ class SpecialExport extends SpecialPage { * @return array */ private function getPageLinks( $inputPages, $pageSet, $depth ) { - // @codingStandardsIgnoreStart Squiz.WhiteSpace.SemicolonSpacing.Incorrect for ( ; $depth > 0; --$depth ) { - // @codingStandardsIgnoreEnd $pageSet = $this->getLinks( $inputPages, $pageSet, 'pagelinks', [ 'namespace' => 'pl_namespace', 'title' => 'pl_title' ],