diff --git a/.phpcs.xml.dist b/.phpcs.xml.dist
index c71ab7fe143..6209556d799 100644
--- a/.phpcs.xml.dist
+++ b/.phpcs.xml.dist
@@ -227,6 +227,12 @@
/inc/wpseo-functions-deprecated\.php$
+
+
+ /src/deprecated/*
+ /inc/wpseo-functions-deprecated\.php$
+
+
diff --git a/composer.json b/composer.json
index 1265c5bd5fb..cc188b0e052 100644
--- a/composer.json
+++ b/composer.json
@@ -93,7 +93,7 @@
],
"check-cs-thresholds": [
"@putenv YOASTCS_THRESHOLD_ERRORS=2545",
- "@putenv YOASTCS_THRESHOLD_WARNINGS=267",
+ "@putenv YOASTCS_THRESHOLD_WARNINGS=253",
"Yoast\\WP\\SEO\\Composer\\Actions::check_cs_thresholds"
],
"check-cs": [