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 db02c17 commit 8ec689a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 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).

## [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
Expand Down Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/class-package-version.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
class Package_Version {

const PACKAGE_VERSION = '6.0.0';
const PACKAGE_VERSION = '6.0.0-alpha';

const PACKAGE_SLUG = 'connection';

Expand Down

0 comments on commit 8ec689a

Please sign in to comment.