From d3d707babe47de788dbef107bd0f70b06c0e36b6 Mon Sep 17 00:00:00 2001 From: Dag Date: Thu, 18 Sep 2025 21:08:54 +0200 Subject: [PATCH] chore: upgrade squizlabs/php_codesniffer 3.13.4 => 4.0.0 (#4735) composer update Loading composer repositories with package information Updating dependencies Lock file operations: 0 installs, 1 update, 0 removals - Upgrading squizlabs/php_codesniffer (3.13.4 => 4.0.0) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 0 installs, 1 update, 0 removals - Downloading squizlabs/php_codesniffer (4.0.0) - Upgrading squizlabs/php_codesniffer (3.13.4 => 4.0.0): Extracting archive Generating autoload files 27 packages you are using are looking for funding. Use the `composer fund` command to find out more! No security vulnerability advisories found. --- composer.json | 2 +- composer.lock | 23 +++++++++-------------- 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/composer.json b/composer.json index 8d41c51b..fa4f659d 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,7 @@ }, "require-dev": { "phpunit/phpunit": "^9", - "squizlabs/php_codesniffer": "^3.6" + "squizlabs/php_codesniffer": "^4" }, "suggest": { "php-webdriver/webdriver": "Required for Selenium usage", diff --git a/composer.lock b/composer.lock index 8bc7df05..5868bfe9 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": "7f6dd2b19b375c71edea2a94bd1972d5", + "content-hash": "e41b4ed09a840ad6b383c3fb8970a6dd", "packages": [], "packages-dev": [ { @@ -1744,37 +1744,32 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "3.13.4", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", - "reference": "ad545ea9c1b7d270ce0fc9cbfb884161cd706119" + "reference": "06113cfdaf117fc2165f9cd040bd0f17fcd5242d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/ad545ea9c1b7d270ce0fc9cbfb884161cd706119", - "reference": "ad545ea9c1b7d270ce0fc9cbfb884161cd706119", + "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/06113cfdaf117fc2165f9cd040bd0f17fcd5242d", + "reference": "06113cfdaf117fc2165f9cd040bd0f17fcd5242d", "shasum": "" }, "require": { "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" }, "bin": [ "bin/phpcbf", "bin/phpcs" ], "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" @@ -1793,7 +1788,7 @@ "homepage": "https://github.com/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": "https://github.com/PHPCSStandards/PHP_CodeSniffer", "keywords": [ "phpcs", @@ -1824,7 +1819,7 @@ "type": "thanks_dev" } ], - "time": "2025-09-05T05:47:09+00:00" + "time": "2025-09-15T11:28:58+00:00" }, { "name": "theseer/tokenizer",