Skip to content

Commit

Permalink
Codesniffer: remove PHP 7.0 and 7.1 support (#40174)
Browse files Browse the repository at this point in the history
* 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@8ee1c37
  • Loading branch information
Initsogar authored and matticbot committed Nov 14, 2024
1 parent 393c9f6 commit a3af67d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
9 changes: 6 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/class-explat.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ExPlat {
*
* @var string
*/
const PACKAGE_VERSION = '0.2.0';
const PACKAGE_VERSION = '0.2.0-alpha';

/**
* Initializer.
Expand Down

0 comments on commit a3af67d

Please sign in to comment.