diff --git a/.phpcs.xml.dist b/.phpcs.xml.dist
index 3f154fca742b01ea0248772ebd888de38484f40c..98ef40fecd0f7a8c37051aa5bfc2b0f5ef9db0d7 100644
--- a/.phpcs.xml.dist
+++ b/.phpcs.xml.dist
@@ -7,6 +7,7 @@
 	<exclude-pattern>/vendor/</exclude-pattern>
 	<exclude-pattern>/node_modules/</exclude-pattern>
 	<exclude-pattern>/tests/*</exclude-pattern>
+	<exclude>tag-dropdown-widget.php</exclude>
 
 	<!-- How to scan -->
 	<!-- Usage instructions: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Usage -->
diff --git a/tag-dropdown-widget.php b/tag-dropdown-widget.php
index 620609d145c42e7d3e532bf6cf15711262537ee9..c52dbd8a76389707a56345344de1f5602c35a565 100644
--- a/tag-dropdown-widget.php
+++ b/tag-dropdown-widget.php
@@ -22,8 +22,6 @@ along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
-// phpcs:disable Legacy code in need of refactoring.
-
 /**
  ** TAXONOMY DROPDOWN WIDGET PLUGIN
  **/