for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Install GitHub App
<?php declare(strict_types=1);
namespace Smr\Pages\Player;
use AbstractSmrPlayer;
use Smr\Page\PlayerPageProcessor;
use Smr\Page\ReusableTrait;
use Smr\SectorLock;
use Smr\SectorsFile;
class SectorsFileDownloadProcessor extends PlayerPageProcessor {
use ReusableTrait;
public function build(AbstractSmrPlayer $player): never {
// We can release the sector lock now because we know that the following
// code is read-only. This will help reduce sector lag and possible abuse.
SectorLock::getInstance()->release();
SectorsFile::create($player->getGameID(), $player);
}