Merge pull request #5 from gpibarra/only_and_exclude #10
Annotations
7 errors
Run Psalm:
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)
|
Run Psalm:
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)
|
Run Psalm:
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)
|
Run Psalm:
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)
|
Run Psalm:
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)
|
Run Psalm:
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)
|
Run Psalm
Process completed with exit code 2.
|
Loading