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;
final class NotFoundException extends \Exception
{
public static function stateNotFound(string $name): self
return new self(\sprintf("The state '%s' could not be found.", $name));
}
public static function transitionNotFound(string $name): self
return new self(sprintf("The transition '%s' could not be found.", $name));
This check marks files that end in a newline character, i.e. an empy line.