refactor: rename for intent (L3)
PostChangeResult is PostSaveFollowUp (the after-save pipeline, not a result); DiviChange::changed() is record() (moved nodes are recorded but not touched). cleanValue/withoutControls were renamed in wave 2. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01At3V6SjwbMe6eMzVGW3Hs7
This commit is contained in:
@@ -19,9 +19,9 @@ final class DiviChangeTest extends TestCase
|
||||
));
|
||||
$row = $index->find('s0.r0');
|
||||
$change = (new DiviChange('x'))
|
||||
->changed($row, 'updated')
|
||||
->record($row, 'updated')
|
||||
->removed('s3.r1', Block::create('divi/row'))
|
||||
->changed(Block::create('divi/text'), 'inserted');
|
||||
->record(Block::create('divi/text'), 'inserted');
|
||||
|
||||
self::assertSame(
|
||||
['s0.r0', 's3.r1', null],
|
||||
|
||||
Reference in New Issue
Block a user