Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phan: Update wpcom stubs #41016

Merged
merged 1 commit into from
Jan 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion .phan/stubs/wpcom-stubs.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* `bin/teamcity-builds/jetpack-stubs/stub-defs.php` and regenerate the stubs
* by triggering the Jetpack Staging → Update WPCOM Stubs job in TeamCity.
*
* Stubs automatically generated from WordPress.com commit 27c49bf2f318cd2fb105e5bd9719a910def72a53.
* Stubs automatically generated from WordPress.com commit b97a8d79ff4f32395c77389fb22c900517a9d1a1.
*/

namespace {
Expand Down Expand Up @@ -109,6 +109,9 @@ function __construct()
public function republicize_post($post_id, $message, $skip_connections, $check_feature = \false, $sync = \true, $_user_id = \null)
{
}
public function get_all_connections_for_blog_id($_blog_id = \false, $format = 'complete')
{
}
}
/**
* @param int $blog_id
Expand Down Expand Up @@ -461,6 +464,24 @@ public static function filter_blog($blog_id, $filters)
{
}
}
class Social_Connections_Rest_Helper
{
/**
* @return Jetpack_Social_Connections
*/
public static function init()
{
}
public function delete_publicize_connection($publicize_connection_id, $blog_id = \false)
{
}
public function create_publicize_connection($input)
{
}
public function update_connection($publicize_connection_id, $input, $blog_id = \false)
{
}
}
/**
* @param string|int|WP_User $identity
* @param string $event_name
Expand Down
Loading