Completed
Push — feature/replace-yarn-1-with-pn... ( 6bc43e...87dbb1 )
by
unknown
35:33 queued 25:41
created
plugins/jetpack/tests/php/sync/test_class.jetpack-sync-plugins-updates.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -125,6 +125,9 @@
 block discarded – undo
125 125
 		remove_filter( 'site_transient_update_plugins' , array( $this, 'set_update_plugin_transient' ) );
126 126
 	}
127 127
 
128
+	/**
129
+	 * @param Silent_Upgrader_Skin $skin
130
+	 */
128 131
 	function update_bulk_plugins( $skin ) {
129 132
 		require_once ABSPATH . 'wp-admin/includes/plugin-install.php';
130 133
 		require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
Please login to merge, or discard this patch.
projects/plugins/jetpack/tests/php/sync/test_class.jetpack-sync-themes.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -401,6 +401,9 @@
 block discarded – undo
401 401
 		$this->assertEquals( $event->args[0]['title'], 'My Widget' );
402 402
 	}
403 403
 
404
+	/**
405
+	 * @param string $slug
406
+	 */
404 407
 	private function install_theme( $slug ) {
405 408
 		require_once ABSPATH . 'wp-admin/includes/theme-install.php';
406 409
 		require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
Please login to merge, or discard this patch.
projects/plugins/jetpack/tests/php/sync/test_class.jetpack-sync-updates.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -69,6 +69,9 @@  discard block
 block discarded – undo
69 69
 		$this->assertTrue( (bool) $has_action );
70 70
 	}
71 71
 
72
+	/**
73
+	 * @param string $new_version
74
+	 */
72 75
 	function new_plugin_response( $new_version ) {
73 76
 		return (object) array(
74 77
 			'response' => array(
@@ -131,6 +134,9 @@  discard block
 block discarded – undo
131 134
 		$this->assertTrue( (bool) $has_action );
132 135
 	}
133 136
 
137
+	/**
138
+	 * @param string $new_version
139
+	 */
134 140
 	public function new_theme_response( $new_version ) {
135 141
 		return (object) array(
136 142
 			'response' => array(
Please login to merge, or discard this patch.
plugins/jetpack/tests/php/sync/test_class.jetpack-sync-woocommerce.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -312,6 +312,10 @@
 block discarded – undo
312 312
 		}
313 313
 	}
314 314
 
315
+	/**
316
+	 * @param string $expected_meta_key
317
+	 * @param integer $expected_meta_value
318
+	 */
315 319
 	private function assertHasObjectMetaValue( $metas, $order_item_id, $expected_meta_key, $expected_meta_value ) {
316 320
 		$has_meta_entry = false;
317 321
 		foreach( $metas as $meta ) {
Please login to merge, or discard this patch.
plugins/jetpack/tests/php/sync/test_interface.jetpack-sync-replicastore.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -1032,6 +1032,9 @@
 block discarded – undo
1032 1032
 		return $return;
1033 1033
 	}
1034 1034
 
1035
+	/**
1036
+	 * @param string $slug
1037
+	 */
1035 1038
 	private function ensure_synced_taxonomy( $store, $slug, $type = 'post' ) {
1036 1039
 		register_taxonomy(
1037 1040
 			$slug,
Please login to merge, or discard this patch.
projects/plugins/jetpack/tests/php/lib/wpcom-helper-functions.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -13,6 +13,7 @@
 block discarded – undo
13 13
 
14 14
 /**
15 15
  * Wrapper around `WP_REST_Request` constructor. Injects a `sites/$blog_id` into endpoint string for WPCOM environment
16
+ * @param string $path
16 17
  */
17 18
 function wp_rest_request( $method, $path ) {
18 19
 	if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
Please login to merge, or discard this patch.
projects/plugins/jetpack/modules/memberships/class-jetpack-memberships.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
 	 * @param array $post_types - other post types.
194 194
 	 *
195 195
 	 * @see hook 'rest_api_allowed_post_types'
196
-	 * @return array
196
+	 * @return string[]
197 197
 	 */
198 198
 	public function allow_rest_api_types( $post_types ) {
199 199
 		$post_types[] = self::$post_type_plan;
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
 	 * (because it requires a plan upgrade or Stripe connection), and the
255 255
 	 * button is a child of a Premium Content block.
256 256
 	 *
257
-	 * @param WP_Block $block Recurring Payments block instance.
257
+	 * @param WP_Block|null $block Recurring Payments block instance.
258 258
 	 *
259 259
 	 * @return boolean
260 260
 	 */
Please login to merge, or discard this patch.