for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
namespace Stratadox\CardGame\Account;
use Stratadox\CardGame\CorrelationId;
use Stratadox\CardGame\RefusalEvent;
final class TriedOpeningAccountForUnknownEntity implements RefusalEvent
{
private $correlationId;
public function __construct(CorrelationId $correlationId)
$this->correlationId = $correlationId;
}
public function aggregateId(): CorrelationId
return $this->correlationId;
This check marks files that end in a newline character, i.e. an empy line.