Add allFunctionsGlobal and allConstantsGlobal options #13908
Annotations
10 errors
MismatchingDocblockReturnType:
src/Psalm/Codebase.php#L593
src/Psalm/Codebase.php:593:16: MismatchingDocblockReturnType: Docblock has incorrect return type 'array<string, Psalm\Type\Union>', should be 'void' (see https://psalm.dev/142)
|
InvalidReturnType:
src/Psalm/Codebase.php#L593
src/Psalm/Codebase.php:593:16: InvalidReturnType: No return statements were found for method Psalm\Codebase::addGlobalConstantTypes but return type 'array<string, Psalm\Type\Union>' was expected (see https://psalm.dev/011)
|
UnusedParam:
src/Psalm/Codebase.php#L595
src/Psalm/Codebase.php:595:50: UnusedParam: Param #1 is never referenced in this method (see https://psalm.dev/135)
|
MixedOperand:
src/Psalm/Config.php#L675
src/Psalm/Config.php:675:51: MixedOperand: Right operand cannot be mixed (see https://psalm.dev/059)
|
PossiblyUnusedMethod:
src/Psalm/Config.php#L2630
src/Psalm/Config.php:2630:21: PossiblyUnusedMethod: Cannot find any calls to method Psalm\Config::hasStubFile (see https://psalm.dev/087)
|
MixedArgument:
src/Psalm/ErrorBaseline.php#L238
src/Psalm/ErrorBaseline.php:238:51: MixedArgument: Argument 2 of DOMElement::setAttribute cannot be mixed, expecting string (see https://psalm.dev/030)
|
MixedArgument:
src/Psalm/Internal/Analyzer/ProjectAnalyzer.php#L923
src/Psalm/Internal/Analyzer/ProjectAnalyzer.php:923:63: MixedArgument: Argument 1 of Psalm\Internal\Provider\ProjectCacheProvider::getLastRun cannot be mixed, expecting string (see https://psalm.dev/030)
|
MixedOperand:
src/Psalm/Internal/Cli/LanguageServer.php#L292
src/Psalm/Internal/Cli/LanguageServer.php:292:29: MixedOperand: Right operand cannot be mixed (see https://psalm.dev/059)
|
MixedArgument:
src/Psalm/Internal/Cli/Plugin.php#L34
src/Psalm/Internal/Cli/Plugin.php:34:48: MixedArgument: Argument 2 of Symfony\Component\Console\Application::__construct cannot be mixed, expecting string (see https://psalm.dev/030)
|
MixedOperand:
src/Psalm/Internal/Cli/Psalm.php#L253
src/Psalm/Internal/Cli/Psalm.php:253:29: MixedOperand: Right operand cannot be mixed (see https://psalm.dev/059)
|