Issues (1124)

src/EventRegistry.php (4 issues)

1
<?php declare(strict_types=1);
2
3
namespace Star\Component\State;
4
5
use Star\Component\State\Event\StateEvent;
6
7
interface EventRegistry
0 ignored issues
show
Missing class doc comment
Loading history...
8
{
0 ignored issues
show
Opening brace should be on the same line as the declaration for interface EventRegistry
Loading history...
9
    public function dispatch(string $name, StateEvent $event): void;
10
11
    public function addListener(string $event, callable $listener): void;
12
}
0 ignored issues
show
Expected //end interface
Loading history...
As per coding style, files should not end with a newline character.

This check marks files that end in a newline character, i.e. an empy line.

Loading history...
13