Skip to content

Fix styling

Fix styling #11

Triggered via push April 25, 2024 18:48
Status Failure
Total duration 43s
Artifacts

psalm.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors
RiskyTruthyFalsyComparison: src/Commands/FindMissingTranslations.php#L53
src/Commands/FindMissingTranslations.php:53:29: RiskyTruthyFalsyComparison: Operand of type array<array-key, mixed>|bool|null|string contains types array<array-key, mixed>|string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
InvalidScalarArgument: src/Commands/FindMissingTranslations.php#L53
src/Commands/FindMissingTranslations.php:53:57: InvalidScalarArgument: Argument 2 of explode expects string, but non-empty-array<array-key, mixed>|non-falsy-string|true provided (see https://psalm.dev/012)
RiskyTruthyFalsyComparison: src/Commands/FindMissingTranslations.php#L55
src/Commands/FindMissingTranslations.php:55:32: RiskyTruthyFalsyComparison: Operand of type array<array-key, mixed>|bool|null|string contains types array<array-key, mixed>|string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
InvalidScalarArgument: src/Commands/FindMissingTranslations.php#L55
src/Commands/FindMissingTranslations.php:55:63: InvalidScalarArgument: Argument 2 of explode expects string, but non-empty-array<array-key, mixed>|non-falsy-string|true provided (see https://psalm.dev/012)
MixedArgument: src/Commands/FindMissingTranslations.php#L83
src/Commands/FindMissingTranslations.php:83:42: MixedArgument: Argument 2 of preg_match cannot be mixed, expecting string (see https://psalm.dev/030)
LessSpecificImplementedReturnType: tests/TestCase.php#L16
tests/TestCase.php:16:16: LessSpecificImplementedReturnType: The inherited return type 'array<int, class-string>' for Orchestra\Testbench\Concerns\CreatesApplication::getPackageProviders is more specific than the implemented return type for Diglabby\FindMissingTranslations\Tests\TestCase::getpackageproviders 'array<array-key, mixed>' (see https://psalm.dev/166)
psalm
Process completed with exit code 2.