Skip to content

Commit

Permalink
Janitorial: bump various dependencies (#40286)
Browse files Browse the repository at this point in the history
* packages/analyzer: bump dependencies

nikic/php-parser: drop PHP 7.0

* packages/stub-generator: bump dependencies

nikic/php-parser: drop old PHPUnit
phpstan/phpdoc-parser: drop PHP 7.2
symfony/console: just because

* packages/stub-generator: use new PhpDocParser API

* patchwork-redefine-exit: bump dependencies

antecedent/patchwork: PHP >=5.4 → PHP >=7.1

* plugins/jetpack: bump dependencies

antecedent/patchwork: PHP >=5.4 → PHP >=7.1
johnkary/phpunit-speedtrap: PHP >=7.0 → PHP >=7.1

* plugins/crm: bump dependencies

automattic/woocommerce: PHP >=5.4 → >=7.1

* Use automattic/wordbless ^0.4.2 in relevant packages

* Add changelogs

* Remove named params

* Update composer.lock

* Another changelog

* More composer lockfiles

* Changelogs

* Phan: update deprecated property use
  • Loading branch information
tbradsha authored Nov 21, 2024
1 parent 64431d2 commit c7d7d3e
Show file tree
Hide file tree
Showing 108 changed files with 616 additions and 406 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/admin-ui/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "@dev",
"automattic/jetpack-logo": "@dev",
"automattic/wordbless": "dev-master"
"automattic/wordbless": "^0.4.2"
},
"suggest": {
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/analyzer/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"require": {
"php": ">=7.2",
"nikic/php-parser": "4.13.2"
"nikic/php-parser": "^4.19"
},
"require-dev": {
"php": "^7.4 || ^8.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function __construct( $current_relative_path, $declarations ) {
public function enterNode( Node $node ) {

if ( $node instanceof Node\Stmt\Class_ ) {
$namespaced_name = '\\' . implode( '\\', $node->namespacedName->parts );
$namespaced_name = '\\' . implode( '\\', $node->namespacedName->getParts() );
$this->current_class = $namespaced_name;

$this->declarations->add( new Class_( $this->current_relative_path, $node->getLine(), $namespaced_name ) );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function enterNode( Node $node ) {
// calls like this: ( require "$root_dir/modules.php" )( $root_dir ).
$function_name = ''; // do nothing :shrug:.
} else {
$function_name = implode( '\\', $node->name->parts );
$function_name = implode( '\\', $node->name->getParts() );
}

$out = new Function_Call( $this->file_path, $node->getLine(), $function_name );
Expand Down
2 changes: 1 addition & 1 deletion projects/packages/analyzer/src/class-utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static function node_to_class_name( $node, $class_for_self = null ) {
|| $node instanceof Node\Stmt\Class_ ) {
$class_name = $node->name;
} elseif ( $node instanceof Node\Name ) {
$class_name = '\\' . implode( '\\', $node->parts );
$class_name = '\\' . implode( '\\', $node->getParts() );
} elseif ( $node instanceof Node\Expr\PropertyFetch ) {
$class_name =
'$'
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "@dev",
"automattic/wordbless": "@dev"
"automattic/wordbless": "^0.4.2"
},
"suggest": {
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
Expand Down
4 changes: 4 additions & 0 deletions projects/packages/backup/changelog/fix-bump_composer_versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/backup/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"require-dev": {
"automattic/jetpack-changelogger": "@dev",
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/wordbless": "@dev"
"automattic/wordbless": "^0.4.2"
},
"suggest": {
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
Expand Down
4 changes: 4 additions & 0 deletions projects/packages/blaze/changelog/fix-bump_composer_versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/blaze/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "@dev",
"automattic/wordbless": "@dev"
"automattic/wordbless": "^0.4.2"
},
"suggest": {
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
Expand Down
4 changes: 4 additions & 0 deletions projects/packages/blocks/changelog/fix-bump_composer_versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/blocks/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"automattic/jetpack-constants": "@dev"
},
"require-dev": {
"automattic/wordbless": "dev-master",
"automattic/wordbless": "^0.4.2",
"brain/monkey": "^2.6.2",
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "@dev"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/boost-core/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "@dev",
"automattic/wordbless": "dev-master"
"automattic/wordbless": "^0.4.2"
},
"autoload": {
"classmap": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/chatbot/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "@dev",
"automattic/wordbless": "dev-master"
"automattic/wordbless": "^0.4.2"
},
"autoload": {
"classmap": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/classic-theme-helper/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "@dev",
"automattic/wordbless": "dev-master"
"automattic/wordbless": "^0.4.2"
},
"autoload": {
"classmap": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/connection/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"automattic/jetpack-redirect": "@dev"
},
"require-dev": {
"automattic/wordbless": "@dev",
"automattic/wordbless": "^0.4.2",
"yoast/phpunit-polyfills": "^1.1.1",
"brain/monkey": "^2.6.2",
"automattic/jetpack-changelogger": "@dev",
Expand Down
4 changes: 4 additions & 0 deletions projects/packages/forms/changelog/fix-bump_composer_versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/forms/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "@dev",
"automattic/jetpack-connection": "@dev",
"automattic/wordbless": "^0.4.1"
"automattic/wordbless": "^0.4.2"
},
"suggest": {
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/image-cdn/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"automattic/jetpack-status": "@dev"
},
"require-dev": {
"automattic/wordbless": "dev-master",
"automattic/wordbless": "^0.4.2",
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "@dev"
},
Expand Down
4 changes: 4 additions & 0 deletions projects/packages/import/changelog/fix-bump_composer_versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/import/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "@dev",
"automattic/wordbless": "dev-master"
"automattic/wordbless": "^0.4.2"
},
"suggest": {
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/jetpack-mu-wpcom/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "@dev",
"automattic/wordbless": "0.4.2"
"automattic/wordbless": "^0.4.2"
},
"suggest": {
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/licensing/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"automattic/jetpack-connection": "@dev"
},
"require-dev": {
"automattic/wordbless": "@dev",
"automattic/wordbless": "^0.4.2",
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "@dev"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/masterbar/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "@dev",
"automattic/patchwork-redefine-exit": "@dev",
"automattic/wordbless": "dev-master"
"automattic/wordbless": "^0.4.2"
},
"autoload": {
"classmap": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/my-jetpack/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "@dev",
"automattic/wordbless": "@dev",
"automattic/wordbless": "^0.4.2",
"automattic/jetpack-search": "@dev",
"automattic/jetpack-videopress": "@dev"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/password-checker/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"require-dev": {
"automattic/jetpack-changelogger": "@dev",
"automattic/wordbless": "@dev",
"automattic/wordbless": "^0.4.2",
"yoast/phpunit-polyfills": "^1.1.1"
},
"suggest": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/patchwork-redefine-exit/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.2",
"antecedent/patchwork": "^2.1"
"antecedent/patchwork": "^2.2"
},
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
Expand Down
4 changes: 4 additions & 0 deletions projects/packages/plans/changelog/fix-bump_composer_versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/plans/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "@dev",
"automattic/jetpack-status": "@dev",
"automattic/wordbless": "@dev"
"automattic/wordbless": "^0.4.2"
},
"suggest": {
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/post-list/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"automattic/jetpack-assets": "@dev"
},
"require-dev": {
"automattic/wordbless": "@dev",
"automattic/wordbless": "^0.4.2",
"automattic/jetpack-changelogger": "@dev",
"yoast/phpunit-polyfills": "^1.1.1"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/protect-models/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "@dev",
"automattic/wordbless": "0.4.2"
"automattic/wordbless": "^0.4.2"
},
"autoload": {
"classmap": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/protect-status/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "@dev",
"automattic/wordbless": "dev-master"
"automattic/wordbless": "^0.4.2"
},
"autoload": {
"classmap": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/publicize/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "@dev",
"automattic/wordbless": "0.4.2"
"automattic/wordbless": "^0.4.2"
},
"suggest": {
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/scheduled-updates/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "@dev",
"automattic/wordbless": "@dev",
"automattic/wordbless": "^0.4.2",
"php-mock/php-mock-phpunit": "^2.10"
},
"suggest": {
Expand Down
4 changes: 4 additions & 0 deletions projects/packages/schema/changelog/fix-bump_composer_versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
2 changes: 1 addition & 1 deletion projects/packages/schema/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "@dev",
"automattic/wordbless": "dev-master"
"automattic/wordbless": "^0.4.2"
},
"autoload": {
"classmap": [
Expand Down
4 changes: 4 additions & 0 deletions projects/packages/search/changelog/fix-bump_composer_versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Updated dependencies.
Loading

0 comments on commit c7d7d3e

Please sign in to comment.