Failed Conditions
Pull Request — release/3.0.0 (#34)
by Yo
01:56
created

src/Domain/JsonRpcServerDispatcherInterface.php (1 issue)

Labels
Severity
1
<?php
2
namespace Yoanm\JsonRpcServer\Domain;
3
4
use Yoanm\JsonRpcServer\Domain\Event\JsonRpcServerEvent;
0 ignored issues
show
The type Yoanm\JsonRpcServer\Doma...vent\JsonRpcServerEvent was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
5
6
/**
7
 * Class JsonRpcServerDispatcherInterface
8
 */
9
interface JsonRpcServerDispatcherInterface
10
{
11
    /**
12
     * @param JsonRpcServerEvent $event
13
     */
14
    public function dispatchJsonRpcEvent(string $eventName, JsonRpcServerEvent $event = null);
15
16
    /**
17
     * @param string   $eventName
18
     * @param callable $listener
19
     */
20
    public function addJsonRpcListener(string $eventName, $listener);
21
}
22