Skip to content

Commit fe69539

Browse files
anomiexmatticbot
authored andcommitted
Lock file maintenance (#43425)
* Lock file maintenance * Downgrade `@automattic/data-stores` again Same as last time, no new release since the broken 3.1.1. Add a pnpmfile hack for it this time. * Fix Phan issues. * Various stringified-int fields in WP_Comment and WP_Post are now being initiailized with actual stringified ints, causing Phan to no longer consider them as "string|int" type, so they need to be cast when being passed to int-taking functions. * Exclude Boost's polyfill for a WP-6.8-added class from Phan when 6.8 is being used. Also suppress the "undeclared method" for some calls in the tests for the polyfill. * String cast for `untrailingslashit()` in one place now that the phpdoc is correct so Phan knows it takes a string. * Bunch of baselines need updating now that `WP_Widget::form()` is `@return string|void` so PhanTypeMissingReturn is no longer triggered. Return types explicitly set to that so old-WP Phan run is happy too. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/15002718041 Upstream-Ref: Automattic/jetpack@e13fd52
1 parent f43d2d8 commit fe69539

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.48.1-alpha] - unreleased
9+
10+
This is an alpha version! The changes listed here are not final.
11+
812
## [0.48.0] - 2025-05-12
913
### Added
1014
- Surface search corrections when correcting search terms. [#42473]
@@ -1214,6 +1218,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
12141218
- Updated package dependencies.
12151219
- Update PHPUnit configs to include just what needs coverage rather than include everything then try to exclude stuff that doesn't.
12161220

1221+
[0.48.1-alpha]: https://github.com/Automattic/jetpack-search/compare/v0.48.0...v0.48.1-alpha
12171222
[0.48.0]: https://github.com/Automattic/jetpack-search/compare/v0.47.24...v0.48.0
12181223
[0.47.24]: https://github.com/Automattic/jetpack-search/compare/v0.47.23...v0.47.24
12191224
[0.47.23]: https://github.com/Automattic/jetpack-search/compare/v0.47.22...v0.47.23

src/class-package.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Search package general information
1212
*/
1313
class Package {
14-
const VERSION = '0.48.0';
14+
const VERSION = '0.48.1-alpha';
1515
const SLUG = 'search';
1616

1717
/**

src/widgets/class-search-widget.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,7 @@ protected function maybe_reformat_widget( $widget_instance ) {
737737
* Outputs the settings update form.
738738
*
739739
* @param array $instance Previously saved values from database.
740+
* @return string|void
740741
* @since 5.0.0
741742
*/
742743
public function form( $instance ) {

0 commit comments

Comments
 (0)