Add enable_clock_in_out toggle for branches

This commit is contained in:
2026-07-06 11:51:11 +08:00
parent 3872cabda2
commit 0c43ac406b
5629 changed files with 289948 additions and 53147 deletions

View File

@@ -0,0 +1,11 @@
<?php
namespace Safe\Exceptions;
class XdiffException extends \ErrorException implements SafeExceptionInterface
{
public static function createFromPhpError(): self
{
$error = error_get_last();
return new self($error['message'] ?? 'An error occurred', 0, $error['type'] ?? 1);
}
}