From 9b85d377444b6e4b75f74ed83e74fecb5a7338eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Sun, 23 Mar 2025 16:17:34 +0100 Subject: [PATCH] Address Sniff deprecation UnionTypeHintFormatSniff is deprecated in favor of DNFTypeHintFormat. I'm deliberately not setting withSpacesInsideParentheses so as not to incur any breaking change. See https://github.com/slevomat/coding-standard/commit/5e3b792def632494fde23e167c949f6371d2abca See https://github.com/slevomat/coding-standard/blob/master/doc/type-hints.md#slevomatcodingstandardtypehintsdnftypehintformat- --- composer.json | 2 +- lib/Doctrine/ruleset.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index a2d6443a..34527f91 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "require": { "php": "^7.2 || ^8.0", "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7 || ^1.0.0", - "slevomat/coding-standard": "^8.11", + "slevomat/coding-standard": "^8.16", "squizlabs/php_codesniffer": "^3.7" }, "config": { diff --git a/lib/Doctrine/ruleset.xml b/lib/Doctrine/ruleset.xml index 82b259ca..4731fb80 100644 --- a/lib/Doctrine/ruleset.xml +++ b/lib/Doctrine/ruleset.xml @@ -481,9 +481,9 @@ - + - +