Skip to content

Commit e0d23d2

Browse files
tbradshamatticbot
authored andcommitted
General: Bump minimum PHP version to 7.2 (#40147)
* Bump minimum WP version to 6.6 * Match WP tested version to readme * Add changelogs * Remove 7.0 tests * Update comments with more recent data * Update composer.lock * Fix comment * Backup: Add next daily backup schedule time (#39914) * 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 * Bump PHP 7.0 refs * Clean up false positive * setMethods → onlyMethods * Add changelogs * Bump PHP 7.0 refs * Clean up false positive * setMethods → onlyMethods * Add changelogs * More changelogs * Remove suppression for old PHP versions * Make PHPCS and Phan rules match * Docs tweak Co-authored-by: Brad Jorsch <[email protected]> * Remove comment Co-authored-by: Brad Jorsch <[email protected]> * Remove inaccurate changelogs * Make params explicitly nullable * Oops: onlyMethods → addMethods * Another onlyMethods → addMethods * Last one * Split existing and new methods to mock * Prevent error when not adding new methods * Update Phan baselines * Use a more recent theme * Remove unneeded @requires * Update composer.lock * Debug * More debug * Remove debug * Remove more debug * Oops, missed one * Add another changelog --------- Co-authored-by: Rafael Agostini <[email protected]> Co-authored-by: Brad Jorsch <[email protected]> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/11822562293 Upstream-Ref: Automattic/jetpack@e2ab2c1
1 parent b4b2267 commit e0d23d2

File tree

9 files changed

+36
-27
lines changed

9 files changed

+36
-27
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ This is an alpha version! The changes listed here are not final.
1717
- Updated package dependencies.
1818

1919
### Removed
20+
- General: Update minimum PHP version to 7.2.
2021
- General: Update minimum WordPress version to 6.6.
2122

2223
### Fixed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"type": "wordpress-plugin",
55
"license": "GPL-2.0-or-later",
66
"require": {
7-
"automattic/jetpack-device-detection": "^2.1.6"
7+
"automattic/jetpack-device-detection": "^3.0.0-alpha"
88
},
99
"require-dev": {
1010
"yoast/phpunit-polyfills": "^1.1.1",
11-
"automattic/jetpack-changelogger": "^4.2.8"
11+
"automattic/jetpack-changelogger": "^5.0.0-alpha"
1212
},
1313
"autoload": {
1414
"classmap": [

composer.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Contributors: donncha, automattic, adnan007, dilirity, mikemayhem3030, pyronaur, thingalon
33
Tags: performance, caching, wp-cache, wp-super-cache, cache
44
Requires at least: 6.6
5-
Requires PHP: 7.0
5+
Requires PHP: 7.2
66
Tested up to: 6.7
77
Stable tag: 1.12.3
88
License: GPLv2 or later

vendor/automattic/jetpack-device-detection/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [3.0.0-alpha] - unreleased
9+
10+
This is an alpha version! The changes listed here are not final.
11+
12+
### Removed
13+
- General: Update minimum PHP version to 7.2.
14+
815
## [2.1.6] - 2024-11-04
916
### Added
1017
- Enable test coverage. [#39961]
@@ -208,6 +215,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
208215

209216
- Moving jetpack_is_mobile into a package
210217

218+
[3.0.0-alpha]: https://github.com/Automattic/jetpack-device-detection/compare/v2.1.6...v3.0.0-alpha
211219
[2.1.6]: https://github.com/Automattic/jetpack-device-detection/compare/v2.1.5...v2.1.6
212220
[2.1.5]: https://github.com/Automattic/jetpack-device-detection/compare/v2.1.4...v2.1.5
213221
[2.1.4]: https://github.com/Automattic/jetpack-device-detection/compare/v2.1.3...v2.1.4

vendor/automattic/jetpack-device-detection/composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"type": "jetpack-library",
55
"license": "GPL-2.0-or-later",
66
"require": {
7-
"php": ">=7.0"
7+
"php": ">=7.2"
88
},
99
"require-dev": {
1010
"yoast/phpunit-polyfills": "^1.1.1",
11-
"automattic/jetpack-changelogger": "^4.2.8"
11+
"automattic/jetpack-changelogger": "^5.0.0-alpha"
1212
},
1313
"suggest": {
1414
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
@@ -38,7 +38,7 @@
3838
"link-template": "https://github.com/Automattic/jetpack-device-detection/compare/v${old}...v${new}"
3939
},
4040
"branch-alias": {
41-
"dev-trunk": "2.1.x-dev"
41+
"dev-trunk": "3.0.x-dev"
4242
}
4343
}
4444
}

vendor/composer/installed.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
"packages": [
33
{
44
"name": "automattic/jetpack-device-detection",
5-
"version": "2.1.6",
6-
"version_normalized": "2.1.6.0",
5+
"version": "3.0.0-alpha.1731518828",
6+
"version_normalized": "3.0.0.0-alpha1731518828",
77
"dist": {
88
"type": "path",
99
"url": "/tmp/jetpack-build/Automattic/jetpack-device-detection",
10-
"reference": "c72a31f2b64af82d772867bb29e7f0bb4a31cc79"
10+
"reference": "b22d714e318f1eba7683e64dce62e9ef6c466973"
1111
},
1212
"require": {
13-
"php": ">=7.0"
13+
"php": ">=7.2"
1414
},
1515
"require-dev": {
16-
"automattic/jetpack-changelogger": "^4.2.8",
16+
"automattic/jetpack-changelogger": "^5.0.0-alpha",
1717
"yoast/phpunit-polyfills": "^1.1.1"
1818
},
1919
"suggest": {
@@ -27,7 +27,7 @@
2727
"link-template": "https://github.com/Automattic/jetpack-device-detection/compare/v${old}...v${new}"
2828
},
2929
"branch-alias": {
30-
"dev-trunk": "2.1.x-dev"
30+
"dev-trunk": "3.0.x-dev"
3131
}
3232
},
3333
"installation-source": "dist",

vendor/composer/installed.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
),
1212
'versions' => array(
1313
'automattic/jetpack-device-detection' => array(
14-
'pretty_version' => '2.1.6',
15-
'version' => '2.1.6.0',
16-
'reference' => 'c72a31f2b64af82d772867bb29e7f0bb4a31cc79',
14+
'pretty_version' => '3.0.0-alpha.1731518828',
15+
'version' => '3.0.0.0-alpha1731518828',
16+
'reference' => 'b22d714e318f1eba7683e64dce62e9ef6c466973',
1717
'type' => 'jetpack-library',
1818
'install_path' => __DIR__ . '/../automattic/jetpack-device-detection',
1919
'aliases' => array(),

vendor/composer/platform_check.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
$issues = array();
66

7-
if (!(PHP_VERSION_ID >= 70000)) {
8-
$issues[] = 'Your Composer dependencies require a PHP version ">= 7.0.0". You are running ' . PHP_VERSION . '.';
7+
if (!(PHP_VERSION_ID >= 70200)) {
8+
$issues[] = 'Your Composer dependencies require a PHP version ">= 7.2.0". You are running ' . PHP_VERSION . '.';
99
}
1010

1111
if ($issues) {

0 commit comments

Comments
 (0)