for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
namespace Stratadox\CardGame\Proposal;
use RuntimeException;
final class ProposalHasAlreadyExpired extends RuntimeException
{
public static function cannotAcceptItAnymore(): self
return new self(
'The proposal cannot be accepted anymore, because it has expired.'
);
}
This check marks files that end in a newline character, i.e. an empy line.