From 8ec689ad7c6c65ad463da4115407fb8e60af5c85 Mon Sep 17 00:00:00 2001 From: Initsogar Date: Thu, 14 Nov 2024 20:19:22 +0000 Subject: [PATCH] Codesniffer: remove PHP 7.0 and 7.1 support (#40174) * Update supported versions * Get script artifacts * Update docs * Remove rule redundant to PHPCompatibility.FunctionDeclarations.RemovedImplicitlyNullableParam.Deprecated * Update tests * Add changelog * Add LC_ALL * Adjust shebang Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/11844724024 Upstream-Ref: Automattic/jetpack@8ee1c379129e3833c43717d76d6f5ff064d944eb --- CHANGELOG.md | 9 ++++++--- composer.json | 16 ++++++++-------- package.json | 2 +- src/class-package-version.php | 2 +- 4 files changed, 16 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 28c735f..25527f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,9 +5,12 @@ 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). -## [6.0.0] - 2024-11-14 +## [6.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. [#40147] +- General: Update minimum PHP version to 7.2. ## [5.1.7] - 2024-11-11 ### Changed @@ -1247,7 +1250,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Separate the connection library into its own package. -[6.0.0]: https://github.com/Automattic/jetpack-connection/compare/v5.1.7...v6.0.0 +[6.0.0-alpha]: https://github.com/Automattic/jetpack-connection/compare/v5.1.7...v6.0.0-alpha [5.1.7]: https://github.com/Automattic/jetpack-connection/compare/v5.1.6...v5.1.7 [5.1.6]: https://github.com/Automattic/jetpack-connection/compare/v5.1.5...v5.1.6 [5.1.5]: https://github.com/Automattic/jetpack-connection/compare/v5.1.4...v5.1.5 diff --git a/composer.json b/composer.json index e7a2a70..3e0bc6c 100644 --- a/composer.json +++ b/composer.json @@ -5,19 +5,19 @@ "license": "GPL-2.0-or-later", "require": { "php": ">=7.2", - "automattic/jetpack-a8c-mc-stats": "^3.0.0", - "automattic/jetpack-admin-ui": "^0.5.0", - "automattic/jetpack-assets": "^3.0.0", - "automattic/jetpack-constants": "^3.0.0", - "automattic/jetpack-roles": "^3.0.0", - "automattic/jetpack-status": "^5.0.0", - "automattic/jetpack-redirect": "^3.0.0" + "automattic/jetpack-a8c-mc-stats": "^3.0.0-alpha", + "automattic/jetpack-admin-ui": "^0.5.0-alpha", + "automattic/jetpack-assets": "^3.0.0-alpha", + "automattic/jetpack-constants": "^3.0.0-alpha", + "automattic/jetpack-roles": "^3.0.0-alpha", + "automattic/jetpack-status": "^5.0.0-alpha", + "automattic/jetpack-redirect": "^3.0.0-alpha" }, "require-dev": { "automattic/wordbless": "@dev", "yoast/phpunit-polyfills": "^1.1.1", "brain/monkey": "2.6.1", - "automattic/jetpack-changelogger": "^5.0.0" + "automattic/jetpack-changelogger": "^5.0.0-alpha" }, "suggest": { "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." diff --git a/package.json b/package.json index e2e2183..3220ee9 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "watch": "pnpm run build && pnpm webpack watch" }, "dependencies": { - "@automattic/jetpack-connection": "^0.35.17", + "@automattic/jetpack-connection": "^0.35.16", "@automattic/jetpack-idc": "workspace:*", "@wordpress/data": "10.11.0", "@wordpress/element": "6.11.0" diff --git a/src/class-package-version.php b/src/class-package-version.php index eb7160b..77062e1 100644 --- a/src/class-package-version.php +++ b/src/class-package-version.php @@ -12,7 +12,7 @@ */ class Package_Version { - const PACKAGE_VERSION = '6.0.0'; + const PACKAGE_VERSION = '6.0.0-alpha'; const PACKAGE_SLUG = 'connection';