From fdb5b5a4ea40e55e34f664f7be77c81904f62960 Mon Sep 17 00:00:00 2001 From: mscherer Date: Sat, 11 Apr 2026 12:20:41 +0200 Subject: [PATCH] Disallow partial uses in ReferenceUsedNamesOnly Partial namespace references like Mockery\MockInterface were not being flagged by ReferenceUsedNamesOnly because Slevomat's allowPartialUses defaults to true. Set it to false so such references are required to be imported via a use statement. --- CakePHP/ruleset.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/CakePHP/ruleset.xml b/CakePHP/ruleset.xml index ef3bd16..79226df 100644 --- a/CakePHP/ruleset.xml +++ b/CakePHP/ruleset.xml @@ -173,6 +173,7 @@ +