Skip to content

Commit

Permalink
General: Bump minimum PHP version to 7.2 (#40147)
Browse files Browse the repository at this point in the history
* 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 <anomiex@users.noreply.github.com>

* Remove comment

Co-authored-by: Brad Jorsch <anomiex@users.noreply.github.com>

* 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 <rafael.agostini@automattic.com>
Co-authored-by: Brad Jorsch <anomiex@users.noreply.github.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/11822562293

Upstream-Ref: Automattic/jetpack@e2ab2c1
  • Loading branch information
tbradsha authored and matticbot committed Nov 13, 2024
1 parent fc9804c commit 9d67e02
Show file tree
Hide file tree
Showing 79 changed files with 900 additions and 710 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"require": {
"automattic/jetpack-mu-wpcom": "^5.66.1-alpha"
"automattic/jetpack-mu-wpcom": "^6.0.0-alpha"
},
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "^4.2.8"
"automattic/jetpack-changelogger": "^5.0.0-alpha"
},
"autoload": {
"classmap": [
Expand Down
422 changes: 211 additions & 211 deletions composer.lock

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions vendor/automattic/jetpack-a8c-mc-stats/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.0.0-alpha] - unreleased

This is an alpha version! The changes listed here are not final.

### Removed
- General: Update minimum PHP version to 7.2.

## [2.0.4] - 2024-11-04
### Added
- Enable test coverage. [#39961]
Expand Down Expand Up @@ -147,6 +154,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Creates the MC Stats package

[3.0.0-alpha]: https://github.com/Automattic/jetpack-a8c-mc-stats/compare/v2.0.4...v3.0.0-alpha
[2.0.4]: https://github.com/Automattic/jetpack-a8c-mc-stats/compare/v2.0.3...v2.0.4
[2.0.3]: https://github.com/Automattic/jetpack-a8c-mc-stats/compare/v2.0.2...v2.0.3
[2.0.2]: https://github.com/Automattic/jetpack-a8c-mc-stats/compare/v2.0.1...v2.0.2
Expand Down
6 changes: 3 additions & 3 deletions vendor/automattic/jetpack-a8c-mc-stats/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"type": "jetpack-library",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.0"
"php": ">=7.2"
},
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "^4.2.8"
"automattic/jetpack-changelogger": "^5.0.0-alpha"
},
"suggest": {
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
Expand Down Expand Up @@ -38,7 +38,7 @@
"link-template": "https://github.com/Automattic/jetpack-a8c-mc-stats/compare/v${old}...v${new}"
},
"branch-alias": {
"dev-trunk": "2.0.x-dev"
"dev-trunk": "3.0.x-dev"
}
}
}
8 changes: 8 additions & 0 deletions vendor/automattic/jetpack-admin-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.5.0-alpha] - unreleased

This is an alpha version! The changes listed here are not final.

### Removed
- General: Update minimum PHP version to 7.2.

