✨ Add event system for processing IpStrategy #103
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
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
11 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/MaxIpStrategy.php#L45
Method Flow\IpStrategy\MaxIpStrategy::push() has parameter $event with generic class Flow\Event\PushEvent but does not specify its types: T
|
Execute PHPStan analysis (8.2):
src/IpStrategy/MaxIpStrategy.php#L53
Method Flow\IpStrategy\MaxIpStrategy::pull() has parameter $event with generic class Flow\Event\PullEvent but does not specify its types: T
|
Launch PHPUnit test suite (8.2)
Process completed with exit code 2.
|