use new api to run old tests #67
Annotations
11 errors
|
Psalm:
src/Internal/Stream/Exception/InvalidArgumentException.php#L6
src/Internal/Stream/Exception/InvalidArgumentException.php:6:7: ClassMustBeFinal: Class Innmind\IO\Internal\Stream\Exception\InvalidArgumentException is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
Psalm:
src/Internal/Stream/Readable/Stream.php#L45
src/Internal/Stream/Readable/Stream.php:45:25: PossiblyFalseArgument: Argument 1 of Innmind\IO\Internal\Stream\Readable\Stream::__construct cannot be false, possibly resource value expected (see https://psalm.dev/104)
|
Psalm:
src/Internal/Stream/Readable/Stream.php#L51
src/Internal/Stream/Readable/Stream.php:51:17: PossiblyFalseArgument: Argument 1 of fwrite cannot be false, possibly resource value expected (see https://psalm.dev/104)
|
Psalm:
src/Internal/Stream/Readable/Stream.php#L53
src/Internal/Stream/Readable/Stream.php:53:25: PossiblyFalseArgument: Argument 1 of Innmind\IO\Internal\Stream\Readable\Stream::__construct cannot be false, possibly resource value expected (see https://psalm.dev/104)
|
Psalm:
src/Internal/Stream/Stream/Stream.php#L76
src/Internal/Stream/Stream/Stream.php:76:29: PossiblyFalseArgument: Argument 1 of Innmind\IO\Internal\Stream\Stream\Position::__construct cannot be false, possibly int value expected (see https://psalm.dev/104)
|
Psalm:
src/Internal/Stream/Streams/Temporary.php#L28
src/Internal/Stream/Streams/Temporary.php:28:41: PossiblyFalseArgument: Argument 1 of Innmind\IO\Internal\Stream\Stream\Bidirectional::of cannot be false, possibly resource value expected (see https://psalm.dev/104)
|
Psalm:
src/Internal/Stream/Streams/Writable.php#L28
src/Internal/Stream/Streams/Writable.php:28:33: PossiblyFalseArgument: Argument 1 of Innmind\IO\Internal\Stream\Writable\Stream::of cannot be false, possibly resource value expected (see https://psalm.dev/104)
|
Psalm:
src/Next/Files/Read.php#L45
src/Next/Files/Read.php:45:35: PossiblyFalseArgument: Argument 1 of Innmind\IO\Internal\Stream\Streams\Readable::acquire cannot be false, possibly resource value expected (see https://psalm.dev/104)
|
Psalm:
src/Next/Files/Read.php#L62
src/Next/Files/Read.php:62:23: ArgumentTypeCoercion: Argument 1 of Innmind\Immutable\Either::map expects callable(Innmind\IO\Internal\Stream\Stream):Innmind\IO\Readable\Stream<Innmind\IO\Internal\Stream\Readable>, but parent type impure-Closure(Innmind\IO\Internal\Stream\Readable):Innmind\IO\Readable\Stream provided (see https://psalm.dev/193)
|
Psalm:
src/Next/Sockets/Clients/Client.php#L93
src/Next/Sockets/Clients/Client.php:93:28: ImpureMethodCall: Cannot call a possibly-mutating method Innmind\IO\Sockets\Client::heartbeatWith from a mutation-free context (see https://psalm.dev/203)
|
Loading