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