## [0.4.6] - 2024-11-04
### Added
- Enable test coverage. [#39961]
Expand Down Expand Up @@ -164,6 +171,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fixing menu visibility issues.

[0.5.0-alpha]: https://github.com/Automattic/jetpack-admin-ui/compare/0.4.6...0.5.0-alpha
[0.4.6]: https://github.com/Automattic/jetpack-admin-ui/compare/0.4.5...0.4.6
[0.4.5]: https://github.com/Automattic/jetpack-admin-ui/compare/0.4.4...0.4.5
[0.4.4]: https://github.com/Automattic/jetpack-admin-ui/compare/0.4.3...0.4.4
Expand Down
8 changes: 4 additions & 4 deletions vendor/automattic/jetpack-admin-ui/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"type": "jetpack-library",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.0"
"php": ">=7.2"
},
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "^4.2.8",
"automattic/jetpack-logo": "^2.0.5",
"automattic/jetpack-changelogger": "^5.0.0-alpha",
"automattic/jetpack-logo": "^3.0.0-alpha",
"automattic/wordbless": "dev-master"
},
"suggest": {
Expand Down Expand Up @@ -43,7 +43,7 @@
"link-template": "https://github.com/Automattic/jetpack-admin-ui/compare/${old}...${new}"
},
"branch-alias": {
"dev-trunk": "0.4.x-dev"
"dev-trunk": "0.5.x-dev"
},
"version-constants": {
"::PACKAGE_VERSION": "src/class-admin-menu.php"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/
class Admin_Menu {

const PACKAGE_VERSION = '0.4.6';
const PACKAGE_VERSION = '0.5.0-alpha';

/**
* Whether this class has been initialized
Expand Down
8 changes: 8 additions & 0 deletions vendor/automattic/jetpack-assets/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.0.0-alpha] - unreleased

This is an alpha version! The changes listed here are not final.

### Removed
- General: Update minimum PHP version to 7.2.

## [2.3.14] - 2024-11-11
### Changed
- Updated package dependencies. [#39999]
Expand Down Expand Up @@ -525,6 +532,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Statically access asset tools

[3.0.0-alpha]: https://github.com/Automattic/jetpack-assets/compare/v2.3.14...v3.0.0-alpha
[2.3.14]: https://github.com/Automattic/jetpack-assets/compare/v2.3.13...v2.3.14
[2.3.13]: https://github.com/Automattic/jetpack-assets/compare/v2.3.12...v2.3.13
[2.3.12]: https://github.com/Automattic/jetpack-assets/compare/v2.3.11...v2.3.12
Expand Down
8 changes: 4 additions & 4 deletions vendor/automattic/jetpack-assets/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"type": "jetpack-library",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.0",
"automattic/jetpack-constants": "^2.0.5"
"php": ">=7.2",
"automattic/jetpack-constants": "^3.0.0-alpha"
},
"require-dev": {
"brain/monkey": "2.6.1",
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "^4.2.8",
"automattic/jetpack-changelogger": "^5.0.0-alpha",
"wikimedia/testing-access-wrapper": "^1.0 || ^2.0 || ^3.0"
},
"suggest": {
Expand Down Expand Up @@ -55,7 +55,7 @@
"link-template": "https://github.com/Automattic/jetpack-assets/compare/v${old}...v${new}"
},
"branch-alias": {
"dev-trunk": "2.3.x-dev"
"dev-trunk": "3.0.x-dev"
}
}
}
8 changes: 8 additions & 0 deletions vendor/automattic/jetpack-blaze/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.25.0-alpha] - unreleased

This is an alpha version! The changes listed here are not final.

### Removed
- General: Update minimum PHP version to 7.2.

## [0.24.0] - 2024-11-11
### Added
- Adds /stats endpoints to the whitelist [#39995]
Expand Down Expand Up @@ -482,6 +489,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Updated package dependencies. [#27906]

[0.25.0-alpha]: https://github.com/automattic/jetpack-blaze/compare/v0.24.0...v0.25.0-alpha
[0.24.0]: https://github.com/automattic/jetpack-blaze/compare/v0.23.3...v0.24.0
[0.23.3]: https://github.com/automattic/jetpack-blaze/compare/v0.23.2...v0.23.3
[0.23.2]: https://github.com/automattic/jetpack-blaze/compare/v0.23.1...v0.23.2
Expand Down
20 changes: 10 additions & 10 deletions vendor/automattic/jetpack-blaze/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
"type": "jetpack-library",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.0",
"automattic/jetpack-assets": "^2.3.14",
"automattic/jetpack-connection": "^5.1.7",
"automattic/jetpack-constants": "^2.0.5",
"automattic/jetpack-plans": "^0.4.13",
"automattic/jetpack-redirect": "^2.0.5",
"automattic/jetpack-status": "^4.0.3",
"automattic/jetpack-sync": "^3.15.1-alpha"
"php": ">=7.2",
"automattic/jetpack-assets": "^3.0.0-alpha",
"automattic/jetpack-connection": "^6.0.0-alpha",
"automattic/jetpack-constants": "^3.0.0-alpha",
"automattic/jetpack-plans": "^0.5.0-alpha",
"automattic/jetpack-redirect": "^3.0.0-alpha",
"automattic/jetpack-status": "^5.0.0-alpha",
"automattic/jetpack-sync": "^4.0.0-alpha"
},
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "^4.2.8",
"automattic/jetpack-changelogger": "^5.0.0-alpha",
"automattic/wordbless": "@dev"
},
"suggest": {
Expand Down Expand Up @@ -58,7 +58,7 @@
"link-template": "https://github.com/automattic/jetpack-blaze/compare/v${old}...v${new}"
},
"branch-alias": {
"dev-trunk": "0.24.x-dev"
"dev-trunk": "0.25.x-dev"
},
"textdomain": "jetpack-blaze",
"version-constants": {
Expand Down
2 changes: 1 addition & 1 deletion vendor/automattic/jetpack-blaze/src/class-dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Dashboard {
*
* @var string
*/
const PACKAGE_VERSION = '0.24.0';
const PACKAGE_VERSION = '0.25.0-alpha';

/**
* List of dependencies needed to render the dashboard in wp-admin.
Expand Down
8 changes: 8 additions & 0 deletions vendor/automattic/jetpack-blocks/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.0.0-alpha] - unreleased

This is an alpha version! The changes listed here are not final.

### Removed
- General: Update minimum PHP version to 7.2.

## [2.0.7] - 2024-11-04
### Added
- Enable test coverage. [#39961]
Expand Down Expand Up @@ -198,6 +205,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Blocks: introduce new package for block management

[3.0.0-alpha]: https://github.com/Automattic/jetpack-blocks/compare/v2.0.7...v3.0.0-alpha
[2.0.7]: https://github.com/Automattic/jetpack-blocks/compare/v2.0.6...v2.0.7
[2.0.6]: https://github.com/Automattic/jetpack-blocks/compare/v2.0.5...v2.0.6
[2.0.5]: https://github.com/Automattic/jetpack-blocks/compare/v2.0.4...v2.0.5
Expand Down
8 changes: 4 additions & 4 deletions vendor/automattic/jetpack-blocks/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"type": "jetpack-library",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.0",
"automattic/jetpack-constants": "^2.0.5"
"php": ">=7.2",
"automattic/jetpack-constants": "^3.0.0-alpha"
},
"require-dev": {
"automattic/wordbless": "dev-master",
"brain/monkey": "2.6.1",
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "^4.2.8"
"automattic/jetpack-changelogger": "^5.0.0-alpha"
},
"suggest": {
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
Expand Down Expand Up @@ -43,7 +43,7 @@
"link-template": "https://github.com/Automattic/jetpack-blocks/compare/v${old}...v${new}"
},
"branch-alias": {
"dev-trunk": "2.0.x-dev"
"dev-trunk": "3.0.x-dev"
}
},
"config": {
Expand Down
8 changes: 8 additions & 0 deletions vendor/automattic/jetpack-calypsoify/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.0-alpha] - unreleased

This is an alpha version! The changes listed here are not final.

### Removed
- General: Update minimum PHP version to 7.2.

## [0.1.9] - 2024-11-11
### Added
- Enable test coverage. [#39961]
Expand Down Expand Up @@ -58,6 +65,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Calypsoify: Load feature from the Calypsoify package. [#37375]
- Updated package dependencies. [#37379]

[0.2.0-alpha]: https://github.com/Automattic/jetpack-calypsoify/compare/v0.1.9...v0.2.0-alpha
[0.1.9]: https://github.com/Automattic/jetpack-calypsoify/compare/v0.1.8...v0.1.9
[0.1.8]: https://github.com/Automattic/jetpack-calypsoify/compare/v0.1.7...v0.1.8
[0.1.7]: https://github.com/Automattic/jetpack-calypsoify/compare/v0.1.6...v0.1.7
Expand Down
10 changes: 5 additions & 5 deletions vendor/automattic/jetpack-calypsoify/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"type": "jetpack-library",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.0",
"automattic/jetpack-assets": "^2.3.14",
"automattic/jetpack-status": "^4.0.3"
"php": ">=7.2",
"automattic/jetpack-assets": "^3.0.0-alpha",
"automattic/jetpack-status": "^5.0.0-alpha"
},
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "^4.2.8"
"automattic/jetpack-changelogger": "^5.0.0-alpha"
},
"autoload": {
"classmap": [
Expand Down Expand Up @@ -39,7 +39,7 @@
"extra": {
"autotagger": true,
"branch-alias": {
"dev-trunk": "0.1.x-dev"
"dev-trunk": "0.2.x-dev"
},
"changelogger": {
"link-template": "https://github.com/Automattic/jetpack-calypsoify/compare/v${old}...v${new}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
class Jetpack_Calypsoify {

const PACKAGE_VERSION = '0.1.9';
const PACKAGE_VERSION = '0.2.0-alpha';

/**
* Singleton instance of `Jetpack_Calypsoify`.
Expand Down
8 changes: 8 additions & 0 deletions vendor/automattic/jetpack-classic-theme-helper/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.7.0-alpha] - unreleased

This is an alpha version! The changes listed here are not final.

### Removed
- General: Update minimum PHP version to 7.2.

## [0.6.7] - 2024-11-11
### Changed
- Updated package dependencies. [#39999]
Expand Down Expand Up @@ -147,6 +154,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Add wordpress folder on gitignore. [#37177]

[0.7.0-alpha]: https://github.com/Automattic/jetpack-classic-theme-helper/compare/v0.6.7...v0.7.0-alpha
[0.6.7]: https://github.com/Automattic/jetpack-classic-theme-helper/compare/v0.6.6...v0.6.7
[0.6.6]: https://github.com/Automattic/jetpack-classic-theme-helper/compare/v0.6.5...v0.6.6
[0.6.5]: https://github.com/Automattic/jetpack-classic-theme-helper/compare/v0.6.4...v0.6.5
Expand Down
8 changes: 4 additions & 4 deletions vendor/automattic/jetpack-classic-theme-helper/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"type": "jetpack-library",
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.0",
"automattic/jetpack-assets": "^2.3.14"
"php": ">=7.2",
"automattic/jetpack-assets": "^3.0.0-alpha"
},
"require-dev": {
"yoast/phpunit-polyfills": "^1.1.1",
"automattic/jetpack-changelogger": "^4.2.8",
"automattic/jetpack-changelogger": "^5.0.0-alpha",
"automattic/wordbless": "dev-master"
},
"autoload": {
Expand Down Expand Up @@ -46,7 +46,7 @@
"extra": {
"autotagger": true,
"branch-alias": {
"dev-trunk": "0.6.x-dev"
"dev-trunk": "0.7.x-dev"
},
"changelogger": {
"link-template": "https://github.com/Automattic/jetpack-classic-theme-helper/compare/v${old}...v${new}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/
class Main {

const PACKAGE_VERSION = '0.6.7';
const PACKAGE_VERSION = '0.7.0-alpha';

/**
* Modules to include.
Expand Down
Loading

0 comments on commit 9d67e02

Please sign in to comment.