fix: StoredNodeGuard checks URLs, value keys and library ids strictly (P17)
URLs must be sanitizer-stable, keys inside values follow ValueCleaner::VALUE_KEY, instances need a digits-only globalModule; state keys reuse AttrWriter::STATES. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -438,7 +438,12 @@ final class ShortformWriterTest extends TestCase
|
||||
}
|
||||
|
||||
$modules = ['raw' => [
|
||||
'effects' => ['path' => 'module.decoration.interactions', 'sub' => 'interactions', 'kind' => 'text', 'description' => 'x'],
|
||||
'effects' => [
|
||||
'path' => 'module.decoration.interactions',
|
||||
'sub' => 'interactions',
|
||||
'kind' => 'text',
|
||||
'description' => 'x',
|
||||
],
|
||||
]];
|
||||
foreach (['data-probe', null] as $value) {
|
||||
$result = ComposeFixture::shortform(false, $modules)->apply('raw', self::BASE, ['effects' => $value], 'n');
|
||||
|
||||
Reference in New Issue
Block a user