for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Archivr\ConflictHandler;
use Archivr\IndexObject;
/**
* This conflict handler always prefers the local change.
*/
class PreferLocalConflictHandler implements ConflictHandlerInterface
{
public function handleConflict(IndexObject $remoteObject, IndexObject $localObject = null, IndexObject $lastLocalObject = null): int
return ConflictHandlerInterface::USE_LOCAL;
}