for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
/**
* This file is part of the php-state project.
*
* (c) Yannick Voyer <[email protected]> (http://github.com/yvoyer)
*/
namespace Star\Component\State\Event;
use Symfony\Contracts\EventDispatcher\Event;
final class TransitionWasRequested extends Event implements StateEvent
{
* @var string
private $transition;
public function __construct(string $transition)
$this->transition = $transition;
}
public function transition(): string
return $this->transition;
This check marks files that end in a newline character, i.e. an empy line.