From c62214f6c378910c5c4420ae94617128c26ba301 Mon Sep 17 00:00:00 2001 From: Rodrigo Primo Date: Fri, 6 Mar 2026 13:44:48 +0000 Subject: [PATCH] Add suggest section to composer.json for recommended extensions Add ext-iconv and ext-pcntl as suggested extensions in composer.json. This way, Composer will display these recommendations when installing PHP_CodeSniffer, helping users discover optional extensions that improve functionality. Refs PHPCSStandards/PHP_CodeSniffer-documentation 91 --- composer.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/composer.json b/composer.json index f0f23d18b6..b9fda4abe4 100644 --- a/composer.json +++ b/composer.json @@ -29,6 +29,10 @@ "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer", "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy" }, + "suggest": { + "ext-iconv": "For accurate character length calculation when the checked files contain multi-byte characters.", + "ext-pcntl": "For parallel processing support via the --parallel CLI option." + }, "require": { "php": ">=7.2.0", "ext-simplexml": "*",