Skip to content

Commit 1f4693d

Browse files
committed
CS: Multiline comment format.
1 parent 0b067a5 commit 1f4693d

1 file changed

Lines changed: 13 additions & 9 deletions

File tree

tests/phpunit/tests/rest-api/rest-sync-server.php

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -966,12 +966,14 @@ public function test_sync_stale_compaction_is_stored_as_update_when_newer_compac
966966
)
967967
);
968968

969-
// Client 3 sends a stale compaction at cursor 0 (mirroring two offline
970-
// clients that reconnect from the same baseline cursor). The server
971-
// cannot run remove_updates_before_cursor because client 2 has already
972-
// advanced the frontier, but the bytes must still be stored as a
973-
// regular update so client 3's operations can propagate to other
974-
// clients via Yjs state-as-update merging.
969+
/*
970+
* Client 3 sends a stale compaction at cursor 0 (mirroring two offline
971+
* clients that reconnect from the same baseline cursor). The server
972+
* cannot run remove_updates_before_cursor because client 2 has already
973+
* advanced the frontier, but the bytes must still be stored as a
974+
* regular update so client 3's operations can propagate to other
975+
* clients via Yjs state-as-update merging.
976+
*/
975977
$stale_compaction = array(
976978
'type' => 'compaction',
977979
'data' => 'c3RhbGU=',
@@ -984,9 +986,11 @@ public function test_sync_stale_compaction_is_stored_as_update_when_newer_compac
984986

985987
$this->assertSame( 200, $response->get_status() );
986988

987-
// Verify the newer compaction is preserved AND the stale compaction's
988-
// bytes were persisted (now as type=update so subsequent compactions
989-
// don't trip the has_newer_compaction check).
989+
/*
990+
* Verify the newer compaction is preserved AND the stale compaction's
991+
* bytes were persisted (now as type=update so subsequent compactions
992+
* don't trip the has_newer_compaction check).
993+
*/
990994
$response = $this->dispatch_sync(
991995
array(
992996
$this->build_room( $room, 4, 0, array( 'user' => 'c4' ) ),

0 commit comments

Comments
 (0)