✨ Add event system for processing IpStrategy #102
ci.yaml
on: pull_request
Matrix: Check and fix coding styles using PHP CS Fixer
Matrix: Execute PHPStan analysis
Matrix: Launch PHPUnit test suite
Annotations
12 errors
Execute PHPStan analysis (8.2):
src/Event/PopEvent.php#L18
Property Flow\Event\PopEvent::$ip with generic class Flow\Ip does not specify its types: T
|
Execute PHPStan analysis (8.2):
src/Event/PullEvent.php#L18
Property Flow\Event\PullEvent::$ip with generic class Flow\Ip does not specify its types: T
|
Execute PHPStan analysis (8.2):
src/Event/PullEvent.php#L31
Method Flow\Event\PullEvent::setIp() has parameter $ip with generic class Flow\Ip but does not specify its types: T
|
Execute PHPStan analysis (8.2):
src/Event/PullEvent.php#L33
Method Flow\Event\PullEvent::setIp() should return Flow\Ip<T>|null but return statement is missing.
|
Execute PHPStan analysis (8.2):
src/Event/PushEvent.php#L18
Property Flow\Event\PushEvent::$ip with generic class Flow\Ip does not specify its types: T
|
Execute PHPStan analysis (8.2):
src/Flow/Flow.php#L50
PHPDoc tag @var for property Flow\Flow\Flow::$ipStrategy contains generic type Flow\IpStrategyInterface<mixed> but interface Flow\IpStrategyInterface is not generic.
|
Execute PHPStan analysis (8.2):
src/Flow/Flow.php#L75
PHPDoc tag @param for parameter $ipStrategy contains generic type Flow\IpStrategyInterface<mixed> but interface Flow\IpStrategyInterface is not generic.
|
Execute PHPStan analysis (8.2):
src/Flow/YFlow.php#L26
PHPDoc tag @param for parameter $ipStrategy contains generic type Flow\IpStrategyInterface<mixed> but interface Flow\IpStrategyInterface is not generic.
|
Execute PHPStan analysis (8.2):
src/IpStrategy/LinearIpStrategy.php#L19
PHPDoc tag @implements has invalid value (IpStrategyInterface): Unexpected token "\n ", expected '<' at offset 56
|
Execute PHPStan analysis (8.2):
src/IpStrategy/MaxIpStrategy.php#L19
PHPDoc tag @implements has invalid value (IpStrategyInterface): Unexpected token "\n ", expected '<' at offset 56
|
Launch PHPUnit test suite (8.2)
Process completed with exit code 2.
|
Check and fix coding styles using PHP CS Fixer (8.2)
Process completed with exit code 8.
|