From 83acc55395f758cb3f76ca1f5b980f39cf258f33 Mon Sep 17 00:00:00 2001 From: anomiex Date: Tue, 21 Nov 2023 09:48:23 +0000 Subject: [PATCH] codesniffer: Enable and fix `Modernize.FunctionCalls.Dirname.Nested` sniff (#34218) The WordPress-Extra ruleset turns this off. Now that we've dropped PHP 5.6, we can turn it on. Then, of course, we have to fix all the existing instances of the problem. Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/6941880745 --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index d027f961..44304b90 100644 --- a/composer.json +++ b/composer.json @@ -6,8 +6,8 @@ "require": { "php": ">=7.0", "automattic/jetpack-admin-ui": "^0.3.0", - "automattic/jetpack-assets": "^2.0.0", - "automattic/jetpack-connection": "^2.0.0", + "automattic/jetpack-assets": "^2.0.1-alpha", + "automattic/jetpack-connection": "^2.0.1-alpha", "automattic/jetpack-jitm": "^3.0.0", "automattic/jetpack-licensing": "^2.0.1-alpha", "automattic/jetpack-plugins-installer": "^0.3.0", @@ -17,7 +17,7 @@ }, "require-dev": { "yoast/phpunit-polyfills": "1.1.0", - "automattic/jetpack-changelogger": "^4.0.0", + "automattic/jetpack-changelogger": "^4.0.1-alpha", "automattic/wordbless": "@dev", "automattic/jetpack-videopress": "^0.21.0" },