-
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
General: Bump minimum PHP version to 7.2 #40147
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Set up react-query, moment and typescript * changelog * Add endpoint to fetch site backup schedule time * Setup react-query (queryClientProvider) * Add useScheduledTimeQuery hook to fetch schedule time * Add hook to parse and return the next backup schedule time * Add component to render the next scheduled backup message * Fix record Tracks event * Removing changelog for migration and core plugin * Bump `Automattic\Jetpack\Backup` namespace to V0005 * changelog * Bump `Automattic\Jetpack\Transport_Helper` to V0005 * Remove `between` to make `Modify` fit in the same line * Fix pnpm lock
tbradsha
added
[Status] Needs Review
To request a review from fellow Jetpack developers. Label will be renamed soon.
[Type] Janitorial
labels
Nov 12, 2024
github-actions
bot
added
[Feature] Calypsoify
[Feature] Contact Form
[Feature] Google Analytics
[Feature] Masterbar
WordPress.com Toolbar and Dashboard customizations
[Feature] Photon
aka "Image CDN". Feature developed in the Image CDN package and shipped in multiple plugins
[Feature] Theme Tools
[Feature] WooCommerce Analytics
[Feature] WPCOM API
[mu wpcom Feature] Starter Page Templates
[Package] A8c Mc Stats
[Package] Ad
aka WordAds
labels
Nov 12, 2024
Co-authored-by: Brad Jorsch <[email protected]>
Missed one:
|
anomiex
approved these changes
Nov 13, 2024
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.
Let's do it!
github-actions
bot
removed
[Status] Needs Review
To request a review from fellow Jetpack developers. Label will be renamed soon.
[Status] In Progress
labels
Nov 13, 2024
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Actions
GitHub actions used to automate some of the work around releases and repository management
Docs
[Feature] Calypsoify
[Feature] Contact Form
[Feature] Google Analytics
[Feature] Masterbar
WordPress.com Toolbar and Dashboard customizations
[Feature] Photon
aka "Image CDN". Feature developed in the Image CDN package and shipped in multiple plugins
[Feature] Theme Tools
[Feature] WooCommerce Analytics
[Feature] WPCOM API
[mu wpcom Feature] Starter Page Templates
[Package] A8c Mc Stats
[Package] Ad
aka WordAds
[Package] Admin Ui
[Package] Analyzer
[Package] Assets
[Package] Autoloader
[Package] Backup Helper Script Manager
[Package] Backup
[Package] Blaze
[Package] Blocks
[Package] Boost Core
[Package] Boost Speed Score
[Package] Calypsoify
[Package] Changelogger
[Package] Chatbot
[Package] Classic Theme Helper
[Package] Codesniffer
[Package] Compat
[Package] Composer Plugin
[Package] Config
[Package] Connection
[Package] Constants
[Package] Device Detection
[Package] Error
[Package] Explat
[Package] Forms
[Package] Google Analytics
[Package] Ignorefile
[Package] Image CDN
[Package] Import
[Package] IP
[Package] Jetpack mu wpcom
WordPress.com Features
[Package] Jitm
[Package] Licensing
[Package] Logo
[Package] Masterbar
[Package] My Jetpack
[Package] Password Checker
[Package] Patchwork Redefine Exit
[Package] Phpcs Filter
[Package] Plans
[Package] Plugin Deactivation
[Package] Plugins Installer
[Package] Post List
[Package] Protect Models
[Package] Protect Status
[Package] Publicize
[Package] Redirect
[Package] Roles
[Package] Scheduled Updates
[Package] Schema
[Package] Search
Contains core Search functionality for Jetpack and Search plugins
[Package] Stats Admin
[Package] Stats Data
[Package] Status
[Package] Sync
[Package] Transport Helper
[Package] VideoPress
[Package] WAF
[Package] WooCommerce Analytics
Enhanced analytics for WooCommerce users
[Package] WP JS Data Sync
[Package] Yoast Promo
[Plugin] Automattic For Agencies Client
[Plugin] Backup
A plugin that allows users to save every change and get back online quickly with one-click restores.
[Plugin] Beta
For serving live branches and the beta versions. https://github.com/automattic/jetpack-beta
[Plugin] Boost
A feature to speed up the site and improve performance.
[Plugin] Classic Theme Helper Plugin
[Plugin] CRM
Issues about the Jetpack CRM plugin
[Plugin] Inspect
[Plugin] Jetpack
Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/
[Plugin] Migration
[Plugin] mu wpcom
jetpack-mu-wpcom plugin
[Plugin] Protect
A plugin with features to protect a site: brute force protection, security scanning, and a WAF.
[Plugin] Search
A plugin to add an instant search modal to your site to help visitors find content faster.
[Plugin] Social
Issues about the Jetpack Social plugin
[Plugin] Starter Plugin
[Plugin] Super Cache
A fast caching plugin for WordPress.
[Plugin] VaultPress
[Plugin] VideoPress
A standalone plugin to add high-quality VideoPress videos to your site.
[Plugin] Wpcomsh
[Tests] Includes Tests
[Tools] Development CLI
The tools/cli to assist during JP development.
[Type] Janitorial
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This bumps the minimum PHP version for our plugins to 7.2, matching the earliest version of WP we support (6.6).
This is listed as a major change.
The main changes are as follows:
.phan/config.base.php
composer.json
andreadme.txt
setMethods()
toonlyMethods()
andaddMethods()
(note that the two instances of anull
param were switched to an empty array)I also ran across a "7.2" false positive referencing an old Gutenberg version (4.5 years old) in
projects/packages/jetpack-mu-wpcom/src/features/starter-page-templates/page-patterns-plugin.tsx
and removed the ternary.To address in a separate PR:
codesniffer
updatescomposer
dependenciesNotes:
addMethods()
is officially deprecated as of PHPUnit 10 (DeprecateMockBuilder::addMethods()
sebastianbergmann/phpunit#5320), but that'll have to wait for a future day.A test that installed an old theme (https://wordpress.org/themes/itek/) was failing. I updated it to a new theme (https://wordpress.org/themes/dossier/) and it passed. Turns out it was coincidence, and tests were intermittently failing due to heavy WP 6.7 update traffic, but I'll keep the change, as the old theme was last updated 8.5 years ago and is bound to eventually fail.It turns out there's something more to just changing the theme. Changed back to iTek for now.Other information:
Jetpack product discussion
Does this pull request change what data or activity we track or use?
Testing instructions:
Verify changes are valid and that CI checks are happy.