for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Storeman\ConflictHandler;
use Storeman\Index\IndexObject;
class PanickingConflictHandler implements ConflictHandlerInterface
{
public function handleConflict(IndexObject $remoteObject, ?IndexObject $localObject, ?IndexObject $lastLocalObject): int
throw new ConflictException("Occurred conflict on {$remoteObject->getRelativePath()}");
}