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:
2026-09-26 18:32:18 +02:00
co-authored by Claude Opus 5.5
parent d2c5e82d63
commit 9ed5d9d2fa
20 changed files with 39 additions and 39 deletions
@@ -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],
@@ -134,7 +134,7 @@ final class DiviWriterTest extends TestCase
$button->setAttrs(AttrMap::set($button->attrs(), 'button.innerContent.desktop.value.text', 'Neu'));
$page->document->children()[0]->removeChild($removed);
$change = (new DiviChange('Button geändert'))
->changed($button, 'updated')
->record($button, 'updated')
->removed('s1', $removed)
->warning('eigene Warnung');