diff --git a/composer.json b/composer.json index 499a657b..679e61ab 100644 --- a/composer.json +++ b/composer.json @@ -91,7 +91,7 @@ "phpstan/phpstan": "^2.0", "phpunit/phpunit": "^10.5", "roave/security-advisories": "dev-latest", - "squizlabs/php_codesniffer": "^3.9", + "squizlabs/php_codesniffer": "^4.0", "vimeo/psalm": "^5.26" }, "config": { diff --git a/composer.lock b/composer.lock index dfb28e14..080cf66a 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f1498cc9d23b98e87d80ea7f5757043c", + "content-hash": "a2e8415ee3dc2d0af3099f3524fd5649", "packages": [ { "name": "adbario/php-dot-notation", @@ -8724,26 +8724,31 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "3.13.6", + "version": "4.0.4", "source": { "type": "git", "url": "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/PHPCSStandards/PHP_CodeSniffer.git", - "reference": "4c378e1a528ea066890fc2397cbdd2f94eb2fc91" + "reference": "bbdc3d0532623e21838b7041a4364383a8126f96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/4c378e1a528ea066890fc2397cbdd2f94eb2fc91", - "reference": "4c378e1a528ea066890fc2397cbdd2f94eb2fc91", + "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/bbdc3d0532623e21838b7041a4364383a8126f96", + "reference": "bbdc3d0532623e21838b7041a4364383a8126f96", "shasum": "" }, "require": { + "ext-libxml": "*", "ext-simplexml": "*", "ext-tokenizer": "*", "ext-xmlwriter": "*", - "php": ">=5.4.0" + "php": ">=7.2.0" }, "require-dev": { - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4" + "phpunit/phpunit": "^8.4.0 || ^9.3.4 || ^10.5.32 || 11.3.3 - 11.5.28 || ^11.5.31" + }, + "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." }, "bin": [ "bin/phpcbf", @@ -8768,7 +8773,7 @@ "homepage": "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/PHPCSStandards/PHP_CodeSniffer/graphs/contributors" } ], - "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", + "description": "PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.", "homepage": "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/PHPCSStandards/PHP_CodeSniffer", "keywords": [ "phpcs", @@ -8799,7 +8804,7 @@ "type": "thanks_dev" } ], - "time": "2026-08-06T00:17:32+00:00" + "time": "2026-08-06T02:45:27+00:00" }, { "name": "symfony/config",