refactor: Übergangs-API der Gesamtsperre entfernt (assertWritable, writable, refusal, writeFeatures, released); DiviLocked verlangt die gesperrten Fähigkeiten, Tests bauen Zustände über ReleaseMatrices
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
c036a92b60
commit
d0d3488df8
@@ -92,16 +92,6 @@ final class ReleaseGate
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Every writing feature (CompatibilityMatrix::writeFeatures()) – for callers that know no feature.
|
||||
*
|
||||
* @throws DiviLocked
|
||||
*/
|
||||
public static function assertWritable(?int $postId = null): void
|
||||
{
|
||||
self::assertFeatures(CompatibilityMatrix::writeFeatures(), $postId);
|
||||
}
|
||||
|
||||
public static function whileProbing(int $postId, callable $write): mixed
|
||||
{
|
||||
$previous = self::$probe;
|
||||
|
||||
Reference in New Issue
Block a user