From 98deb73d225ce13064085522141b5418c1a54f49 Mon Sep 17 00:00:00 2001 From: owaisahmed5300 Date: Wed, 26 Nov 2025 21:08:54 +0500 Subject: [PATCH] feat(ruleset)!: upgrade slevomat to 8.22 and enforce strict config --- WPTechnix/ruleset.xml | 55 +++++++++++++++++++++++++++++++++---------- composer.json | 2 +- 2 files changed, 44 insertions(+), 13 deletions(-) diff --git a/WPTechnix/ruleset.xml b/WPTechnix/ruleset.xml index 4991b5d..029e2c4 100644 --- a/WPTechnix/ruleset.xml +++ b/WPTechnix/ruleset.xml @@ -143,6 +143,7 @@ + @@ -433,7 +434,16 @@ - + + + + + + + + + + @@ -587,7 +597,11 @@ - + + + + + @@ -603,8 +617,6 @@ - - @@ -650,13 +662,32 @@ - - + + + + + + + + + - - + + + + + + + + + + + + + + @@ -723,7 +754,7 @@ - + @@ -814,10 +845,10 @@ - - + + - + diff --git a/composer.json b/composer.json index d7d6c75..dcd78f7 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "php": "^8.0", "squizlabs/php_codesniffer": "^3.13.0 || ^4.0", "phpcsstandards/phpcsextra": "^1.4", - "slevomat/coding-standard": "^8.0" + "slevomat/coding-standard": "^8.22" }, "suggest": { "dealerdirect/phpcodesniffer-composer-installer": "For automatic registration of the coding standard with PHP_CodeSniffer"