test(FileListener): More tests with folders #20
Annotations
10 errors
lib/Hooks/FileListener.php#L159
lib/Hooks/FileListener.php:159:60: InvalidPropertyAssignmentValue: $this->movingDirFromIgnoredTerritory with declared type 'array<array-key, mixed>|null' cannot be assigned type 'bool' (see https://psalm.dev/145)
|
lib/Hooks/FileListener.php#L200
lib/Hooks/FileListener.php:200:26: RiskyTruthyFalsyComparison: Operand of type array<array-key, mixed>|null contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
lib/Hooks/FileListener.php#L203
lib/Hooks/FileListener.php:203:45: InvalidArgument: Argument 1 of array_diff expects array<array-key, mixed>, but bool provided (see https://psalm.dev/004)
|
lib/Hooks/FileListener.php#L204
lib/Hooks/FileListener.php:204:58: InvalidArgument: Argument 2 of array_diff expects array<array-key, mixed>, but bool provided (see https://psalm.dev/004)
|
lib/Hooks/FileListener.php#L217
lib/Hooks/FileListener.php:217:70: InvalidArgument: Argument 3 of OCA\Recognize\Hooks\FileListener::postDelete expects array<array-key, mixed>|null, but true provided (see https://psalm.dev/004)
|
lib/Hooks/FileListener.php#L480
lib/Hooks/FileListener.php:480:16: MismatchingDocblockReturnType: Docblock has incorrect return type 'bool', should be 'array<array-key, mixed>' (see https://psalm.dev/142)
|
lib/Hooks/FileListener.php#L480
lib/Hooks/FileListener.php:480:16: MixedInferredReturnType: Could not verify return type 'bool' for OCA\Recognize\Hooks\FileListener::getDirIgnores (see https://psalm.dev/047)
|
lib/Service/Logger.php#L36
lib/Service/Logger.php:36:30: PossiblyInvalidArgument: Argument 1 of Symfony\Component\Console\Output\OutputInterface::writeln expects iterable<mixed, mixed>|string, but possibly different type Stringable|string provided (see https://psalm.dev/092)
|
lib/Service/Logger.php#L46
lib/Service/Logger.php:46:30: PossiblyInvalidArgument: Argument 1 of Symfony\Component\Console\Output\OutputInterface::writeln expects iterable<mixed, mixed>|string, but possibly different type Stringable|string provided (see https://psalm.dev/092)
|
lib/Service/Logger.php#L56
lib/Service/Logger.php:56:30: PossiblyInvalidArgument: Argument 1 of Symfony\Component\Console\Output\OutputInterface::writeln expects iterable<mixed, mixed>|string, but possibly different type Stringable|string provided (see https://psalm.dev/092)
|
The logs for this run have expired and are no longer available.
Loading