-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Lock file maintenance * Address Phan issues due to php-stubs/wordpress-stubs upgrade * Some typecasts to account for better Core type delcarations. * Suppress `current_user_can_for_blog` → `current_user_can_for_site` until we drop 6.6 support. * Hack around Core SimplePie renaming Core upgraded their copy-pasted SimplePie library, which included renaming all the classes. While they did provide back-compat aliases, we run into a few problems: * A method parameter type of `SimplePie_Item` won't accept `SimplePie\Item`, while `SimplePie\Item` won't work on WP 6.6. * It's really hard to make Phan happy for both the two runs (with 6.7 stubs and with 6.6 stubs). The best I was able to come up with was this: * Turn on `enable_class_alias_support`. * Alias `Jetpack\SimplePie\<name>` to the appropriate classes, and use those aliases everywhere. * Have phan load only one of the two alias files, depending on which run it's doing. * Merge all the test mocks into one file and load them from bootstrap.php. --------- Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: Brad Jorsch <[email protected]>
- Loading branch information
1 parent
c4ce87e
commit ceebd52
Showing
62 changed files
with
3,304 additions
and
2,509 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
projects/packages/image-cdn/changelog/renovate-lock-file-maintenance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Significance: patch | ||
Type: fixed | ||
Comment: Add a cast to make Phan happy. Should be no change to functionality. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
projects/plugins/automattic-for-agencies-client/changelog/renovate-lock-file-maintenance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: patch | ||
Type: changed | ||
|
||
Updated package dependencies. |
114 changes: 57 additions & 57 deletions
114
projects/plugins/automattic-for-agencies-client/composer.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
projects/plugins/backup/changelog/renovate-lock-file-maintenance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: patch | ||
Type: changed | ||
|
||
Updated package dependencies. |
Oops, something went wrong.