-
Notifications
You must be signed in to change notification settings - Fork 798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Janitorial: bump various dependencies #40286
Conversation
nikic/php-parser: drop PHP 7.0
nikic/php-parser: drop old PHPUnit phpstan/phpdoc-parser: drop PHP 7.2 symfony/console: just because
antecedent/patchwork: PHP >=5.4 → PHP >=7.1
antecedent/patchwork: PHP >=5.4 → PHP >=7.1 johnkary/phpunit-speedtrap: PHP >=7.0 → PHP >=7.1
automattic/woocommerce: PHP >=5.4 → >=7.1
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 The e2e test report can be found here. Please note that it can take a few minutes after the e2e tests checks are complete for the report to be available. Follow this PR Review Process:
Still unsure? Reach out in #jetpack-developers for guidance! Beta plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Jetpack plugin: The Jetpack plugin has different release cadences depending on the platform:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Backup plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Boost plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Search plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Social plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Starter Plugin plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Protect plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Videopress plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Mu Wpcom plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Inspect plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Wpcomsh plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Automattic For agencies client plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Classic Theme helper plugin plugin:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Although, did you intentionally skip changelogger's symfony deps?
Heh, there's a reason this was a draft. I added some details in the |
composer/composer is in there for phan, IDE completions, and possibly also unit tests IIRC. Should be safe to bump. composer-plugin-api indicates the Composer API version the package is compatible with, in much the same way that the
Should be safe to bump. Probably wpcomsh doesn't even need it (or wp-coding-standards/wpcs) anymore now that it's in the monorepo. What this does is, when a phpcs standards package like wp-coding-standards/wpcs is installed, it automatically adds the right phpcs configuration so phpcs knows about it. |
Great! I'll tackle those in another PR. Edit: #40297 |
This bumps a few dependencies now that we're no longer bound to PHP <7.2.
Proposed changes:
The details are in each commit, but mostly the bumps didn't cause any issues, with one exception that required some minor adjustment due to a PhpDocParser API change: 78c163b
I also updated all packages using
automattic/wordbless
to^0.4.2
instead of variations that ultimately pulled the same thing.Other dependencies that could be bumped
yoast/phpunit-polyfills
Currently there are 90 packages on
^1.1.1
. This is a big project (see also p1732198254207959/1732037783.177369-slack-C05Q5HSS013).symfony/process
This is found in
automattic/jetpack-changelogger
.Currently first three items have (Windows) security bulletins.
5.4.46
is the first without one, but requires PHP 7.2.5, so we may as well bump PHP too, then bump this dependency to^5.4 || ^6.4 || ^7.1
symfony/console
This is found in
automattic/jetpack-changelogger
. I recommend bumping the dependency to^5.4 || ^6.4 || ^7.1
(assuming we'll be bumping PHP to7.2.5
; see above).dompdf/dompdf
This is found in
automattic/jetpackcrm
. I tried bumping it to^3.0
, but this messed up formatting, so will take a bit more digging.composer-plugin-api and composer/composer
Both
automattic/jetpack-autoloader
andautomattic/jetpack-composer-plugin
use these. I believe they can bumped safely (and/or removed) but documentation is scarce as to why we use them in the first place.dealerdirect/phpcodesniffer-composer-installer
Both
automattic/jetpack-codesniffer
andautomattic/wpcomsh
use this. This one is over my head as well.Other information:
Jetpack product discussion
Does this pull request change what data or activity we track or use?
Testing instructions:
Verify tests pass?