diff --git a/.phpcs.xml b/.phpcs.xml index a010a357a..3340a5951 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -2,7 +2,6 @@ - AbuseFilter\.alias\.php diff --git a/includes/pagers/AbuseFilterPager.php b/includes/pagers/AbuseFilterPager.php index 92c9603b0..607943be4 100644 --- a/includes/pagers/AbuseFilterPager.php +++ b/includes/pagers/AbuseFilterPager.php @@ -254,7 +254,6 @@ class AbuseFilterPager extends TablePager { )->parse(); case 'af_group': return AbuseFilter::nameGroup( $value ); - break; default: throw new MWException( "Unknown row type $name!" ); } diff --git a/includes/pagers/GlobalAbuseFilterPager.php b/includes/pagers/GlobalAbuseFilterPager.php index b1ec32f9d..30173475d 100644 --- a/includes/pagers/GlobalAbuseFilterPager.php +++ b/includes/pagers/GlobalAbuseFilterPager.php @@ -74,7 +74,6 @@ class GlobalAbuseFilterPager extends AbuseFilterPager { case 'af_group': // If this is global, local name probably doesn't exist, but try return AbuseFilter::nameGroup( $value ); - break; default: throw new MWException( "Unknown row type $name!" ); }