diff --git a/.github/actions/tool-setup/action.yml b/.github/actions/tool-setup/action.yml
index 22067adc6cdba..194af359db178 100644
--- a/.github/actions/tool-setup/action.yml
+++ b/.github/actions/tool-setup/action.yml
@@ -18,7 +18,7 @@ runs:
# Read tool versions
. .github/versions.sh
- if [[ "${INPUT_PHP:-$PHP_VERSION}" == 5.6 || "${INPUT_PHP:-$PHP_VERSION}" == 7.[01] ]]; then
+ if [[ "${INPUT_PHP:-$PHP_VERSION}" == 7.[01] ]]; then
printf "Downgrading composer for PHP %s\n\n" "${INPUT_PHP:-$PHP_VERSION}"
COMPOSER_VERSION=2.2.12
fi
diff --git a/.github/renovate.json5 b/.github/renovate.json5
index 3eb1ceb8cbb98..74886ed23305e 100644
--- a/.github/renovate.json5
+++ b/.github/renovate.json5
@@ -26,7 +26,7 @@
// Monorepo packages are excluded in renovate-config.js, where we can read
// the list of them in code.
- // We need to keep a wide version range to support PHP 5.6.
+ // We need to keep a wide version range to support PHP 7.0.
// Note for libraries used in plugins this will only work right for require-dev deps, not require.
{
matchPackageNames: [
diff --git a/.github/versions.sh b/.github/versions.sh
index 7fb68b9c0317c..7c3ae874a8041 100644
--- a/.github/versions.sh
+++ b/.github/versions.sh
@@ -5,5 +5,5 @@ NODE_VERSION=20.8.1
PNPM_VERSION=8.6.8
# Other useful version numbers.
-MIN_PHP_VERSION=5.6
+MIN_PHP_VERSION=7.0
MAX_PHP_VERSION=8.2
diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml
index a532e41e09248..006818e36e2cc 100644
--- a/.github/workflows/linting.yml
+++ b/.github/workflows/linting.yml
@@ -171,7 +171,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- php-versions: [ '5.6', '7.0', '7.2', '7.4', '8.0', '8.1', '8.2' ]
+ php-versions: [ '7.0', '7.2', '7.4', '8.0', '8.1', '8.2' ]
experimental: [ false ]
steps:
diff --git a/docs/coding-guidelines.md b/docs/coding-guidelines.md
index 1207c4a62f7a3..169c78292da87 100644
--- a/docs/coding-guidelines.md
+++ b/docs/coding-guidelines.md
@@ -4,7 +4,7 @@ These are some things to keep in mind when writing code for Jetpack plugin. Plea
## Versions supported
-- Jetpack supports PHP 5.6, as per WordPress' own requirements. Keep that in mind when developing for Jetpack.
+- Jetpack supports PHP 7.0, as per WordPress' own requirements. Keep that in mind when developing for Jetpack.
- Jetpack follows [WordPress Core's standards](https://make.wordpress.org/core/handbook/best-practices/coding-standards/), with a few additions. The best way to ensure that you adhere to those standards is to set up your IDE [as per the recommendations here](./development-environment.md#use-php-codesniffer-and-eslint-to-make-sure-your-code-respects-coding-standards).
- Jetpack supports the WP current version and the immediate previous version. So if WP version is 4.6, Jetpack will support it, as well as 4.5. It's desirable that when Jetpack is installed in older versions, it doesn't fail in a severe way.
- We support the latest two versions of all major browsers, except IE, where we currently only support 11 and Edge. (see [Browse Happy](http://browsehappy.com) for current latest versions).
diff --git a/docs/development-environment.md b/docs/development-environment.md
index 5d096ed2ed7af..3930888f39120 100644
--- a/docs/development-environment.md
+++ b/docs/development-environment.md
@@ -375,9 +375,9 @@ We strongly recommend that you install tools to review your code in your IDE. It
composer phpcs:lint
```
-* ### Checking Jetpack's PHP for compatibility with different versions of PHP since 5.6
+* ### Checking Jetpack's PHP for compatibility with different versions of PHP since 7.0
- We have a handy `composer` script that will just run the PHP CodeSniffer `PHPCompatibilityWP` ruleset checking for code not compatible with PHP 5.6
+ We have a handy `composer` script that will just run the PHP CodeSniffer `PHPCompatibilityWP` ruleset checking for code not compatible with PHP 7.0
```sh
composer phpcs:compatibility
diff --git a/docs/monorepo.md b/docs/monorepo.md
index eecec36b13ec4..33943fd5ae238 100644
--- a/docs/monorepo.md
+++ b/docs/monorepo.md
@@ -42,7 +42,7 @@ All GitHub Actions configuration for the monorepo, including CI, lives in `.gith
## Compatibility
-All projects should be compatible with PHP versions WordPress supports. That's currently PHP 5.6 to 8.0.
+All projects should be compatible with PHP versions WordPress supports. That's currently PHP 7.0 to 8.2.
## First Time
@@ -210,7 +210,7 @@ If a project contains PHP tests (typically PHPUnit), it must define `.scripts.te
A MySQL database is available if needed; credentials may be found in `~/.my.cnf`. Note that the host must be specified as `127.0.0.1`, as when passed `localhost` PHP will try to connect via a Unix domain socket which is not available in the Actions environment.
-Tests are run with a variety of supported PHP versions from 5.6 to 8.0. If you have tests that only need to be run once, run them when `PHP_VERSION` matches that in `.github/versions.sh`.
+Tests are run with a variety of supported PHP versions from 7.0 to 8.2. If you have tests that only need to be run once, run them when `PHP_VERSION` matches that in `.github/versions.sh`.
#### PHP tests for non-plugins
@@ -218,7 +218,7 @@ For all project types other than WordPress plugins, the necessary version of PHP
We currently make use of the following packages in testing; it's encouraged to use these rather than introducing other tools that serve the same purpose.
-* [yoast/phpunit-polyfills](https://packagist.org/packages/yoast/phpunit-polyfills) supplies polyfills for compatibility with PHPUnit 5.7 to 9.0, to support PHP 5.6 to 8.0.
+* [yoast/phpunit-polyfills](https://packagist.org/packages/yoast/phpunit-polyfills) supplies polyfills for compatibility with PHPUnit 6.5 to 9.0, to support PHP 7.0 to 8.2.
* Do not use `Yoast\PHPUnitPolyfills\TestCases\TestCase` or `Yoast\PHPUnitPolyfills\TestCases\XTestCase`. Just use the `@before`, `@after`, `@beforeClass`, and `@afterClass` annotations directly.
* PHPUnit's built-in mocking is used for class mocks.
* [brain/monkey](https://packagist.org/packages/brain/monkey) is used for mocking functions, and can also provide some functions for minimal WordPress compatibility.
diff --git a/docs/testing/regression-checklist/regression-checklist.md b/docs/testing/regression-checklist/regression-checklist.md
index 2492290646cc5..73ac25801ec83 100644
--- a/docs/testing/regression-checklist/regression-checklist.md
+++ b/docs/testing/regression-checklist/regression-checklist.md
@@ -21,7 +21,7 @@ NOTE: it might become outdated, so it could be a good idea to generate this file
### PHP versions(Low)
-- 5.6 - current
+- 7.0 - current
### Hosting providers(High)
diff --git a/projects/packages/changelogger/changelog/update-php-requirements b/projects/packages/changelogger/changelog/update-php-requirements
new file mode 100644
index 0000000000000..e91743c9e6518
--- /dev/null
+++ b/projects/packages/changelogger/changelog/update-php-requirements
@@ -0,0 +1,4 @@
+Significance: major
+Type: changed
+
+General: updated PHP requirement to PHP 7.0+
diff --git a/projects/packages/changelogger/composer.json b/projects/packages/changelogger/composer.json
index addb7a1558d5d..c832de8a1b47f 100644
--- a/projects/packages/changelogger/composer.json
+++ b/projects/packages/changelogger/composer.json
@@ -10,7 +10,7 @@
"dev"
],
"require": {
- "php": ">=5.6",
+ "php": ">=7.0",
"symfony/console": "^3.4 || ^5.2 || ^6.0",
"symfony/process": "^3.4 || ^5.2 || ^6.0",
"wikimedia/at-ease": "^1.2 || ^2.0"
@@ -58,7 +58,7 @@
"extra": {
"autotagger": true,
"branch-alias": {
- "dev-trunk": "3.3.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"mirror-repo": "Automattic/jetpack-changelogger",
"version-constants": {
diff --git a/projects/packages/changelogger/src/Application.php b/projects/packages/changelogger/src/Application.php
index c4f886570c098..6ec4091ea18af 100644
--- a/projects/packages/changelogger/src/Application.php
+++ b/projects/packages/changelogger/src/Application.php
@@ -18,7 +18,7 @@
*/
class Application extends SymfonyApplication {
- const VERSION = '3.3.11';
+ const VERSION = '4.0.0-alpha';
/**
* Constructor.
diff --git a/projects/packages/changelogger/src/CommandLoader.php b/projects/packages/changelogger/src/CommandLoader.php
index a1b634fa04890..a707fd74b3aa8 100644
--- a/projects/packages/changelogger/src/CommandLoader.php
+++ b/projects/packages/changelogger/src/CommandLoader.php
@@ -1,18 +1,98 @@
= 70000 ) {
- class_alias( php7\CommandLoader::class, CommandLoader::class );
-} else {
- class_alias( php5\CommandLoader::class, CommandLoader::class );
+use Symfony\Component\Console\Command\Command;
+use Symfony\Component\Console\CommandLoader\CommandLoaderInterface;
+use Symfony\Component\Console\Exception\CommandNotFoundException;
+
+/**
+ * Command loader for the changelogger tool CLI.
+ */
+class CommandLoader implements CommandLoaderInterface {
+ /**
+ * Get the class name for a command.
+ *
+ * @param string $name Command name.
+ * @return string Class name.
+ */
+ private function get_class_name( $name ) {
+ return __NAMESPACE__ . '\\' . ucfirst( $name ) . 'Command';
+ }
+
+ /**
+ * Checks if a command exists.
+ *
+ * @param string $name Command name.
+ * @return bool
+ */
+ protected function doHas( $name ) {
+ return class_exists( $this->get_class_name( $name ) );
+ }
+
+ /**
+ * Loads a command.
+ *
+ * @param string $name Command name.
+ * @return Command
+ * @throws CommandNotFoundException If the command is not found.
+ */
+ protected function doGet( $name ) {
+ $class = $this->get_class_name( $name );
+ if ( ! class_exists( $class ) ) {
+ throw new CommandNotFoundException( "Command \"$name\" does not exist." );
+ }
+ return new $class();
+ }
+
+ /**
+ * Return all command names.
+ *
+ * @return string[] All registered command names
+ */
+ protected function doGetNames() {
+ $names = array();
+ foreach ( new \DirectoryIterator( __DIR__ ) as $file ) {
+ if ( substr( $file->getBasename(), -11 ) === 'Command.php' ) {
+ $names[] = lcfirst( substr( $file->getBasename(), 0, -11 ) );
+ }
+ }
+ sort( $names );
+ return $names;
+ }
+
+ /**
+ * Checks if a command exists.
+ *
+ * @param string $name Command name.
+ * @return bool
+ */
+ public function has( $name ): bool {
+ return $this->doHas( $name );
+ }
+
+ /**
+ * Loads a command.
+ *
+ * @param string $name Command name.
+ * @return Command
+ * @throws CommandNotFoundException If the command is not found.
+ */
+ public function get( $name ): Command {
+ return $this->doGet( $name );
+ }
+
+ /**
+ * Return all command names.
+ *
+ * @return string[] All registered command names
+ */
+ public function getNames(): array {
+ return $this->doGetNames();
+ }
}
diff --git a/projects/packages/changelogger/src/CommandLoaderBase.php b/projects/packages/changelogger/src/CommandLoaderBase.php
deleted file mode 100644
index afb7ad15af065..0000000000000
--- a/projects/packages/changelogger/src/CommandLoaderBase.php
+++ /dev/null
@@ -1,70 +0,0 @@
-get_class_name( $name ) );
- }
-
- /**
- * Loads a command.
- *
- * @param string $name Command name.
- * @return Command
- * @throws CommandNotFoundException If the command is not found.
- */
- protected function doGet( $name ) {
- $class = $this->get_class_name( $name );
- if ( ! class_exists( $class ) ) {
- throw new CommandNotFoundException( "Command \"$name\" does not exist." );
- }
- return new $class();
- }
-
- /**
- * Return all command names.
- *
- * @return string[] All registered command names
- */
- protected function doGetNames() {
- $names = array();
- foreach ( new \DirectoryIterator( __DIR__ ) as $file ) {
- if ( substr( $file->getBasename(), -11 ) === 'Command.php' ) {
- $names[] = lcfirst( substr( $file->getBasename(), 0, -11 ) );
- }
- }
- sort( $names );
- return $names;
- }
-}
diff --git a/projects/packages/changelogger/src/php5/CommandLoader.php b/projects/packages/changelogger/src/php5/CommandLoader.php
deleted file mode 100644
index 9d5857e18cac5..0000000000000
--- a/projects/packages/changelogger/src/php5/CommandLoader.php
+++ /dev/null
@@ -1,47 +0,0 @@
-doHas( $name );
- }
-
- /**
- * Loads a command.
- *
- * @param string $name Command name.
- * @return Command
- * @throws CommandNotFoundException If the command is not found.
- */
- public function get( $name ) {
- return $this->doGet( $name );
- }
-
- /**
- * Return all command names.
- *
- * @return string[] All registered command names
- */
- public function getNames() {
- return $this->doGetNames();
- }
-}
diff --git a/projects/packages/changelogger/src/php7/.phpcs.dir.phpcompatibility.xml b/projects/packages/changelogger/src/php7/.phpcs.dir.phpcompatibility.xml
deleted file mode 100644
index 09591b7d44e92..0000000000000
--- a/projects/packages/changelogger/src/php7/.phpcs.dir.phpcompatibility.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/projects/packages/changelogger/src/php7/.phpcs.dir.xml b/projects/packages/changelogger/src/php7/.phpcs.dir.xml
deleted file mode 100644
index 699de1295ae65..0000000000000
--- a/projects/packages/changelogger/src/php7/.phpcs.dir.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/projects/packages/changelogger/src/php7/CommandLoader.php b/projects/packages/changelogger/src/php7/CommandLoader.php
deleted file mode 100644
index 50f96fec7101b..0000000000000
--- a/projects/packages/changelogger/src/php7/CommandLoader.php
+++ /dev/null
@@ -1,48 +0,0 @@
-doHas( $name );
- }
-
- /**
- * Loads a command.
- *
- * @param string $name Command name.
- * @return Command
- * @throws CommandNotFoundException If the command is not found.
- */
- public function get( $name ): Command {
- return $this->doGet( $name );
- }
-
- /**
- * Return all command names.
- *
- * @return string[] All registered command names
- */
- public function getNames(): array {
- return $this->doGetNames();
- }
-}
diff --git a/projects/packages/codesniffer/Jetpack-Compat-70/ruleset.xml b/projects/packages/codesniffer/Jetpack-Compat-70/ruleset.xml
deleted file mode 100644
index c39cfc5390e3d..0000000000000
--- a/projects/packages/codesniffer/Jetpack-Compat-70/ruleset.xml
+++ /dev/null
@@ -1,150 +0,0 @@
-
-
- Standard to disable PHPCompatibility rules that trigger with 5.6 but not 7.0.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/projects/packages/codesniffer/Jetpack-Compat-71/ruleset.xml b/projects/packages/codesniffer/Jetpack-Compat-71/ruleset.xml
index 47425d0f1ab7f..cc15edfcfede3 100644
--- a/projects/packages/codesniffer/Jetpack-Compat-71/ruleset.xml
+++ b/projects/packages/codesniffer/Jetpack-Compat-71/ruleset.xml
@@ -1,9 +1,9 @@
- Standard to disable PHPCompatibility rules that trigger with 5.6 but not 7.1.
+ Standard to disable PHPCompatibility rules that trigger with 7.0 but not 7.1.
-
+
diff --git a/projects/packages/codesniffer/Jetpack-Compat-72/ruleset.xml b/projects/packages/codesniffer/Jetpack-Compat-72/ruleset.xml
index 29d4bf84d9512..90cddfb05c681 100644
--- a/projects/packages/codesniffer/Jetpack-Compat-72/ruleset.xml
+++ b/projects/packages/codesniffer/Jetpack-Compat-72/ruleset.xml
@@ -1,6 +1,6 @@
- Standard to disable PHPCompatibility rules that trigger with 5.6 but not 7.2.
+ Standard to disable PHPCompatibility rules that trigger with 7.0 but not 7.2.
diff --git a/projects/packages/codesniffer/Jetpack-Compat-73/ruleset.xml b/projects/packages/codesniffer/Jetpack-Compat-73/ruleset.xml
index f9864e8239a07..852632df01036 100644
--- a/projects/packages/codesniffer/Jetpack-Compat-73/ruleset.xml
+++ b/projects/packages/codesniffer/Jetpack-Compat-73/ruleset.xml
@@ -1,6 +1,6 @@
- Standard to disable PHPCompatibility rules that trigger with 5.6 but not 7.3.
+ Standard to disable PHPCompatibility rules that trigger with 7.0 but not 7.3.
diff --git a/projects/packages/codesniffer/Jetpack-Compat-74/ruleset.xml b/projects/packages/codesniffer/Jetpack-Compat-74/ruleset.xml
index 9bdef23458a07..21d6e1cc7999e 100644
--- a/projects/packages/codesniffer/Jetpack-Compat-74/ruleset.xml
+++ b/projects/packages/codesniffer/Jetpack-Compat-74/ruleset.xml
@@ -1,6 +1,6 @@
- Standard to disable PHPCompatibility rules that trigger with 5.6 but not 7.4.
+ Standard to disable PHPCompatibility rules that trigger with 7.0 but not 7.4.
diff --git a/projects/packages/codesniffer/Jetpack-Compat-80/ruleset.xml b/projects/packages/codesniffer/Jetpack-Compat-80/ruleset.xml
index 26fa0e85cf2bb..e9e495f31666b 100644
--- a/projects/packages/codesniffer/Jetpack-Compat-80/ruleset.xml
+++ b/projects/packages/codesniffer/Jetpack-Compat-80/ruleset.xml
@@ -1,6 +1,6 @@
- Standard to disable PHPCompatibility rules that trigger with 5.6 but not 8.0.
+ Standard to disable PHPCompatibility rules that trigger with 7.0 but not 8.0.
diff --git a/projects/packages/codesniffer/Jetpack-Compat-81/ruleset.xml b/projects/packages/codesniffer/Jetpack-Compat-81/ruleset.xml
index 456c5c3f337e3..71849ceb1b709 100644
--- a/projects/packages/codesniffer/Jetpack-Compat-81/ruleset.xml
+++ b/projects/packages/codesniffer/Jetpack-Compat-81/ruleset.xml
@@ -1,6 +1,6 @@
- Standard to disable PHPCompatibility rules that trigger with 5.6 but not 8.1.
+ Standard to disable PHPCompatibility rules that trigger with 7.0 but not 8.1.
diff --git a/projects/packages/codesniffer/Jetpack-Compat-82/ruleset.xml b/projects/packages/codesniffer/Jetpack-Compat-82/ruleset.xml
index f8c04b7279710..2488fa58bf48d 100644
--- a/projects/packages/codesniffer/Jetpack-Compat-82/ruleset.xml
+++ b/projects/packages/codesniffer/Jetpack-Compat-82/ruleset.xml
@@ -1,6 +1,6 @@
- Standard to disable PHPCompatibility rules that trigger with 5.6 but not 8.2.
+ Standard to disable PHPCompatibility rules that trigger with 7.0 but not 8.2.
diff --git a/projects/packages/codesniffer/Jetpack-Compat-NoWP/ruleset.xml b/projects/packages/codesniffer/Jetpack-Compat-NoWP/ruleset.xml
index ca06e0e2cde25..d7f39c71191b1 100644
--- a/projects/packages/codesniffer/Jetpack-Compat-NoWP/ruleset.xml
+++ b/projects/packages/codesniffer/Jetpack-Compat-NoWP/ruleset.xml
@@ -3,11 +3,8 @@
Standard to re-enable PHPCompatibility rules disabled by PHPCompatibilityWP.
-
-
-
@@ -96,8 +93,6 @@
-
-
diff --git a/projects/packages/codesniffer/Jetpack/ruleset.xml b/projects/packages/codesniffer/Jetpack/ruleset.xml
index 67342cd72a92c..bcd23f8e8d90e 100644
--- a/projects/packages/codesniffer/Jetpack/ruleset.xml
+++ b/projects/packages/codesniffer/Jetpack/ruleset.xml
@@ -111,7 +111,7 @@
-
+
diff --git a/projects/packages/codesniffer/README.md b/projects/packages/codesniffer/README.md
index 9396f4c7c7fda..8953962f1c6b2 100644
--- a/projects/packages/codesniffer/README.md
+++ b/projects/packages/codesniffer/README.md
@@ -27,8 +27,8 @@ You should then include the Jetpack rules in your `.phpcs.xml.dist`, like
```
You will also likely want to set some configuration for other included rulesets:
```xml
-
-
+
+
```
Included Standards
@@ -44,13 +44,12 @@ The Jetpack standard includes the following other standards:
Per-dir Compatibility
---------------------
-This ruleset is intended to be used with PHPCompatibiity's `testVersion` set to `5.6-`.
+This ruleset is intended to be used with PHPCompatibiity's `testVersion` set to `7.0-`.
If used with [automattic/jetpack-phpcs-filter](https://github.com/Automattic/jetpack/blob/trunk/projects/packages/phpcs-filter/)'s per-directory configuration,
you may run into a situation where a subdir wants to be compatible down to a later version, but as PHPCompatibiity uses `` for `testVersion` the setting cannot be directly altered per directory.
To assist with this case, we provide additional rulesets that disable PHPCompatibility rules detecting issues that only apply to older versions:
-* `` will disable rules detecting issues that only apply to PHP < 7.0.
* `` will disable rules detecting issues that only apply to PHP < 7.1.
* `` will disable rules detecting issues that only apply to PHP < 7.2.
* `` will disable rules detecting issues that only apply to PHP < 7.3.
@@ -59,7 +58,7 @@ To assist with this case, we provide additional rulesets that disable PHPCompati
* `` will disable rules detecting issues that only apply to PHP < 8.1.
* `` will disable rules detecting issues that only apply to PHP < 8.2.
-Note this isn't a perfect replacement for raising `testVersion`, as it cannot _add_ PHPCompatibility rules that do not trigger when `testVersion` indicates support for PHP 5.6.
+Note this isn't a perfect replacement for raising `testVersion`, as it cannot _add_ PHPCompatibility rules that do not trigger when `testVersion` indicates support for PHP 7.0.
For example, `Jetpack-Compat-74` disables the `PHPCompatibility.Classes.NewTypedProperties.Found` rule ("Typed properties are not supported in PHP 7.3 or earlier") but cannot enable more specific rules like `PHPCompatibility.Classes.NewTypedProperties.UnionTypeFound` ("Union types are not present in PHP version 7.4 or earlier") that would be triggered if `testVersion` were set to `7.4-`.
You may also run into cases where certain subdirectories contain code that is not intended to run under WordPress. We provide additional rulesets to help with this situation as well:
diff --git a/projects/packages/codesniffer/build-compat-rulesets.sh b/projects/packages/codesniffer/build-compat-rulesets.sh
index cf1f725e50b1d..613d80ee4b7ce 100755
--- a/projects/packages/codesniffer/build-compat-rulesets.sh
+++ b/projects/packages/codesniffer/build-compat-rulesets.sh
@@ -9,7 +9,7 @@ DIR="$(mktemp -d "${TMPDIR%/}/codesniffer-build-compat-rulesets.XXXXXXXX")"
trap 'rm -rf "$DIR"' EXIT
cd "$DIR"
-PHP_VERSIONS=( 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 )
+PHP_VERSIONS=( 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 )
function info {
printf '\n\e[1m%s\e[0m\n' "$*"
@@ -93,7 +93,7 @@ for V in "${PHP_VERSIONS[@]:1}"; do
cat > "Jetpack-Compat-$VV/ruleset.xml" <
- Standard to disable PHPCompatibility rules that trigger with 5.6 but not $V.
+ Standard to disable PHPCompatibility rules that trigger with $V0 but not $V.
$P
diff --git a/projects/packages/codesniffer/changelog/update-php-requirements b/projects/packages/codesniffer/changelog/update-php-requirements
new file mode 100644
index 0000000000000..d66d943d68da7
--- /dev/null
+++ b/projects/packages/codesniffer/changelog/update-php-requirements
@@ -0,0 +1,4 @@
+Significance: major
+Type: changed
+
+BREAKING: Drop support for PHP 5.6. `testVersion` should be set to `7.0-`.
diff --git a/projects/packages/codesniffer/tests/php/tests/files/default.xml b/projects/packages/codesniffer/tests/php/tests/files/default.xml
index 3f59e2c9ac772..ec31198705779 100644
--- a/projects/packages/codesniffer/tests/php/tests/files/default.xml
+++ b/projects/packages/codesniffer/tests/php/tests/files/default.xml
@@ -1,8 +1,8 @@
-
-
+
+
diff --git a/projects/packages/codesniffer/tests/php/tests/files/i18n-text_domain-default.php.ruleset.xml b/projects/packages/codesniffer/tests/php/tests/files/i18n-text_domain-default.php.ruleset.xml
index 539dd4e030682..d73f7c4cb178c 100644
--- a/projects/packages/codesniffer/tests/php/tests/files/i18n-text_domain-default.php.ruleset.xml
+++ b/projects/packages/codesniffer/tests/php/tests/files/i18n-text_domain-default.php.ruleset.xml
@@ -1,8 +1,8 @@
-
-
+
+
diff --git a/projects/packages/codesniffer/tests/php/tests/files/i18n-text_domain-not-set.php.ruleset.xml b/projects/packages/codesniffer/tests/php/tests/files/i18n-text_domain-not-set.php.ruleset.xml
index e102ef2263f80..82e4149fdbafa 100644
--- a/projects/packages/codesniffer/tests/php/tests/files/i18n-text_domain-not-set.php.ruleset.xml
+++ b/projects/packages/codesniffer/tests/php/tests/files/i18n-text_domain-not-set.php.ruleset.xml
@@ -1,8 +1,8 @@
-
-
+
+
diff --git a/projects/packages/codesniffer/tests/php/tests/files/i18n.php.report b/projects/packages/codesniffer/tests/php/tests/files/i18n.php.report
index 14fb9851c5c33..db390251a1fa5 100644
--- a/projects/packages/codesniffer/tests/php/tests/files/i18n.php.report
+++ b/projects/packages/codesniffer/tests/php/tests/files/i18n.php.report
@@ -1,13 +1,13 @@
- 14 | ERROR | [ ] Unicode codepoint escape sequences are not supported in PHP 5.6 or earlier. Found: \u{0061}
- | | (PHPCompatibility.TextStrings.NewUnicodeEscapeSequence.Found)
17 | ERROR | [x] Mismatched text domain. Expected 'domain' but got 'wrongdomain'. (Jetpack.Functions.I18n.TextDomainMismatch)
18 | ERROR | [x] Mismatched text domain. Expected 'domain' but got 'wrongdomain'. (Jetpack.Functions.I18n.TextDomainMismatch)
21 | ERROR | [x] Missing domain arg. (Jetpack.Functions.I18n.MissingDomain)
22 | ERROR | [x] Missing domain arg. (Jetpack.Functions.I18n.MissingDomain)
25 | ERROR | [ ] Missing domain arg. (Jetpack.Functions.I18n.MissingDomain)
26 | ERROR | [ ] Domain is not a string literal. (Jetpack.Functions.I18n.DomainNotLiteral)
- 29 | ERROR | [ ] The domain must not contain interpolated variables. Found $domain. (Jetpack.Functions.I18n.InterpolatedVariable)
- 30 | ERROR | [ ] The domain must not contain interpolated variables. Found $domain. (Jetpack.Functions.I18n.InterpolatedVariable)
+ 29 | ERROR | [ ] The domain must not contain interpolated variables. Found $domain.
+ | | (Jetpack.Functions.I18n.InterpolatedVariable)
+ 30 | ERROR | [ ] The domain must not contain interpolated variables. Found $domain.
+ | | (Jetpack.Functions.I18n.InterpolatedVariable)
33 | ERROR | [x] Mismatched text domain. Expected 'domain' but got 'a $domain'. (Jetpack.Functions.I18n.TextDomainMismatch)
44 | ERROR | [x] Short array syntax is not allowed (Universal.Arrays.DisallowShortArraySyntax.Found)
45 | ERROR | [x] Short array syntax is not allowed (Universal.Arrays.DisallowShortArraySyntax.Found)
@@ -22,4 +22,5 @@
64 | ERROR | [x] Mismatched text domain. Expected 'domain' but got 'wrongdomain'. (Jetpack.Functions.I18n.TextDomainMismatch)
65 | ERROR | [x] Mismatched text domain. Expected 'domain' but got 'wrongdomain'. (Jetpack.Functions.I18n.TextDomainMismatch)
72 | ERROR | [x] Mismatched text domain. Expected 'domain' but got 'wrongdomain'. (Jetpack.Functions.I18n.TextDomainMismatch)
- 77 | ERROR | [ ] The domain must not contain interpolated variables. Found $domain. (Jetpack.Functions.I18n.InterpolatedVariable)
+ 77 | ERROR | [ ] The domain must not contain interpolated variables. Found $domain.
+ | | (Jetpack.Functions.I18n.InterpolatedVariable)
diff --git a/projects/packages/codesniffer/tests/php/tests/test-jetpack-compat.php b/projects/packages/codesniffer/tests/php/tests/test-jetpack-compat.php
index ee10b734e901f..d5f459e565b0e 100644
--- a/projects/packages/codesniffer/tests/php/tests/test-jetpack-compat.php
+++ b/projects/packages/codesniffer/tests/php/tests/test-jetpack-compat.php
@@ -21,7 +21,6 @@ class JetpackCompatTest extends TestCase {
const SRC1 = <<<'EOF'
markTestSkipped( 'avoid bug in PHP 5.6 that throws strict mode warnings for abstract static methods.' );
- }
-
$this->install_mock_plugins();
wp_cache_delete( 'plugins', 'plugins' );
diff --git a/projects/packages/my-jetpack/tests/php/test-hybrid-product.php b/projects/packages/my-jetpack/tests/php/test-hybrid-product.php
index 4a7217eea7dde..733ee1bb24079 100644
--- a/projects/packages/my-jetpack/tests/php/test-hybrid-product.php
+++ b/projects/packages/my-jetpack/tests/php/test-hybrid-product.php
@@ -30,11 +30,6 @@ class Test_Hybrid_Product extends TestCase {
* @before
*/
public function set_up() {
- // See https://stackoverflow.com/a/41611876.
- if ( version_compare( phpversion(), '5.7', '<=' ) ) {
- $this->markTestSkipped( 'avoid bug in PHP 5.6 that throws strict mode warnings for abstract static methods.' );
- }
-
$this->install_mock_plugins();
wp_cache_delete( 'plugins', 'plugins' );
diff --git a/projects/packages/my-jetpack/tests/php/test-module-product.php b/projects/packages/my-jetpack/tests/php/test-module-product.php
index 7454c9c98d3b5..85046a2b32d72 100644
--- a/projects/packages/my-jetpack/tests/php/test-module-product.php
+++ b/projects/packages/my-jetpack/tests/php/test-module-product.php
@@ -38,12 +38,6 @@ class Test_Module_Product extends TestCase {
* @before
*/
public function set_up() {
-
- // See https://stackoverflow.com/a/41611876.
- if ( version_compare( phpversion(), '5.7', '<=' ) ) {
- $this->markTestSkipped( 'avoid bug in PHP 5.6 that throws strict mode warnings for abstract static methods.' );
- }
-
$this->install_mock_plugins();
wp_cache_delete( 'plugins', 'plugins' );
diff --git a/projects/packages/my-jetpack/tests/php/test-product-multiple-filenames.php b/projects/packages/my-jetpack/tests/php/test-product-multiple-filenames.php
index 32ffdd753963f..26d7db8092d3d 100644
--- a/projects/packages/my-jetpack/tests/php/test-product-multiple-filenames.php
+++ b/projects/packages/my-jetpack/tests/php/test-product-multiple-filenames.php
@@ -45,12 +45,6 @@ class Test_Product_Multiple_Filenames extends TestCase {
* @before
*/
public function set_up() {
-
- // See https://stackoverflow.com/a/41611876.
- if ( version_compare( phpversion(), '5.7', '<=' ) ) {
- $this->markTestSkipped( 'avoid bug in PHP 5.6 that throws strict mode warnings for abstract static methods.' );
- }
-
if ( file_exists( WP_PLUGIN_DIR . '/jetpack/jetpack.php' ) ) {
unlink( WP_PLUGIN_DIR . '/jetpack/jetpack.php' );
rmdir( WP_PLUGIN_DIR . '/jetpack' );
diff --git a/projects/packages/my-jetpack/tests/php/test-products-rest.php b/projects/packages/my-jetpack/tests/php/test-products-rest.php
index 3c811e1ab9ad4..4d76df7854b64 100644
--- a/projects/packages/my-jetpack/tests/php/test-products-rest.php
+++ b/projects/packages/my-jetpack/tests/php/test-products-rest.php
@@ -59,12 +59,6 @@ class Test_Products_Rest extends TestCase {
* @before
*/
public function set_up() {
-
- // See https://stackoverflow.com/a/41611876.
- if ( version_compare( phpversion(), '5.7', '<=' ) ) {
- $this->markTestSkipped( 'avoid bug in PHP 5.6 that throws strict mode warnings for abstract static methods.' );
- }
-
$this->install_mock_plugin();
wp_cache_delete( 'plugins', 'plugins' );
diff --git a/projects/packages/my-jetpack/tests/php/test-products.php b/projects/packages/my-jetpack/tests/php/test-products.php
index 37ed0346deaa0..0626b00ae99da 100644
--- a/projects/packages/my-jetpack/tests/php/test-products.php
+++ b/projects/packages/my-jetpack/tests/php/test-products.php
@@ -13,20 +13,6 @@
* @see \Automattic\Jetpack\My_Jetpack\Rest_Products
*/
class Test_Products extends TestCase {
-
- /**
- * Setting up the test.
- *
- * @before
- */
- public function set_up() {
-
- // See https://stackoverflow.com/a/41611876.
- if ( version_compare( phpversion(), '5.7', '<=' ) ) {
- $this->markTestSkipped( 'avoid bug in PHP 5.6 that throws strict mode warnings for abstract static methods.' );
- }
- }
-
/**
* Cleaning up after the test.
*
diff --git a/projects/packages/my-jetpack/tests/php/test-search-product.php b/projects/packages/my-jetpack/tests/php/test-search-product.php
index d6c53c54e6a38..5485015cf344e 100644
--- a/projects/packages/my-jetpack/tests/php/test-search-product.php
+++ b/projects/packages/my-jetpack/tests/php/test-search-product.php
@@ -30,12 +30,6 @@ class Test_Search_Product extends TestCase {
* @before
*/
public function set_up() {
-
- // See https://stackoverflow.com/a/41611876.
- if ( version_compare( phpversion(), '5.7', '<=' ) ) {
- $this->markTestSkipped( 'avoid bug in PHP 5.6 that throws strict mode warnings for abstract static methods.' );
- }
-
$this->install_mock_plugins();
wp_cache_delete( 'plugins', 'plugins' );
diff --git a/projects/packages/my-jetpack/tests/php/test-social-product.php b/projects/packages/my-jetpack/tests/php/test-social-product.php
index deb2504349c53..f0e8188521ed7 100644
--- a/projects/packages/my-jetpack/tests/php/test-social-product.php
+++ b/projects/packages/my-jetpack/tests/php/test-social-product.php
@@ -30,12 +30,6 @@ class Test_Social_Product extends TestCase {
* @before
*/
public function set_up() {
-
- // See https://stackoverflow.com/a/41611876.
- if ( version_compare( phpversion(), '5.7', '<=' ) ) {
- $this->markTestSkipped( 'avoid bug in PHP 5.6 that throws strict mode warnings for abstract static methods.' );
- }
-
$this->install_mock_plugins();
wp_cache_delete( 'plugins', 'plugins' );
diff --git a/projects/packages/my-jetpack/tests/php/test-videopress-product.php b/projects/packages/my-jetpack/tests/php/test-videopress-product.php
index 3fe64996c4441..4fc554dd8b6bb 100644
--- a/projects/packages/my-jetpack/tests/php/test-videopress-product.php
+++ b/projects/packages/my-jetpack/tests/php/test-videopress-product.php
@@ -30,12 +30,6 @@ class Test_Videopress_Product extends TestCase {
* @before
*/
public function set_up() {
-
- // See https://stackoverflow.com/a/41611876.
- if ( version_compare( phpversion(), '5.7', '<=' ) ) {
- $this->markTestSkipped( 'avoid bug in PHP 5.6 that throws strict mode warnings for abstract static methods.' );
- }
-
$this->install_mock_plugins();
wp_cache_delete( 'plugins', 'plugins' );
diff --git a/projects/packages/my-jetpack/tests/php/test-wpcom-products.php b/projects/packages/my-jetpack/tests/php/test-wpcom-products.php
index 4fba525b40f8f..307bc9c6da166 100644
--- a/projects/packages/my-jetpack/tests/php/test-wpcom-products.php
+++ b/projects/packages/my-jetpack/tests/php/test-wpcom-products.php
@@ -30,12 +30,6 @@ class Test_Wpcom_Products extends TestCase {
* @before
*/
public function set_up() {
-
- // See https://stackoverflow.com/a/41611876.
- if ( version_compare( phpversion(), '5.7', '<=' ) ) {
- $this->markTestSkipped( 'avoid bug in PHP 5.6 that throws strict mode warnings for abstract static methods.' );
- }
-
// Mock site connection.
( new Tokens() )->update_blog_token( 'test.test' );
Jetpack_Options::update_option( 'id', 123 );
diff --git a/projects/plugins/backup/changelog/update-php-requirements b/projects/plugins/backup/changelog/update-php-requirements
new file mode 100644
index 0000000000000..e91743c9e6518
--- /dev/null
+++ b/projects/plugins/backup/changelog/update-php-requirements
@@ -0,0 +1,4 @@
+Significance: major
+Type: changed
+
+General: updated PHP requirement to PHP 7.0+
diff --git a/projects/plugins/backup/changelog/update-php-requirements#2 b/projects/plugins/backup/changelog/update-php-requirements#2
new file mode 100644
index 0000000000000..9aa70e3ec1f75
--- /dev/null
+++ b/projects/plugins/backup/changelog/update-php-requirements#2
@@ -0,0 +1,5 @@
+Significance: patch
+Type: changed
+Comment: Updated composer.lock.
+
+
diff --git a/projects/plugins/backup/composer.lock b/projects/plugins/backup/composer.lock
index fa7c9958f2ace..d810b2d7cdca6 100644
--- a/projects/plugins/backup/composer.lock
+++ b/projects/plugins/backup/composer.lock
@@ -898,7 +898,7 @@
"dist": {
"type": "path",
"url": "../../packages/my-jetpack",
- "reference": "3eb2f21243cf091284e6a9f9819be6a62230057a"
+ "reference": "c04832a49208b4be80843624afb3ac41ed5c269f"
},
"require": {
"automattic/jetpack-admin-ui": "@dev",
@@ -929,7 +929,7 @@
"link-template": "https://github.com/Automattic/jetpack-my-jetpack/compare/${old}...${new}"
},
"branch-alias": {
- "dev-trunk": "3.13.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"version-constants": {
"::PACKAGE_VERSION": "src/class-initializer.php"
@@ -1376,10 +1376,10 @@
"dist": {
"type": "path",
"url": "../../packages/changelogger",
- "reference": "7e70d6d91c99ca7224e3fe409f998b039ddc91f1"
+ "reference": "56a217920dd8542c690d4d6aa9a9dda9c7acf40f"
},
"require": {
- "php": ">=5.6",
+ "php": ">=7.0",
"symfony/console": "^3.4 || ^5.2 || ^6.0",
"symfony/process": "^3.4 || ^5.2 || ^6.0",
"wikimedia/at-ease": "^1.2 || ^2.0"
@@ -1395,7 +1395,7 @@
"extra": {
"autotagger": true,
"branch-alias": {
- "dev-trunk": "3.3.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"mirror-repo": "Automattic/jetpack-changelogger",
"version-constants": {
diff --git a/projects/plugins/backup/readme.txt b/projects/plugins/backup/readme.txt
index 3f75015d3c0f5..5fa3272872b98 100644
--- a/projects/plugins/backup/readme.txt
+++ b/projects/plugins/backup/readme.txt
@@ -2,7 +2,7 @@
Contributors: automattic, bjorsch, fgiannar, initsogar, jeherve, jwebbdev, kraftbj, macbre, samiff, sermitr, williamvianas
Tags: jetpack, backup, restore
Requires at least: 6.3
-Requires PHP: 5.6
+Requires PHP: 7.0
Tested up to: 6.4
Stable tag: 2.2
License: GPLv2 or later
diff --git a/projects/plugins/beta/changelog/update-php-requirements b/projects/plugins/beta/changelog/update-php-requirements
new file mode 100644
index 0000000000000..e91743c9e6518
--- /dev/null
+++ b/projects/plugins/beta/changelog/update-php-requirements
@@ -0,0 +1,4 @@
+Significance: major
+Type: changed
+
+General: updated PHP requirement to PHP 7.0+
diff --git a/projects/plugins/beta/composer.json b/projects/plugins/beta/composer.json
index 0d6a9fdd119d0..fe09e9eb3fa74 100644
--- a/projects/plugins/beta/composer.json
+++ b/projects/plugins/beta/composer.json
@@ -35,7 +35,7 @@
"prefer-stable": true,
"config": {
"sort-packages": true,
- "autoloader-suffix": "567fa3f555de8fd218dfdc1688bb97b5_betaⓥ3_1_7_alpha",
+ "autoloader-suffix": "567fa3f555de8fd218dfdc1688bb97b5_betaⓥ4_0_0_alpha",
"allow-plugins": {
"automattic/jetpack-autoloader": true
}
diff --git a/projects/plugins/beta/composer.lock b/projects/plugins/beta/composer.lock
index cfddaddb1fbb9..c622b996fa54c 100644
--- a/projects/plugins/beta/composer.lock
+++ b/projects/plugins/beta/composer.lock
@@ -266,10 +266,10 @@
"dist": {
"type": "path",
"url": "../../packages/changelogger",
- "reference": "7e70d6d91c99ca7224e3fe409f998b039ddc91f1"
+ "reference": "56a217920dd8542c690d4d6aa9a9dda9c7acf40f"
},
"require": {
- "php": ">=5.6",
+ "php": ">=7.0",
"symfony/console": "^3.4 || ^5.2 || ^6.0",
"symfony/process": "^3.4 || ^5.2 || ^6.0",
"wikimedia/at-ease": "^1.2 || ^2.0"
@@ -285,7 +285,7 @@
"extra": {
"autotagger": true,
"branch-alias": {
- "dev-trunk": "3.3.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"mirror-repo": "Automattic/jetpack-changelogger",
"version-constants": {
diff --git a/projects/plugins/beta/jetpack-beta.php b/projects/plugins/beta/jetpack-beta.php
index d4ab242e7e835..af56e1578d3f6 100644
--- a/projects/plugins/beta/jetpack-beta.php
+++ b/projects/plugins/beta/jetpack-beta.php
@@ -3,7 +3,7 @@
* Plugin Name: Jetpack Beta Tester
* Plugin URI: https://jetpack.com/beta/
* Description: Use the Beta plugin to get a sneak peek at new features and test them on your site.
- * Version: 3.1.7-alpha
+ * Version: 4.0.0-alpha
* Author: Automattic
* Author URI: https://jetpack.com/
* Update URI: https://jetpack.com/download-jetpack-beta/
@@ -35,7 +35,7 @@
}
define( 'JPBETA__PLUGIN_FOLDER', dirname( plugin_basename( __FILE__ ) ) );
-define( 'JPBETA_VERSION', '3.1.7-alpha' );
+define( 'JPBETA_VERSION', '4.0.0-alpha' );
define( 'JETPACK_BETA_PLUGINS_URL', 'https://betadownload.jetpack.me/plugins.json' );
diff --git a/projects/plugins/boost/changelog/update-php-requirements b/projects/plugins/boost/changelog/update-php-requirements
new file mode 100644
index 0000000000000..e91743c9e6518
--- /dev/null
+++ b/projects/plugins/boost/changelog/update-php-requirements
@@ -0,0 +1,4 @@
+Significance: major
+Type: changed
+
+General: updated PHP requirement to PHP 7.0+
diff --git a/projects/plugins/boost/changelog/update-php-requirements#2 b/projects/plugins/boost/changelog/update-php-requirements#2
new file mode 100644
index 0000000000000..9aa70e3ec1f75
--- /dev/null
+++ b/projects/plugins/boost/changelog/update-php-requirements#2
@@ -0,0 +1,5 @@
+Significance: patch
+Type: changed
+Comment: Updated composer.lock.
+
+
diff --git a/projects/plugins/boost/composer.json b/projects/plugins/boost/composer.json
index 066ff056c478c..f360faffc24eb 100644
--- a/projects/plugins/boost/composer.json
+++ b/projects/plugins/boost/composer.json
@@ -3,7 +3,7 @@
"description": "Boost your WordPress site's performance, from the creators of Jetpack",
"type": "library",
"license": "GPL-2.0-or-later",
- "version": "2.3.0-alpha",
+ "version": "3.0.0-alpha",
"authors": [
{
"name": "Automattic, Inc.",
@@ -73,7 +73,7 @@
"platform": {
"ext-intl": "0.0.0"
},
- "autoloader-suffix": "b1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ2_3_0_alpha",
+ "autoloader-suffix": "b1e77e6231d50e7663f84529b6a3dfda_jetpack_boostⓥ3_0_0_alpha",
"allow-plugins": {
"roots/wordpress-core-installer": true,
"automattic/jetpack-autoloader": true,
diff --git a/projects/plugins/boost/composer.lock b/projects/plugins/boost/composer.lock
index 0999a1e44d8c6..550cd630a6c7a 100644
--- a/projects/plugins/boost/composer.lock
+++ b/projects/plugins/boost/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "9c78e3c648ff9c7884020bd259797002",
+ "content-hash": "8ca7ad762e54f05b32b4726f018572c2",
"packages": [
{
"name": "automattic/jetpack-a8c-mc-stats",
@@ -953,7 +953,7 @@
"dist": {
"type": "path",
"url": "../../packages/my-jetpack",
- "reference": "3eb2f21243cf091284e6a9f9819be6a62230057a"
+ "reference": "c04832a49208b4be80843624afb3ac41ed5c269f"
},
"require": {
"automattic/jetpack-admin-ui": "@dev",
@@ -984,7 +984,7 @@
"link-template": "https://github.com/Automattic/jetpack-my-jetpack/compare/${old}...${new}"
},
"branch-alias": {
- "dev-trunk": "3.13.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"version-constants": {
"::PACKAGE_VERSION": "src/class-initializer.php"
@@ -1598,10 +1598,10 @@
"dist": {
"type": "path",
"url": "../../packages/changelogger",
- "reference": "7e70d6d91c99ca7224e3fe409f998b039ddc91f1"
+ "reference": "56a217920dd8542c690d4d6aa9a9dda9c7acf40f"
},
"require": {
- "php": ">=5.6",
+ "php": ">=7.0",
"symfony/console": "^3.4 || ^5.2 || ^6.0",
"symfony/process": "^3.4 || ^5.2 || ^6.0",
"wikimedia/at-ease": "^1.2 || ^2.0"
@@ -1617,7 +1617,7 @@
"extra": {
"autotagger": true,
"branch-alias": {
- "dev-trunk": "3.3.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"mirror-repo": "Automattic/jetpack-changelogger",
"version-constants": {
diff --git a/projects/plugins/boost/docs/DEVELOPEMENT_GUIDE.md b/projects/plugins/boost/docs/DEVELOPEMENT_GUIDE.md
index 25214505679b3..2e3e23e175062 100644
--- a/projects/plugins/boost/docs/DEVELOPEMENT_GUIDE.md
+++ b/projects/plugins/boost/docs/DEVELOPEMENT_GUIDE.md
@@ -78,7 +78,7 @@ To automatically fix some coding standards issues on the Jetpack Boost PHP code
composer phpcs:fix ./projects/plugins/boost
```
-To check for PHP 5.6 code compatibility run:
+To check for PHP code compatibility run:
```sh
composer phpcs:compatibility ./projects/plugins/boost
diff --git a/projects/plugins/boost/jetpack-boost.php b/projects/plugins/boost/jetpack-boost.php
index 90159e8196578..c9f0a3253abf4 100644
--- a/projects/plugins/boost/jetpack-boost.php
+++ b/projects/plugins/boost/jetpack-boost.php
@@ -9,7 +9,7 @@
* Plugin Name: Jetpack Boost
* Plugin URI: https://jetpack.com/boost
* Description: Boost your WordPress site's performance, from the creators of Jetpack
- * Version: 2.3.0-alpha
+ * Version: 3.0.0-alpha
* Author: Automattic - Jetpack Site Speed team
* Author URI: https://jetpack.com/boost/
* License: GPL-2.0+
@@ -29,7 +29,7 @@
die;
}
-define( 'JETPACK_BOOST_VERSION', '2.3.0-alpha' );
+define( 'JETPACK_BOOST_VERSION', '3.0.0-alpha' );
define( 'JETPACK_BOOST_SLUG', 'jetpack-boost' );
if ( ! defined( 'JETPACK_BOOST_CLIENT_NAME' ) ) {
diff --git a/projects/plugins/boost/package.json b/projects/plugins/boost/package.json
index ff14764937704..b19c88c2661eb 100644
--- a/projects/plugins/boost/package.json
+++ b/projects/plugins/boost/package.json
@@ -1,6 +1,6 @@
{
"name": "jetpack-boost",
- "version": "2.3.0-alpha",
+ "version": "3.0.0-alpha",
"description": "Boost your WordPress site's performance, from the creators of Jetpack",
"directories": {
"test": "tests"
diff --git a/projects/plugins/crm/ZeroBSCRM.php b/projects/plugins/crm/ZeroBSCRM.php
index 90e4f9bbe1604..3673a70620a70 100644
--- a/projects/plugins/crm/ZeroBSCRM.php
+++ b/projects/plugins/crm/ZeroBSCRM.php
@@ -3,7 +3,7 @@
* Plugin Name: Jetpack CRM
* Plugin URI: https://jetpackcrm.com
* Description: Jetpack CRM is the simplest CRM for WordPress. Self host your own Customer Relationship Manager using WP.
- * Version: 6.3.1-alpha
+ * Version: 7.0.0-alpha
* Author: Automattic - Jetpack CRM team
* Author URI: https://jetpackcrm.com
* Text Domain: zero-bs-crm
diff --git a/projects/plugins/crm/changelog/update-php-requirements b/projects/plugins/crm/changelog/update-php-requirements
new file mode 100644
index 0000000000000..e91743c9e6518
--- /dev/null
+++ b/projects/plugins/crm/changelog/update-php-requirements
@@ -0,0 +1,4 @@
+Significance: major
+Type: changed
+
+General: updated PHP requirement to PHP 7.0+
diff --git a/projects/plugins/crm/composer.json b/projects/plugins/crm/composer.json
index 5c740f7c9e14d..ff9abb26e7605 100644
--- a/projects/plugins/crm/composer.json
+++ b/projects/plugins/crm/composer.json
@@ -42,7 +42,7 @@
]
},
"config": {
- "autoloader-suffix": "06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_3_1_alpha",
+ "autoloader-suffix": "06c775433a83ed276f0a1d8ac25f93ba_crmⓥ7_0_0_alpha",
"allow-plugins": {
"automattic/jetpack-autoloader": true,
"automattic/jetpack-composer-plugin": true,
diff --git a/projects/plugins/crm/composer.lock b/projects/plugins/crm/composer.lock
index 524941e99b315..935d42f0b46c7 100644
--- a/projects/plugins/crm/composer.lock
+++ b/projects/plugins/crm/composer.lock
@@ -570,10 +570,10 @@
"dist": {
"type": "path",
"url": "../../packages/changelogger",
- "reference": "7e70d6d91c99ca7224e3fe409f998b039ddc91f1"
+ "reference": "56a217920dd8542c690d4d6aa9a9dda9c7acf40f"
},
"require": {
- "php": ">=5.6",
+ "php": ">=7.0",
"symfony/console": "^3.4 || ^5.2 || ^6.0",
"symfony/process": "^3.4 || ^5.2 || ^6.0",
"wikimedia/at-ease": "^1.2 || ^2.0"
@@ -589,7 +589,7 @@
"extra": {
"autotagger": true,
"branch-alias": {
- "dev-trunk": "3.3.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"mirror-repo": "Automattic/jetpack-changelogger",
"version-constants": {
diff --git a/projects/plugins/crm/package.json b/projects/plugins/crm/package.json
index 066987d838404..e65df903606c7 100644
--- a/projects/plugins/crm/package.json
+++ b/projects/plugins/crm/package.json
@@ -1,6 +1,6 @@
{
"name": "@automattic/jetpack-crm",
- "version": "6.3.1-alpha",
+ "version": "7.0.0-alpha",
"description": "The CRM for WordPress",
"author": "Automattic",
"license": "GPL-2.0",
diff --git a/projects/plugins/debug-helper/changelog/update-php-requirements b/projects/plugins/debug-helper/changelog/update-php-requirements
new file mode 100644
index 0000000000000..e91743c9e6518
--- /dev/null
+++ b/projects/plugins/debug-helper/changelog/update-php-requirements
@@ -0,0 +1,4 @@
+Significance: major
+Type: changed
+
+General: updated PHP requirement to PHP 7.0+
diff --git a/projects/plugins/debug-helper/composer.lock b/projects/plugins/debug-helper/composer.lock
index f70bc40bfc759..886b4288b56dd 100644
--- a/projects/plugins/debug-helper/composer.lock
+++ b/projects/plugins/debug-helper/composer.lock
@@ -13,10 +13,10 @@
"dist": {
"type": "path",
"url": "../../packages/changelogger",
- "reference": "7e70d6d91c99ca7224e3fe409f998b039ddc91f1"
+ "reference": "56a217920dd8542c690d4d6aa9a9dda9c7acf40f"
},
"require": {
- "php": ">=5.6",
+ "php": ">=7.0",
"symfony/console": "^3.4 || ^5.2 || ^6.0",
"symfony/process": "^3.4 || ^5.2 || ^6.0",
"wikimedia/at-ease": "^1.2 || ^2.0"
@@ -32,7 +32,7 @@
"extra": {
"autotagger": true,
"branch-alias": {
- "dev-trunk": "3.3.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"mirror-repo": "Automattic/jetpack-changelogger",
"version-constants": {
diff --git a/projects/plugins/debug-helper/plugin.php b/projects/plugins/debug-helper/plugin.php
index fceae1d0fb534..edb9c4b0e284c 100644
--- a/projects/plugins/debug-helper/plugin.php
+++ b/projects/plugins/debug-helper/plugin.php
@@ -3,7 +3,7 @@
* Plugin Name: Jetpack Debug Tools
* Description: Give me a Jetpack connection, and I'll break it every way possible.
* Author: Automattic - Jetpack Crew
- * Version: 1.7.0-alpha
+ * Version: 2.0.0-alpha
* Text Domain: jetpack
*
* @package automattic/jetpack-debug-helper.
@@ -33,7 +33,7 @@
* The plugin version.
* Increase that if you do any edits to ensure refreshing the cached assets.
*/
-define( 'JETPACK_DEBUG_HELPER_VERSION', '1.7.0-alpha' );
+define( 'JETPACK_DEBUG_HELPER_VERSION', '2.0.0-alpha' );
/**
* Include file names from the modules directory here.
diff --git a/projects/plugins/inspect/changelog/update-php-requirements b/projects/plugins/inspect/changelog/update-php-requirements
new file mode 100644
index 0000000000000..e91743c9e6518
--- /dev/null
+++ b/projects/plugins/inspect/changelog/update-php-requirements
@@ -0,0 +1,4 @@
+Significance: major
+Type: changed
+
+General: updated PHP requirement to PHP 7.0+
diff --git a/projects/plugins/inspect/changelog/update-php-requirements#2 b/projects/plugins/inspect/changelog/update-php-requirements#2
new file mode 100644
index 0000000000000..9aa70e3ec1f75
--- /dev/null
+++ b/projects/plugins/inspect/changelog/update-php-requirements#2
@@ -0,0 +1,5 @@
+Significance: patch
+Type: changed
+Comment: Updated composer.lock.
+
+
diff --git a/projects/plugins/inspect/composer.lock b/projects/plugins/inspect/composer.lock
index c98f5f107c434..cd41a83dad31b 100644
--- a/projects/plugins/inspect/composer.lock
+++ b/projects/plugins/inspect/composer.lock
@@ -616,10 +616,10 @@
"dist": {
"type": "path",
"url": "../../packages/changelogger",
- "reference": "7e70d6d91c99ca7224e3fe409f998b039ddc91f1"
+ "reference": "56a217920dd8542c690d4d6aa9a9dda9c7acf40f"
},
"require": {
- "php": ">=5.6",
+ "php": ">=7.0",
"symfony/console": "^3.4 || ^5.2 || ^6.0",
"symfony/process": "^3.4 || ^5.2 || ^6.0",
"wikimedia/at-ease": "^1.2 || ^2.0"
@@ -635,7 +635,7 @@
"extra": {
"autotagger": true,
"branch-alias": {
- "dev-trunk": "3.3.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"mirror-repo": "Automattic/jetpack-changelogger",
"version-constants": {
diff --git a/projects/plugins/inspect/readme.txt b/projects/plugins/inspect/readme.txt
index abf5dccfb036c..f470e12a30954 100644
--- a/projects/plugins/inspect/readme.txt
+++ b/projects/plugins/inspect/readme.txt
@@ -2,7 +2,7 @@
Contributors: automattic,
Tags: jetpack, stuff
Requires at least: 6.3
-Requires PHP: 5.6
+Requires PHP: 7.0
Tested up to: 6.4
Stable tag: 1.0.0-alpha
License: GPLv2 or later
diff --git a/projects/plugins/jetpack/changelog/update-php-requirements b/projects/plugins/jetpack/changelog/update-php-requirements
new file mode 100644
index 0000000000000..215c630b19f59
--- /dev/null
+++ b/projects/plugins/jetpack/changelog/update-php-requirements
@@ -0,0 +1,4 @@
+Significance: major
+Type: compat
+
+General: the plugin now requires PHP 7.0 and above.
diff --git a/projects/plugins/jetpack/changelog/update-php-requirements#2 b/projects/plugins/jetpack/changelog/update-php-requirements#2
new file mode 100644
index 0000000000000..a1c1831fa1ef7
--- /dev/null
+++ b/projects/plugins/jetpack/changelog/update-php-requirements#2
@@ -0,0 +1,5 @@
+Significance: patch
+Type: other
+Comment: Updated composer.lock.
+
+
diff --git a/projects/plugins/jetpack/composer.lock b/projects/plugins/jetpack/composer.lock
index 1fa7846b687d6..06683236b0ec2 100644
--- a/projects/plugins/jetpack/composer.lock
+++ b/projects/plugins/jetpack/composer.lock
@@ -1637,7 +1637,7 @@
"dist": {
"type": "path",
"url": "../../packages/my-jetpack",
- "reference": "3eb2f21243cf091284e6a9f9819be6a62230057a"
+ "reference": "c04832a49208b4be80843624afb3ac41ed5c269f"
},
"require": {
"automattic/jetpack-admin-ui": "@dev",
@@ -1668,7 +1668,7 @@
"link-template": "https://github.com/Automattic/jetpack-my-jetpack/compare/${old}...${new}"
},
"branch-alias": {
- "dev-trunk": "3.13.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"version-constants": {
"::PACKAGE_VERSION": "src/class-initializer.php"
@@ -2937,10 +2937,10 @@
"dist": {
"type": "path",
"url": "../../packages/changelogger",
- "reference": "7e70d6d91c99ca7224e3fe409f998b039ddc91f1"
+ "reference": "56a217920dd8542c690d4d6aa9a9dda9c7acf40f"
},
"require": {
- "php": ">=5.6",
+ "php": ">=7.0",
"symfony/console": "^3.4 || ^5.2 || ^6.0",
"symfony/process": "^3.4 || ^5.2 || ^6.0",
"wikimedia/at-ease": "^1.2 || ^2.0"
@@ -2956,7 +2956,7 @@
"extra": {
"autotagger": true,
"branch-alias": {
- "dev-trunk": "3.3.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"mirror-repo": "Automattic/jetpack-changelogger",
"version-constants": {
diff --git a/projects/plugins/jetpack/jetpack.php b/projects/plugins/jetpack/jetpack.php
index 4bbc3341d3917..d76773e3807b4 100644
--- a/projects/plugins/jetpack/jetpack.php
+++ b/projects/plugins/jetpack/jetpack.php
@@ -9,7 +9,7 @@
* License: GPL2+
* Text Domain: jetpack
* Requires at least: 6.3
- * Requires PHP: 5.6
+ * Requires PHP: 7.0
*
* @package automattic/jetpack
*/
@@ -33,7 +33,7 @@
*/
define( 'JETPACK__MINIMUM_WP_VERSION', '6.3' );
-define( 'JETPACK__MINIMUM_PHP_VERSION', '5.6' );
+define( 'JETPACK__MINIMUM_PHP_VERSION', '7.0' );
define( 'JETPACK__VERSION', '12.9-a.6' );
/**
diff --git a/projects/plugins/jetpack/readme.txt b/projects/plugins/jetpack/readme.txt
index f8c158c4df794..0d979c9059c29 100644
--- a/projects/plugins/jetpack/readme.txt
+++ b/projects/plugins/jetpack/readme.txt
@@ -3,7 +3,7 @@ Contributors: automattic, adamkheckler, adrianmoldovanwp, aduth, akirk, allendav
Tags: Security, backup, Woo, malware, scan, spam, CDN, search, social
Stable tag: 12.7
Requires at least: 6.3
-Requires PHP: 5.6
+Requires PHP: 7.0
Tested up to: 6.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -270,7 +270,7 @@ Jetpack has an image CDN that works by caching and serving your WordPress images
= What version of PHP do I need? =
-Sites must be built on PHP 5.6 or greater, but Jetpack always supports the latest version of PHP.
+Sites must be built on PHP 7.0 or greater, but Jetpack always supports the latest version of PHP.
= Can Jetpack help my site comply with GDPR? =
diff --git a/projects/plugins/migration/changelog/update-php-requirements b/projects/plugins/migration/changelog/update-php-requirements
new file mode 100644
index 0000000000000..e91743c9e6518
--- /dev/null
+++ b/projects/plugins/migration/changelog/update-php-requirements
@@ -0,0 +1,4 @@
+Significance: major
+Type: changed
+
+General: updated PHP requirement to PHP 7.0+
diff --git a/projects/plugins/migration/changelog/update-php-requirements#2 b/projects/plugins/migration/changelog/update-php-requirements#2
new file mode 100644
index 0000000000000..9aa70e3ec1f75
--- /dev/null
+++ b/projects/plugins/migration/changelog/update-php-requirements#2
@@ -0,0 +1,5 @@
+Significance: patch
+Type: changed
+Comment: Updated composer.lock.
+
+
diff --git a/projects/plugins/migration/composer.json b/projects/plugins/migration/composer.json
index f1671666826e7..d34c3c684ecb4 100644
--- a/projects/plugins/migration/composer.json
+++ b/projects/plugins/migration/composer.json
@@ -72,6 +72,6 @@
"automattic/jetpack-autoloader": true,
"automattic/jetpack-composer-plugin": true
},
- "autoloader-suffix": "c4802e05bbcf59fd3b6350e8d3e5482c_migrationⓥ1_0_2_alpha"
+ "autoloader-suffix": "c4802e05bbcf59fd3b6350e8d3e5482c_migrationⓥ2_0_0_alpha"
}
}
diff --git a/projects/plugins/migration/composer.lock b/projects/plugins/migration/composer.lock
index 0638cc6fc8e59..eb800a923da70 100644
--- a/projects/plugins/migration/composer.lock
+++ b/projects/plugins/migration/composer.lock
@@ -898,7 +898,7 @@
"dist": {
"type": "path",
"url": "../../packages/my-jetpack",
- "reference": "3eb2f21243cf091284e6a9f9819be6a62230057a"
+ "reference": "c04832a49208b4be80843624afb3ac41ed5c269f"
},
"require": {
"automattic/jetpack-admin-ui": "@dev",
@@ -929,7 +929,7 @@
"link-template": "https://github.com/Automattic/jetpack-my-jetpack/compare/${old}...${new}"
},
"branch-alias": {
- "dev-trunk": "3.13.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"version-constants": {
"::PACKAGE_VERSION": "src/class-initializer.php"
@@ -1376,10 +1376,10 @@
"dist": {
"type": "path",
"url": "../../packages/changelogger",
- "reference": "7e70d6d91c99ca7224e3fe409f998b039ddc91f1"
+ "reference": "56a217920dd8542c690d4d6aa9a9dda9c7acf40f"
},
"require": {
- "php": ">=5.6",
+ "php": ">=7.0",
"symfony/console": "^3.4 || ^5.2 || ^6.0",
"symfony/process": "^3.4 || ^5.2 || ^6.0",
"wikimedia/at-ease": "^1.2 || ^2.0"
@@ -1395,7 +1395,7 @@
"extra": {
"autotagger": true,
"branch-alias": {
- "dev-trunk": "3.3.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"mirror-repo": "Automattic/jetpack-changelogger",
"version-constants": {
diff --git a/projects/plugins/migration/readme.txt b/projects/plugins/migration/readme.txt
index 4becc1960504c..fc49acc3bbdae 100644
--- a/projects/plugins/migration/readme.txt
+++ b/projects/plugins/migration/readme.txt
@@ -2,7 +2,7 @@
Contributors: automattic
Tags: migrate, migration, backup, restore, transfer, move, copy, wordpress.com, automattic, import, importer, hosting
Requires at least: 6.3
-Requires PHP: 5.6
+Requires PHP: 7.0
Tested up to: 6.4
Stable tag: 1.0.0
License: GPLv2 or later
diff --git a/projects/plugins/migration/wpcom-migration.php b/projects/plugins/migration/wpcom-migration.php
index 9a9849e2637bb..204d0af8b209a 100644
--- a/projects/plugins/migration/wpcom-migration.php
+++ b/projects/plugins/migration/wpcom-migration.php
@@ -4,7 +4,7 @@
* Plugin Name: Move to WordPress.com
* Plugin URI: https://wordpress.org/plugins/wpcom-migration
* Description: A WordPress plugin that helps users to migrate their sites to WordPress.com.
- * Version: 1.0.2-alpha
+ * Version: 2.0.0-alpha
* Author: Automattic
* Author URI: https://wordpress.com/
* License: GPLv2 or later
diff --git a/projects/plugins/mu-wpcom-plugin/changelog/update-php-requirements b/projects/plugins/mu-wpcom-plugin/changelog/update-php-requirements
new file mode 100644
index 0000000000000..e91743c9e6518
--- /dev/null
+++ b/projects/plugins/mu-wpcom-plugin/changelog/update-php-requirements
@@ -0,0 +1,4 @@
+Significance: major
+Type: changed
+
+General: updated PHP requirement to PHP 7.0+
diff --git a/projects/plugins/mu-wpcom-plugin/composer.json b/projects/plugins/mu-wpcom-plugin/composer.json
index eb33ff06e6973..6c01966b5bd22 100644
--- a/projects/plugins/mu-wpcom-plugin/composer.json
+++ b/projects/plugins/mu-wpcom-plugin/composer.json
@@ -46,6 +46,6 @@
]
},
"config": {
- "autoloader-suffix": "d9d132a783958a00a2c7cccff60ca42d_jetpack_mu_wpcom_pluginⓥ1_7_12_alpha"
+ "autoloader-suffix": "d9d132a783958a00a2c7cccff60ca42d_jetpack_mu_wpcom_pluginⓥ2_0_0_alpha"
}
}
diff --git a/projects/plugins/mu-wpcom-plugin/composer.lock b/projects/plugins/mu-wpcom-plugin/composer.lock
index f14ebc766d8eb..1c80a891669bd 100644
--- a/projects/plugins/mu-wpcom-plugin/composer.lock
+++ b/projects/plugins/mu-wpcom-plugin/composer.lock
@@ -78,10 +78,10 @@
"dist": {
"type": "path",
"url": "../../packages/changelogger",
- "reference": "7e70d6d91c99ca7224e3fe409f998b039ddc91f1"
+ "reference": "56a217920dd8542c690d4d6aa9a9dda9c7acf40f"
},
"require": {
- "php": ">=5.6",
+ "php": ">=7.0",
"symfony/console": "^3.4 || ^5.2 || ^6.0",
"symfony/process": "^3.4 || ^5.2 || ^6.0",
"wikimedia/at-ease": "^1.2 || ^2.0"
@@ -97,7 +97,7 @@
"extra": {
"autotagger": true,
"branch-alias": {
- "dev-trunk": "3.3.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"mirror-repo": "Automattic/jetpack-changelogger",
"version-constants": {
diff --git a/projects/plugins/mu-wpcom-plugin/mu-wpcom-plugin.php b/projects/plugins/mu-wpcom-plugin/mu-wpcom-plugin.php
index 038ddffdf2d3d..ed0c44cebba88 100644
--- a/projects/plugins/mu-wpcom-plugin/mu-wpcom-plugin.php
+++ b/projects/plugins/mu-wpcom-plugin/mu-wpcom-plugin.php
@@ -3,7 +3,7 @@
*
* Plugin Name: WordPress.com Features
* Description: Test plugin for the jetpack-mu-wpcom package
- * Version: 1.7.12-alpha
+ * Version: 2.0.0-alpha
* Author: Automattic
* License: GPLv2 or later
* Text Domain: jetpack-mu-wpcom-plugin
diff --git a/projects/plugins/mu-wpcom-plugin/package.json b/projects/plugins/mu-wpcom-plugin/package.json
index d9c39c5f3f6fb..962ad8201d26f 100644
--- a/projects/plugins/mu-wpcom-plugin/package.json
+++ b/projects/plugins/mu-wpcom-plugin/package.json
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@automattic/jetpack-mu-wpcom-plugin",
- "version": "1.7.12-alpha",
+ "version": "2.0.0-alpha",
"description": "Test plugin for the jetpack-mu-wpcom package",
"homepage": "https://jetpack.com",
"bugs": {
diff --git a/projects/plugins/protect/changelog/update-php-requirements b/projects/plugins/protect/changelog/update-php-requirements
new file mode 100644
index 0000000000000..e91743c9e6518
--- /dev/null
+++ b/projects/plugins/protect/changelog/update-php-requirements
@@ -0,0 +1,4 @@
+Significance: major
+Type: changed
+
+General: updated PHP requirement to PHP 7.0+
diff --git a/projects/plugins/protect/changelog/update-php-requirements#2 b/projects/plugins/protect/changelog/update-php-requirements#2
new file mode 100644
index 0000000000000..9aa70e3ec1f75
--- /dev/null
+++ b/projects/plugins/protect/changelog/update-php-requirements#2
@@ -0,0 +1,5 @@
+Significance: patch
+Type: changed
+Comment: Updated composer.lock.
+
+
diff --git a/projects/plugins/protect/composer.json b/projects/plugins/protect/composer.json
index 016dfda2d1379..f5b42623c5f19 100644
--- a/projects/plugins/protect/composer.json
+++ b/projects/plugins/protect/composer.json
@@ -79,6 +79,6 @@
"automattic/jetpack-autoloader": true,
"automattic/jetpack-composer-plugin": true
},
- "autoloader-suffix": "c4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_4_3_alpha"
+ "autoloader-suffix": "c4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ2_0_0_alpha"
}
}
diff --git a/projects/plugins/protect/composer.lock b/projects/plugins/protect/composer.lock
index 2a5958ef36aaf..a4fc3e1011a27 100644
--- a/projects/plugins/protect/composer.lock
+++ b/projects/plugins/protect/composer.lock
@@ -813,7 +813,7 @@
"dist": {
"type": "path",
"url": "../../packages/my-jetpack",
- "reference": "3eb2f21243cf091284e6a9f9819be6a62230057a"
+ "reference": "c04832a49208b4be80843624afb3ac41ed5c269f"
},
"require": {
"automattic/jetpack-admin-ui": "@dev",
@@ -844,7 +844,7 @@
"link-template": "https://github.com/Automattic/jetpack-my-jetpack/compare/${old}...${new}"
},
"branch-alias": {
- "dev-trunk": "3.13.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"version-constants": {
"::PACKAGE_VERSION": "src/class-initializer.php"
@@ -1482,10 +1482,10 @@
"dist": {
"type": "path",
"url": "../../packages/changelogger",
- "reference": "7e70d6d91c99ca7224e3fe409f998b039ddc91f1"
+ "reference": "56a217920dd8542c690d4d6aa9a9dda9c7acf40f"
},
"require": {
- "php": ">=5.6",
+ "php": ">=7.0",
"symfony/console": "^3.4 || ^5.2 || ^6.0",
"symfony/process": "^3.4 || ^5.2 || ^6.0",
"wikimedia/at-ease": "^1.2 || ^2.0"
@@ -1501,7 +1501,7 @@
"extra": {
"autotagger": true,
"branch-alias": {
- "dev-trunk": "3.3.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"mirror-repo": "Automattic/jetpack-changelogger",
"version-constants": {
diff --git a/projects/plugins/protect/jetpack-protect.php b/projects/plugins/protect/jetpack-protect.php
index b88b5d8571d82..24f30cc8b1f7d 100644
--- a/projects/plugins/protect/jetpack-protect.php
+++ b/projects/plugins/protect/jetpack-protect.php
@@ -3,7 +3,7 @@
* Plugin Name: Jetpack Protect
* Plugin URI: https://wordpress.org/plugins/jetpack-protect
* Description: Security tools that keep your site safe and sound, from posts to plugins.
- * Version: 1.4.3-alpha
+ * Version: 2.0.0-alpha
* Author: Automattic - Jetpack Security team
* Author URI: https://jetpack.com/protect/
* License: GPLv2 or later
@@ -32,7 +32,7 @@
exit;
}
-define( 'JETPACK_PROTECT_VERSION', '1.4.3-alpha' );
+define( 'JETPACK_PROTECT_VERSION', '2.0.0-alpha' );
define( 'JETPACK_PROTECT_DIR', plugin_dir_path( __FILE__ ) );
define( 'JETPACK_PROTECT_ROOT_FILE', __FILE__ );
define( 'JETPACK_PROTECT_ROOT_FILE_RELATIVE_PATH', plugin_basename( __FILE__ ) );
diff --git a/projects/plugins/protect/readme.txt b/projects/plugins/protect/readme.txt
index 9b8e02c7c5fd1..cb04dd82844cb 100644
--- a/projects/plugins/protect/readme.txt
+++ b/projects/plugins/protect/readme.txt
@@ -2,7 +2,7 @@
Contributors: automattic, retrofox, leogermani, renatoagds, bjorsch, ebinnion, fgiannar, zinigor, miguelxavierpenha, dsmart, jeherve, manzoorwanijk, njweller, oskosk, samiff, siddarthan, wpkaren, arsihasi, kraftbj, kev, sermitr, kangzj, pabline, dkmyta
Tags: jetpack, protect, security, malware, scan
Requires at least: 6.3
-Requires PHP: 5.6
+Requires PHP: 7.0
Tested up to: 6.4
Stable tag: 1.4.1
License: GPLv2 or later
diff --git a/projects/plugins/search/changelog/update-php-requirements b/projects/plugins/search/changelog/update-php-requirements
new file mode 100644
index 0000000000000..e91743c9e6518
--- /dev/null
+++ b/projects/plugins/search/changelog/update-php-requirements
@@ -0,0 +1,4 @@
+Significance: major
+Type: changed
+
+General: updated PHP requirement to PHP 7.0+
diff --git a/projects/plugins/search/changelog/update-php-requirements#2 b/projects/plugins/search/changelog/update-php-requirements#2
new file mode 100644
index 0000000000000..9aa70e3ec1f75
--- /dev/null
+++ b/projects/plugins/search/changelog/update-php-requirements#2
@@ -0,0 +1,5 @@
+Significance: patch
+Type: changed
+Comment: Updated composer.lock.
+
+
diff --git a/projects/plugins/search/composer.json b/projects/plugins/search/composer.json
index 41c70fcd518ab..8c199800076b1 100644
--- a/projects/plugins/search/composer.json
+++ b/projects/plugins/search/composer.json
@@ -64,7 +64,7 @@
},
"config": {
"sort-packages": true,
- "autoloader-suffix": "b462338fb66be23595d68a93345c9e3d_jetpack_searchⓥ1_5_0_alpha",
+ "autoloader-suffix": "b462338fb66be23595d68a93345c9e3d_jetpack_searchⓥ2_0_0_alpha",
"allow-plugins": {
"automattic/jetpack-autoloader": true,
"automattic/jetpack-composer-plugin": true,
diff --git a/projects/plugins/search/composer.lock b/projects/plugins/search/composer.lock
index 4899457ee3f8c..e42b10f8b1424 100644
--- a/projects/plugins/search/composer.lock
+++ b/projects/plugins/search/composer.lock
@@ -813,7 +813,7 @@
"dist": {
"type": "path",
"url": "../../packages/my-jetpack",
- "reference": "3eb2f21243cf091284e6a9f9819be6a62230057a"
+ "reference": "c04832a49208b4be80843624afb3ac41ed5c269f"
},
"require": {
"automattic/jetpack-admin-ui": "@dev",
@@ -844,7 +844,7 @@
"link-template": "https://github.com/Automattic/jetpack-my-jetpack/compare/${old}...${new}"
},
"branch-alias": {
- "dev-trunk": "3.13.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"version-constants": {
"::PACKAGE_VERSION": "src/class-initializer.php"
@@ -1435,10 +1435,10 @@
"dist": {
"type": "path",
"url": "../../packages/changelogger",
- "reference": "7e70d6d91c99ca7224e3fe409f998b039ddc91f1"
+ "reference": "56a217920dd8542c690d4d6aa9a9dda9c7acf40f"
},
"require": {
- "php": ">=5.6",
+ "php": ">=7.0",
"symfony/console": "^3.4 || ^5.2 || ^6.0",
"symfony/process": "^3.4 || ^5.2 || ^6.0",
"wikimedia/at-ease": "^1.2 || ^2.0"
@@ -1454,7 +1454,7 @@
"extra": {
"autotagger": true,
"branch-alias": {
- "dev-trunk": "3.3.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"mirror-repo": "Automattic/jetpack-changelogger",
"version-constants": {
diff --git a/projects/plugins/search/jetpack-search.php b/projects/plugins/search/jetpack-search.php
index e3b53c39de6aa..5ffdd6f886670 100644
--- a/projects/plugins/search/jetpack-search.php
+++ b/projects/plugins/search/jetpack-search.php
@@ -4,7 +4,7 @@
* Plugin Name: Jetpack Search
* Plugin URI: https://jetpack.com/search/
* Description: Easily add cloud-powered instant search and filters to your website or WooCommerce store with advanced algorithms that boost your search results based on traffic to your site.
- * Version: 1.5.0-alpha
+ * Version: 2.0.0-alpha
* Author: Automattic - Jetpack Search team
* Author URI: https://jetpack.com/
* License: GPLv2 or later
@@ -26,7 +26,7 @@
define( 'JETPACK_SEARCH_PLUGIN__FILE', __FILE__ );
define( 'JETPACK_SEARCH_PLUGIN__FILE_RELATIVE_PATH', plugin_basename( __FILE__ ) );
define( 'JETPACK_SEARCH_PLUGIN__SLUG', 'jetpack-search' );
-define( 'JETPACK_SEARCH_PLUGIN__VERSION', '1.5.0-alpha' );
+define( 'JETPACK_SEARCH_PLUGIN__VERSION', '2.0.0-alpha' );
defined( 'JETPACK_CLIENT__AUTH_LOCATION' ) || define( 'JETPACK_CLIENT__AUTH_LOCATION', 'header' );
diff --git a/projects/plugins/search/readme.txt b/projects/plugins/search/readme.txt
index bdbddd90d8007..2f7df053eed31 100644
--- a/projects/plugins/search/readme.txt
+++ b/projects/plugins/search/readme.txt
@@ -2,7 +2,7 @@
Contributors: automattic, annamcphee, bluefuton, kangzj, jsnmoon, robfelty, gibrown, trakos, dognose24, a8ck3n
Tags: search, filter, woocommerce search, ajax search, product search, free cloud-based search
Requires at least: 6.3
-Requires PHP: 5.6
+Requires PHP: 7.0
Tested up to: 6.4
Stable tag: 1.4.0
License: GPLv2 or later
diff --git a/projects/plugins/social/changelog/update-php-requirements b/projects/plugins/social/changelog/update-php-requirements
new file mode 100644
index 0000000000000..e91743c9e6518
--- /dev/null
+++ b/projects/plugins/social/changelog/update-php-requirements
@@ -0,0 +1,4 @@
+Significance: major
+Type: changed
+
+General: updated PHP requirement to PHP 7.0+
diff --git a/projects/plugins/social/changelog/update-php-requirements#2 b/projects/plugins/social/changelog/update-php-requirements#2
new file mode 100644
index 0000000000000..9aa70e3ec1f75
--- /dev/null
+++ b/projects/plugins/social/changelog/update-php-requirements#2
@@ -0,0 +1,5 @@
+Significance: patch
+Type: changed
+Comment: Updated composer.lock.
+
+
diff --git a/projects/plugins/social/composer.json b/projects/plugins/social/composer.json
index 873deef997194..f6b27b2a4bca9 100644
--- a/projects/plugins/social/composer.json
+++ b/projects/plugins/social/composer.json
@@ -81,6 +81,6 @@
"automattic/jetpack-autoloader": true,
"automattic/jetpack-composer-plugin": true
},
- "autoloader-suffix": "c4802e05bbcf59fd3b6350e8d3e5482c_socialⓥ2_4_0_alpha"
+ "autoloader-suffix": "c4802e05bbcf59fd3b6350e8d3e5482c_socialⓥ3_0_0_alpha"
}
}
diff --git a/projects/plugins/social/composer.lock b/projects/plugins/social/composer.lock
index 78cd5a52680c9..fc2b14228c62b 100644
--- a/projects/plugins/social/composer.lock
+++ b/projects/plugins/social/composer.lock
@@ -813,7 +813,7 @@
"dist": {
"type": "path",
"url": "../../packages/my-jetpack",
- "reference": "3eb2f21243cf091284e6a9f9819be6a62230057a"
+ "reference": "c04832a49208b4be80843624afb3ac41ed5c269f"
},
"require": {
"automattic/jetpack-admin-ui": "@dev",
@@ -844,7 +844,7 @@
"link-template": "https://github.com/Automattic/jetpack-my-jetpack/compare/${old}...${new}"
},
"branch-alias": {
- "dev-trunk": "3.13.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"version-constants": {
"::PACKAGE_VERSION": "src/class-initializer.php"
@@ -1415,10 +1415,10 @@
"dist": {
"type": "path",
"url": "../../packages/changelogger",
- "reference": "7e70d6d91c99ca7224e3fe409f998b039ddc91f1"
+ "reference": "56a217920dd8542c690d4d6aa9a9dda9c7acf40f"
},
"require": {
- "php": ">=5.6",
+ "php": ">=7.0",
"symfony/console": "^3.4 || ^5.2 || ^6.0",
"symfony/process": "^3.4 || ^5.2 || ^6.0",
"wikimedia/at-ease": "^1.2 || ^2.0"
@@ -1434,7 +1434,7 @@
"extra": {
"autotagger": true,
"branch-alias": {
- "dev-trunk": "3.3.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"mirror-repo": "Automattic/jetpack-changelogger",
"version-constants": {
diff --git a/projects/plugins/social/jetpack-social.php b/projects/plugins/social/jetpack-social.php
index 7f1aca73b7662..33376815d21fa 100644
--- a/projects/plugins/social/jetpack-social.php
+++ b/projects/plugins/social/jetpack-social.php
@@ -4,7 +4,7 @@
* Plugin Name: Jetpack Social
* Plugin URI: https://wordpress.org/plugins/jetpack-social
* Description: Share your site’s posts on several social media networks automatically when you publish a new post.
- * Version: 2.4.0-alpha
+ * Version: 3.0.0-alpha
* Author: Automattic - Jetpack Social team
* Author URI: https://jetpack.com/social/
* License: GPLv2 or later
diff --git a/projects/plugins/social/readme.txt b/projects/plugins/social/readme.txt
index fbf9532b896af..208e9b1be49e3 100644
--- a/projects/plugins/social/readme.txt
+++ b/projects/plugins/social/readme.txt
@@ -2,7 +2,7 @@
Contributors: automattic, pabline, siddarthan, gmjuhasz, manzoorwanijk, danielpost
Tags: social-media, publicize, social-media-manager, social-networking, social marketing, social, social share, social media scheduling, social media automation, auto post, auto- publish, social share
Requires at least: 6.3
-Requires PHP: 5.6
+Requires PHP: 7.0
Tested up to: 6.4
Stable tag: 2.3.0
License: GPLv2 or later
diff --git a/projects/plugins/starter-plugin/changelog/update-php-requirements b/projects/plugins/starter-plugin/changelog/update-php-requirements
new file mode 100644
index 0000000000000..e91743c9e6518
--- /dev/null
+++ b/projects/plugins/starter-plugin/changelog/update-php-requirements
@@ -0,0 +1,4 @@
+Significance: major
+Type: changed
+
+General: updated PHP requirement to PHP 7.0+
diff --git a/projects/plugins/starter-plugin/changelog/update-php-requirements#2 b/projects/plugins/starter-plugin/changelog/update-php-requirements#2
new file mode 100644
index 0000000000000..9aa70e3ec1f75
--- /dev/null
+++ b/projects/plugins/starter-plugin/changelog/update-php-requirements#2
@@ -0,0 +1,5 @@
+Significance: patch
+Type: changed
+Comment: Updated composer.lock.
+
+
diff --git a/projects/plugins/starter-plugin/composer.json b/projects/plugins/starter-plugin/composer.json
index 1a9559789f4f4..325992826e714 100644
--- a/projects/plugins/starter-plugin/composer.json
+++ b/projects/plugins/starter-plugin/composer.json
@@ -68,6 +68,6 @@
"automattic/jetpack-autoloader": true,
"automattic/jetpack-composer-plugin": true
},
- "autoloader-suffix": "c4802e05bbcf59fd3b6350e8d3e5482c_starter_pluginⓥ0_3_1_alpha"
+ "autoloader-suffix": "c4802e05bbcf59fd3b6350e8d3e5482c_starter_pluginⓥ0_4_0_alpha"
}
}
diff --git a/projects/plugins/starter-plugin/composer.lock b/projects/plugins/starter-plugin/composer.lock
index f6b87de69df15..5b4ca2989f367 100644
--- a/projects/plugins/starter-plugin/composer.lock
+++ b/projects/plugins/starter-plugin/composer.lock
@@ -813,7 +813,7 @@
"dist": {
"type": "path",
"url": "../../packages/my-jetpack",
- "reference": "3eb2f21243cf091284e6a9f9819be6a62230057a"
+ "reference": "c04832a49208b4be80843624afb3ac41ed5c269f"
},
"require": {
"automattic/jetpack-admin-ui": "@dev",
@@ -844,7 +844,7 @@
"link-template": "https://github.com/Automattic/jetpack-my-jetpack/compare/${old}...${new}"
},
"branch-alias": {
- "dev-trunk": "3.13.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"version-constants": {
"::PACKAGE_VERSION": "src/class-initializer.php"
@@ -1339,10 +1339,10 @@
"dist": {
"type": "path",
"url": "../../packages/changelogger",
- "reference": "7e70d6d91c99ca7224e3fe409f998b039ddc91f1"
+ "reference": "56a217920dd8542c690d4d6aa9a9dda9c7acf40f"
},
"require": {
- "php": ">=5.6",
+ "php": ">=7.0",
"symfony/console": "^3.4 || ^5.2 || ^6.0",
"symfony/process": "^3.4 || ^5.2 || ^6.0",
"wikimedia/at-ease": "^1.2 || ^2.0"
@@ -1358,7 +1358,7 @@
"extra": {
"autotagger": true,
"branch-alias": {
- "dev-trunk": "3.3.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"mirror-repo": "Automattic/jetpack-changelogger",
"version-constants": {
diff --git a/projects/plugins/starter-plugin/jetpack-starter-plugin.php b/projects/plugins/starter-plugin/jetpack-starter-plugin.php
index a6c6f39840ef6..23a7683f48250 100644
--- a/projects/plugins/starter-plugin/jetpack-starter-plugin.php
+++ b/projects/plugins/starter-plugin/jetpack-starter-plugin.php
@@ -4,7 +4,7 @@
* Plugin Name: Jetpack Starter Plugin
* Plugin URI: https://wordpress.org/plugins/jetpack-starter-plugin
* Description: plugin--description.
- * Version: 0.3.1-alpha
+ * Version: 0.4.0-alpha
* Author: Automattic
* Author URI: https://jetpack.com/
* License: GPLv2 or later
diff --git a/projects/plugins/starter-plugin/readme.txt b/projects/plugins/starter-plugin/readme.txt
index 7c34b3279c92f..029ecace28ec1 100644
--- a/projects/plugins/starter-plugin/readme.txt
+++ b/projects/plugins/starter-plugin/readme.txt
@@ -2,7 +2,7 @@
Contributors: automattic,
Tags: jetpack, stuff
Requires at least: 6.3
-Requires PHP: 5.6
+Requires PHP: 7.0
Tested up to: 6.4
Stable tag: 0.1.0-alpha
License: GPLv2 or later
diff --git a/projects/plugins/super-cache/changelog/update-php-requirements b/projects/plugins/super-cache/changelog/update-php-requirements
new file mode 100644
index 0000000000000..e91743c9e6518
--- /dev/null
+++ b/projects/plugins/super-cache/changelog/update-php-requirements
@@ -0,0 +1,4 @@
+Significance: major
+Type: changed
+
+General: updated PHP requirement to PHP 7.0+
diff --git a/projects/plugins/super-cache/changelog/update-php-requirements#2 b/projects/plugins/super-cache/changelog/update-php-requirements#2
new file mode 100644
index 0000000000000..9aa70e3ec1f75
--- /dev/null
+++ b/projects/plugins/super-cache/changelog/update-php-requirements#2
@@ -0,0 +1,5 @@
+Significance: patch
+Type: changed
+Comment: Updated composer.lock.
+
+
diff --git a/projects/plugins/super-cache/composer.json b/projects/plugins/super-cache/composer.json
index 4f2d7cd7c176f..e11388a9a7205 100644
--- a/projects/plugins/super-cache/composer.json
+++ b/projects/plugins/super-cache/composer.json
@@ -51,6 +51,6 @@
"wp-svn-autopublish": true
},
"config": {
- "autoloader-suffix": "6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ1_11_1_alpha"
+ "autoloader-suffix": "6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ2_0_0_alpha"
}
}
diff --git a/projects/plugins/super-cache/composer.lock b/projects/plugins/super-cache/composer.lock
index 28328a7a0ab17..45c33cfe15a57 100644
--- a/projects/plugins/super-cache/composer.lock
+++ b/projects/plugins/super-cache/composer.lock
@@ -61,10 +61,10 @@
"dist": {
"type": "path",
"url": "../../packages/changelogger",
- "reference": "7e70d6d91c99ca7224e3fe409f998b039ddc91f1"
+ "reference": "56a217920dd8542c690d4d6aa9a9dda9c7acf40f"
},
"require": {
- "php": ">=5.6",
+ "php": ">=7.0",
"symfony/console": "^3.4 || ^5.2 || ^6.0",
"symfony/process": "^3.4 || ^5.2 || ^6.0",
"wikimedia/at-ease": "^1.2 || ^2.0"
@@ -80,7 +80,7 @@
"extra": {
"autotagger": true,
"branch-alias": {
- "dev-trunk": "3.3.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"mirror-repo": "Automattic/jetpack-changelogger",
"version-constants": {
diff --git a/projects/plugins/super-cache/package.json b/projects/plugins/super-cache/package.json
index 99d5f42a76afc..e0bcd6ccc7621 100644
--- a/projects/plugins/super-cache/package.json
+++ b/projects/plugins/super-cache/package.json
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@automattic/jetpack-super-cache",
- "version": "1.11.1-alpha",
+ "version": "2.0.0-alpha",
"description": "A very fast caching engine for WordPress that produces static html files.",
"homepage": "https://jetpack.com",
"bugs": {
diff --git a/projects/plugins/super-cache/readme.txt b/projects/plugins/super-cache/readme.txt
index aff138c1430f6..3325b0e572be3 100644
--- a/projects/plugins/super-cache/readme.txt
+++ b/projects/plugins/super-cache/readme.txt
@@ -2,7 +2,7 @@
Contributors: donncha, automattic, adnan007, dilirity, mikemayhem3030, pyronaur, thingalon
Tags: performance, caching, wp-cache, wp-super-cache, cache
Requires at least: 6.3
-Requires PHP: 5.6
+Requires PHP: 7.0
Tested up to: 6.4
Stable tag: 1.10.0
License: GPLv2 or later
diff --git a/projects/plugins/super-cache/wp-cache.php b/projects/plugins/super-cache/wp-cache.php
index 29c8ad7763e97..f19a35609eab0 100644
--- a/projects/plugins/super-cache/wp-cache.php
+++ b/projects/plugins/super-cache/wp-cache.php
@@ -3,7 +3,7 @@
* Plugin Name: WP Super Cache
* Plugin URI: https://wordpress.org/plugins/wp-super-cache/
* Description: Very fast caching plugin for WordPress.
- * Version: 1.11.1-alpha
+ * Version: 2.0.0-alpha
* Author: Automattic
* Author URI: https://automattic.com/
* License: GPL2+
diff --git a/projects/plugins/vaultpress/changelog/update-php-requirements#2 b/projects/plugins/vaultpress/changelog/update-php-requirements#2
new file mode 100644
index 0000000000000..9aa70e3ec1f75
--- /dev/null
+++ b/projects/plugins/vaultpress/changelog/update-php-requirements#2
@@ -0,0 +1,5 @@
+Significance: patch
+Type: changed
+Comment: Updated composer.lock.
+
+
diff --git a/projects/plugins/vaultpress/composer.lock b/projects/plugins/vaultpress/composer.lock
index 0724d5b1ed305..56f1430ca254b 100644
--- a/projects/plugins/vaultpress/composer.lock
+++ b/projects/plugins/vaultpress/composer.lock
@@ -123,10 +123,10 @@
"dist": {
"type": "path",
"url": "../../packages/changelogger",
- "reference": "7e70d6d91c99ca7224e3fe409f998b039ddc91f1"
+ "reference": "56a217920dd8542c690d4d6aa9a9dda9c7acf40f"
},
"require": {
- "php": ">=5.6",
+ "php": ">=7.0",
"symfony/console": "^3.4 || ^5.2 || ^6.0",
"symfony/process": "^3.4 || ^5.2 || ^6.0",
"wikimedia/at-ease": "^1.2 || ^2.0"
@@ -142,7 +142,7 @@
"extra": {
"autotagger": true,
"branch-alias": {
- "dev-trunk": "3.3.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"mirror-repo": "Automattic/jetpack-changelogger",
"version-constants": {
diff --git a/projects/plugins/videopress/changelog/update-php-requirements b/projects/plugins/videopress/changelog/update-php-requirements
new file mode 100644
index 0000000000000..e91743c9e6518
--- /dev/null
+++ b/projects/plugins/videopress/changelog/update-php-requirements
@@ -0,0 +1,4 @@
+Significance: major
+Type: changed
+
+General: updated PHP requirement to PHP 7.0+
diff --git a/projects/plugins/videopress/changelog/update-php-requirements#2 b/projects/plugins/videopress/changelog/update-php-requirements#2
new file mode 100644
index 0000000000000..9aa70e3ec1f75
--- /dev/null
+++ b/projects/plugins/videopress/changelog/update-php-requirements#2
@@ -0,0 +1,5 @@
+Significance: patch
+Type: changed
+Comment: Updated composer.lock.
+
+
diff --git a/projects/plugins/videopress/composer.lock b/projects/plugins/videopress/composer.lock
index c943e4458b2a2..c301c9fbda96d 100644
--- a/projects/plugins/videopress/composer.lock
+++ b/projects/plugins/videopress/composer.lock
@@ -813,7 +813,7 @@
"dist": {
"type": "path",
"url": "../../packages/my-jetpack",
- "reference": "3eb2f21243cf091284e6a9f9819be6a62230057a"
+ "reference": "c04832a49208b4be80843624afb3ac41ed5c269f"
},
"require": {
"automattic/jetpack-admin-ui": "@dev",
@@ -844,7 +844,7 @@
"link-template": "https://github.com/Automattic/jetpack-my-jetpack/compare/${old}...${new}"
},
"branch-alias": {
- "dev-trunk": "3.13.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"version-constants": {
"::PACKAGE_VERSION": "src/class-initializer.php"
@@ -1369,10 +1369,10 @@
"dist": {
"type": "path",
"url": "../../packages/changelogger",
- "reference": "7e70d6d91c99ca7224e3fe409f998b039ddc91f1"
+ "reference": "56a217920dd8542c690d4d6aa9a9dda9c7acf40f"
},
"require": {
- "php": ">=5.6",
+ "php": ">=7.0",
"symfony/console": "^3.4 || ^5.2 || ^6.0",
"symfony/process": "^3.4 || ^5.2 || ^6.0",
"wikimedia/at-ease": "^1.2 || ^2.0"
@@ -1388,7 +1388,7 @@
"extra": {
"autotagger": true,
"branch-alias": {
- "dev-trunk": "3.3.x-dev"
+ "dev-trunk": "4.0.x-dev"
},
"mirror-repo": "Automattic/jetpack-changelogger",
"version-constants": {
diff --git a/projects/plugins/videopress/readme.txt b/projects/plugins/videopress/readme.txt
index 9977144126ac7..08a3fbe31d1dd 100644
--- a/projects/plugins/videopress/readme.txt
+++ b/projects/plugins/videopress/readme.txt
@@ -5,7 +5,7 @@ Tags: video, video-hosting, video-player, cdn, vimeo, youtube, video-streaming,
Requires at least: 6.3
Tested up to: 6.4
Stable tag: 1.5
-Requires PHP: 5.6
+Requires PHP: 7.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
The finest video hosting for WordPress. Stunning-quality video with none of the hassle. Drag and drop videos through the WordPress editor and keep the focus on your content, not the ads.
diff --git a/tools/cli/commands/generate.js b/tools/cli/commands/generate.js
index 690722f61610b..571a74a904fef 100644
--- a/tools/cli/commands/generate.js
+++ b/tools/cli/commands/generate.js
@@ -751,7 +751,7 @@ function createReadMeTxt( answers ) {
'Contributors: automattic,\n' +
'Tags: jetpack, stuff\n' +
'Requires at least: 6.3\n' +
- 'Requires PHP: 5.6\n' +
+ 'Requires PHP: 7.0\n' +
'Tested up to: 6.4\n' +
`Stable tag: ${ answers.version }\n` +
'License: GPLv2 or later\n' +