Add phpunit in CI #7
Annotations
10 errors and 1 warning
PossiblyInvalidArgument:
src/Application.php#L130
src/Application.php:130:46: PossiblyInvalidArgument: Argument 1 of Buggregator\Trap\Sender::send expects iterable<int, Buggregator\Trap\Proto\Frame>, but possibly different type array<array-key, Buggregator\Trap\Proto\Frame> provided (see https://psalm.dev/092)
|
ArgumentTypeCoercion:
src/Command/Run.php#L59
src/Command/Run.php:59:35: ArgumentTypeCoercion: Argument 1 of Buggregator\Trap\Config\SocketServer::__construct expects int<1, 65535>, but parent type int provided (see https://psalm.dev/193)
|
PropertyNotSetInConstructor:
src/Command/Test.php#L31
src/Command/Test.php:31:20: PropertyNotSetInConstructor: Property Buggregator\Trap\Command\Test::$logger is not defined in constructor of Buggregator\Trap\Command\Test or in any private or final methods called in the constructor (see https://psalm.dev/074)
|
MixedArgument:
src/Command/Test.php#L200
src/Command/Test.php:200:17: MixedArgument: Argument 3 of Symfony\Component\Console\Output\OutputInterface::write cannot be mixed, expecting int (see https://psalm.dev/030)
|
TypeDoesNotContainNull:
src/Command/Test.php#L208
src/Command/Test.php:208:13: TypeDoesNotContainNull: string does not contain null (see https://psalm.dev/090)
|
MixedArgument:
src/Command/Test.php#L217
src/Command/Test.php:217:13: MixedArgument: Argument 3 of Symfony\Component\Console\Output\OutputInterface::write cannot be mixed, expecting int (see https://psalm.dev/030)
|
RedundantCondition:
src/Command/Test.php#L248
src/Command/Test.php:248:17: RedundantCondition: Type resource for $fp is always resource (see https://psalm.dev/122)
|
RedundantCondition:
src/Command/Test.php#L248
src/Command/Test.php:248:31: RedundantCondition: Type resource for $fp is always resource (see https://psalm.dev/122)
|
InternalMethod:
src/Handler/Http/Emitter.php#L37
src/Handler/Http/Emitter.php:37:24: InternalMethod: The method Buggregator\Trap\Traffic\StreamClient::sendData is internal to Buggregator\Trap\Traffic but called from Buggregator\Trap\Handler\Http\Emitter::emit (see https://psalm.dev/175)
|
InternalMethod:
src/Handler/Http/Emitter.php#L107
src/Handler/Http/Emitter.php:107:28: InternalMethod: The method Buggregator\Trap\Traffic\StreamClient::sendData is internal to Buggregator\Trap\Traffic but called from Buggregator\Trap\Handler\Http\Emitter::emitBody (see https://psalm.dev/175)
|
Psalm Validation (PHP 8.2, OS ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|