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 5723310 commit 49ebf5f
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-mu-wpcom/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",
"automattic/wordbless": "0.4.2"
},
"suggest": {
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-mu-wpcom",
"reference": "7b041508f9673b84f548e1905a6119cded8298ba"
"reference": "954576bec7c7932cf68370e8d5366e60b64fdbbc"
},
"require": {
"php": ">=7.0"
},
"require-dev": {
"automattic/jetpack-changelogger": "^4.0.0",
"automattic/jetpack-changelogger": "^4.0.1-alpha",
"automattic/wordbless": "0.4.2",
"yoast/phpunit-polyfills": "1.1.0"
},
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-mu-wpcom' => array(
'pretty_version' => '5.0.0',
'version' => '5.0.0.0',
'reference' => '7b041508f9673b84f548e1905a6119cded8298ba',
'reference' => '954576bec7c7932cf68370e8d5366e60b64fdbbc',
'type' => 'jetpack-library',
'install_path' => __DIR__ . '/../automattic/jetpack-mu-wpcom',
'aliases' => array(),
Expand Down

0 comments on commit 49ebf5f

Please sign in to comment.