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 #41152

Merged
merged 1 commit into from
Jan 17, 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
22 changes: 21 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 b97a8d79ff4f32395c77389fb22c900517a9d1a1.
* Stubs automatically generated from WordPress.com commit c22dbf3bcf2334f7010cf491a7817654b95c54fe.
*/

namespace {
Expand Down Expand Up @@ -252,6 +252,18 @@ function header_js()
function global_css()
{
}
class WPCOM_External_Connections
{
/**
* @return WPCOM_External_Connections
*/
static function init()
{
}
public function get_external_services_list($type = \false, $blog_id = \false)
{
}
}
class WPCOM_Google_Sheets_Helper
{
/**
Expand Down Expand Up @@ -1451,6 +1463,14 @@ function prompt_without_blocks($prompt_html)
function assign_current_user(string $experiment_name): ?string
{
}
/**
* @param string $experiment_name
* @param \WP_User $user
* @return string|null
*/
function assign_given_user(string $experiment_name, \WP_User $user): ?string
{
}
}
namespace JITM {
class Engine
Expand Down
Loading