Skip to content

Variadic params should always be optional and fix redundant optional variadic annotation #12987

Variadic params should always be optional and fix redundant optional variadic annotation

Variadic params should always be optional and fix redundant optional variadic annotation #12987

Status Failure
Total duration 59s
Artifacts

shepherd.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
TooFewArguments: examples/TemplateChecker.php#L65
examples/TemplateChecker.php:65:30: TooFewArguments: Possibly too few arguments for Psalm\Internal\MethodIdentifier::__construct - expecting 2 but possibly only 1 provided (see https://psalm.dev/025)
TooFewArguments: examples/plugins/FunctionCasingChecker.php#L38
examples/plugins/FunctionCasingChecker.php:38:26: TooFewArguments: Possibly too few arguments for Psalm\Internal\MethodIdentifier::__construct - expecting 2 but possibly only 1 provided (see https://psalm.dev/025)
TooFewArguments: src/Psalm/Codebase.php#L962
src/Psalm/Codebase.php:962:26: TooFewArguments: Possibly too few arguments for Psalm\Internal\MethodIdentifier::__construct - expecting 2 but possibly only 1 provided (see https://psalm.dev/025)
TooFewArguments: src/Psalm/Codebase.php#L1011
src/Psalm/Codebase.php:1011:30: TooFewArguments: Possibly too few arguments for Psalm\Internal\MethodIdentifier::__construct - expecting 2 but possibly only 1 provided (see https://psalm.dev/025)
TooFewArguments: src/Psalm/Codebase.php#L1220
src/Psalm/Codebase.php:1220:34: TooFewArguments: Possibly too few arguments for Psalm\Internal\MethodIdentifier::__construct - expecting 2 but possibly only 1 provided (see https://psalm.dev/025)
TooFewArguments: src/Psalm/Codebase.php#L1363
src/Psalm/Codebase.php:1363:34: TooFewArguments: Possibly too few arguments for Psalm\Internal\MethodIdentifier::__construct - expecting 2 but possibly only 1 provided (see https://psalm.dev/025)
TooFewArguments: src/Psalm/Codebase.php#L1449
src/Psalm/Codebase.php:1449:34: TooFewArguments: Possibly too few arguments for Psalm\Internal\MethodIdentifier::__construct - expecting 2 but possibly only 1 provided (see https://psalm.dev/025)
TooFewArguments: src/Psalm/Codebase.php#L1660
src/Psalm/Codebase.php:1660:26: TooFewArguments: Possibly too few arguments for Psalm\Internal\MethodIdentifier::__construct - expecting 2 but possibly only 1 provided (see https://psalm.dev/025)
TooFewArguments: src/Psalm/Config/Creator.php#L165
src/Psalm/Config/Creator.php:165:16: TooFewArguments: Possibly too few arguments for max - expecting 2 but possibly only 1 provided (see https://psalm.dev/025)
RedundantCondition: src/Psalm/Internal/Analyzer/Statements/Expression/Call/ArgumentsAnalyzer.php#L835
src/Psalm/Internal/Analyzer/Statements/Expression/Call/ArgumentsAnalyzer.php:835:25: RedundantCondition: Type list{Psalm\Type\Union, Psalm\Type\Union} for $array_type->type_params is always isset (see https://psalm.dev/122)