From 108878f9ae61fd16750ae950d752e2f90ba3deb5 Mon Sep 17 00:00:00 2001 From: owaisahmed5300 Date: Wed, 26 Nov 2025 13:28:43 +0500 Subject: [PATCH] feat: allow built-in PHP functions and constants in coding standard ruleset Updated the ReferenceUsedNamesOnly configuration to avoid importing built-in PHP functions and constants. Namespaced symbols continue to require imports. This makes the coding standard more natural and aligned with typical PHP coding practices. --- WPTechnix/ruleset.xml | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/WPTechnix/ruleset.xml b/WPTechnix/ruleset.xml index 4991b5d..4590f1b 100644 --- a/WPTechnix/ruleset.xml +++ b/WPTechnix/ruleset.xml @@ -650,13 +650,32 @@ - - + + + + + + + + + - - + + + + + + + + + + + + + +