diff --git a/.phpcs.xml.dist b/.phpcs.xml.dist
index 292e990184b96da3991248992753b68c84d88d49..3f154fca742b01ea0248772ebd888de38484f40c 100644
--- a/.phpcs.xml.dist
+++ b/.phpcs.xml.dist
@@ -7,7 +7,6 @@
 	<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 c52dbd8a76389707a56345344de1f5602c35a565..ed5124cde5cda29ab734bdc930123b319f4694c6 100644
--- a/tag-dropdown-widget.php
+++ b/tag-dropdown-widget.php
@@ -1,4 +1,5 @@
 <?php
+// phpcs:ignoreFile -- legacy code in need of refactoring.
 /*
 Plugin Name: Taxonomy Dropdown Widget
 Plugin URI: https://ethitter.com/plugins/taxonomy-dropdown-widget/