From a3af67df599ca8f1e28290878fa8d43c60b38316 Mon Sep 17 00:00:00 2001 From: Initsogar Date: Thu, 14 Nov 2024 20:19:38 +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 | 4 ++-- package.json | 2 +- src/class-explat.php | 2 +- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ca24cb..447c4e4 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). -## [0.2.0] - 2024-11-14 +## [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. [#40147] +- General: Update minimum PHP version to 7.2. ## [0.1.15] - 2024-11-11 ### Changed @@ -80,7 +83,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - ExPlat: add condition to prevent fetching the experiment assignment if there's not anon id (meaning that Tracks is likely disabled) [#38327] - Updated package dependencies. [#38132] -[0.2.0]: https://github.com/Automattic/jetpack-explat/compare/v0.1.15...v0.2.0 +[0.2.0-alpha]: https://github.com/Automattic/jetpack-explat/compare/v0.1.15...v0.2.0-alpha [0.1.15]: https://github.com/Automattic/jetpack-explat/compare/v0.1.14...v0.1.15 [0.1.14]: https://github.com/Automattic/jetpack-explat/compare/v0.1.13...v0.1.14 [0.1.13]: https://github.com/Automattic/jetpack-explat/compare/v0.1.12...v0.1.13 diff --git a/composer.json b/composer.json index 0df99c3..0b65f92 100644 --- a/composer.json +++ b/composer.json @@ -5,11 +5,11 @@ "license": "GPL-2.0-or-later", "require": { "php": ">=7.2", - "automattic/jetpack-connection": "^6.0.0" + "automattic/jetpack-connection": "^6.0.0-alpha" }, "require-dev": { "yoast/phpunit-polyfills": "^1.1.1", - "automattic/jetpack-changelogger": "^5.0.0" + "automattic/jetpack-changelogger": "^5.0.0-alpha" }, "autoload": { "classmap": [ diff --git a/package.json b/package.json index 0cc5de9..8e6f68f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-explat", - "version": "0.2.0", + "version": "0.2.0-alpha", "description": "A package for running A/B tests on the Experimentation Platform (ExPlat) in the plugin.", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/packages/explat/#readme", "bugs": { diff --git a/src/class-explat.php b/src/class-explat.php index ad122ad..683b7ec 100644 --- a/src/class-explat.php +++ b/src/class-explat.php @@ -20,7 +20,7 @@ class ExPlat { * * @var string */ - const PACKAGE_VERSION = '0.2.0'; + const PACKAGE_VERSION = '0.2.0-alpha'; /** * Initializer.