Use getConstantStrings to get resolved arg string #140
Annotations
6 errors
src/Rules/PlaceholderCharactersRule.php#L38
src/Rules/PlaceholderCharactersRule.php:38:60: InvalidReturnType: The declared return type 'array<array-key, PHPStan\Rules\RuleError|string>' for Sfp\PHPStan\Psr\Log\Rules\PlaceholderCharactersRule::processNode is incorrect, got 'list<PHPStan\Rules\RuleError|null>' (see https://psalm.dev/011)
|
src/Rules/PlaceholderCharactersRule.php#L99
src/Rules/PlaceholderCharactersRule.php:99:16: InvalidReturnStatement: The inferred type 'list<PHPStan\Rules\RuleError|null>' does not match the declared return type 'array<array-key, PHPStan\Rules\RuleError|string>' for Sfp\PHPStan\Psr\Log\Rules\PlaceholderCharactersRule::processNode (see https://psalm.dev/128)
|
src/Rules/PlaceholderCorrespondToKeysRule.php#L35
src/Rules/PlaceholderCorrespondToKeysRule.php:35:60: InvalidReturnType: The declared return type 'array<array-key, PHPStan\Rules\RuleError|string>' for Sfp\PHPStan\Psr\Log\Rules\PlaceholderCorrespondToKeysRule::processNode is incorrect, got 'list<PHPStan\Rules\RuleError|non-empty-list<PHPStan\Rules\RuleError>>' (see https://psalm.dev/011)
|
src/Rules/PlaceholderCorrespondToKeysRule.php#L105
src/Rules/PlaceholderCorrespondToKeysRule.php:105:16: InvalidReturnStatement: The inferred type 'list<PHPStan\Rules\RuleError|non-empty-list<PHPStan\Rules\RuleError>>' does not match the declared return type 'array<array-key, PHPStan\Rules\RuleError|string>' for Sfp\PHPStan\Psr\Log\Rules\PlaceholderCorrespondToKeysRule::processNode (see https://psalm.dev/128)
|
src/Rules/PlaceholderCorrespondToKeysRule.php#L112
src/Rules/PlaceholderCorrespondToKeysRule.php:112:24: MismatchingDocblockReturnType: Docblock has incorrect return type 'list<PHPStan\Rules\RuleError>', should be 'PHPStan\Rules\RuleError|null' (see https://psalm.dev/142)
|
src/Rules/PlaceholderCorrespondToKeysRule.php#L112
src/Rules/PlaceholderCorrespondToKeysRule.php:112:24: MixedInferredReturnType: Could not verify return type 'list<PHPStan\Rules\RuleError>' for Sfp\PHPStan\Psr\Log\Rules\PlaceholderCorrespondToKeysRule::contextDoesNotHavePlaceholderKey (see https://psalm.dev/047)
|
The logs for this run have expired and are no longer available.
Loading