Skip to content

Commit

Permalink
codesniffer: Enable and fix Modernize.FunctionCalls.Dirname.Nested
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
anomiex authored and matticbot committed Nov 21, 2023
1 parent c430069 commit 0469e9e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"require-dev": {
"yoast/phpunit-polyfills": "1.1.0",
"automattic/jetpack-changelogger": "^4.0.0"
"automattic/jetpack-changelogger": "^4.0.1-alpha"
},
"autoload": {
"classmap": [
Expand Down
10 changes: 5 additions & 5 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/automattic/jetpack-device-detection/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"require-dev": {
"yoast/phpunit-polyfills": "1.1.0",
"automattic/jetpack-changelogger": "^4.0.0"
"automattic/jetpack-changelogger": "^4.0.1-alpha"
},
"suggest": {
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
Expand Down
4 changes: 2 additions & 2 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"dist": {
"type": "path",
"url": "/tmp/jetpack-build/Automattic/jetpack-device-detection",
"reference": "fee0241b46024b73a5e81c834f9c304272926a2a"
"reference": "9b1a55b87dffd6e898d6a1bf03fb7740cbe9d6a8"
},
"require": {
"php": ">=7.0"
},
"require-dev": {
"automattic/jetpack-changelogger": "^4.0.0",
"automattic/jetpack-changelogger": "^4.0.1-alpha",
"yoast/phpunit-polyfills": "1.1.0"
},
"suggest": {
Expand Down
2 changes: 1 addition & 1 deletion vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
'automattic/jetpack-device-detection' => array(
'pretty_version' => '2.0.0',
'version' => '2.0.0.0',
'reference' => 'fee0241b46024b73a5e81c834f9c304272926a2a',
'reference' => '9b1a55b87dffd6e898d6a1bf03fb7740cbe9d6a8',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../automattic/jetpack-device-detection',
'aliases' => array(),
Expand Down

0 comments on commit 0469e9e

Please sign in to comment.