add cli and search index updater #240
Annotations
10 errors and 5 warnings
InvalidArgument:
codepoints.net/lib/Search/Documenter.php#L48
codepoints.net/lib/Search/Documenter.php:48:21: InvalidArgument: Argument 1 of Codepoints\Unicode\CodepointInfo\Aliases::__construct expects array{db: Codepoints\Database, info: Codepoints\Unicode\PropertyInfo, lang: string}, but array{lang: 'en', ...<array-key, mixed>} provided (see https://psalm.dev/004)
|
InvalidArgument:
codepoints.net/lib/Search/Documenter.php#L49
codepoints.net/lib/Search/Documenter.php:49:18: InvalidArgument: Argument 1 of Codepoints\Unicode\CodepointInfo\CLDR::__construct expects array{db: Codepoints\Database, info: Codepoints\Unicode\PropertyInfo, lang: string}, but array{lang: 'en', ...<array-key, mixed>} provided (see https://psalm.dev/004)
|
InvalidArgument:
codepoints.net/lib/Search/Documenter.php#L50
codepoints.net/lib/Search/Documenter.php:50:25: InvalidArgument: Argument 1 of Codepoints\Unicode\CodepointInfo\Confusables::__construct expects array{db: Codepoints\Database, info: Codepoints\Unicode\PropertyInfo, lang: string}, but array{lang: 'en', ...<array-key, mixed>} provided (see https://psalm.dev/004)
|
InvalidArgument:
codepoints.net/lib/Search/Documenter.php#L51
codepoints.net/lib/Search/Documenter.php:51:19: InvalidArgument: Argument 1 of Codepoints\Unicode\CodepointInfo\Extra::__construct expects array{db: Codepoints\Database, info: Codepoints\Unicode\PropertyInfo, lang: string}, but array{lang: 'en', ...<array-key, mixed>} provided (see https://psalm.dev/004)
|
InvalidArgument:
codepoints.net/lib/Search/Documenter.php#L52
codepoints.net/lib/Search/Documenter.php:52:24: InvalidArgument: Argument 1 of Codepoints\Unicode\CodepointInfo\Properties::__construct expects array{db: Codepoints\Database, info: Codepoints\Unicode\PropertyInfo, lang: string}, but array{lang: 'en', ...<array-key, mixed>} provided (see https://psalm.dev/004)
|
InvalidArgument:
codepoints.net/lib/Search/Documenter.php#L53
codepoints.net/lib/Search/Documenter.php:53:28: InvalidArgument: Argument 1 of Codepoints\Unicode\CodepointInfo\Representation::__construct expects array{db: Codepoints\Database, info: Codepoints\Unicode\PropertyInfo, lang: string}, but array{lang: 'en', ...<array-key, mixed>} provided (see https://psalm.dev/004)
|
InvalidArgument:
codepoints.net/lib/Search/Documenter.php#L54
codepoints.net/lib/Search/Documenter.php:54:23: InvalidArgument: Argument 1 of Codepoints\Unicode\CodepointInfo\Wikipedia::__construct expects array{db: Codepoints\Database, info: Codepoints\Unicode\PropertyInfo, lang: string}, but array{lang: 'en', ...<array-key, mixed>} provided (see https://psalm.dev/004)
|
RedundantCondition:
codepoints.net/lib/Search/Documenter.php#L66
codepoints.net/lib/Search/Documenter.php:66:32: RedundantCondition: Operand of type true is always truthy (see https://psalm.dev/122)
|
PossiblyInvalidCast:
codepoints.net/lib/Search/Documenter.php#L105
codepoints.net/lib/Search/Documenter.php:105:1: PossiblyInvalidCast: array<array-key, string> cannot be cast to string (see https://psalm.dev/190)
|
UndefinedConstant:
codepoints.net/lib/Search/Documenter.php#L138
codepoints.net/lib/Search/Documenter.php:138:26: UndefinedConstant: Const SOFTWARE_VERSION is not defined (see https://psalm.dev/020)
|
MissingReturnType:
codepoints.net/lib/CommandLine.php#L13
codepoints.net/lib/CommandLine.php:13:21: MissingReturnType: Method Codepoints\CommandLine::run does not have a return type (see https://psalm.dev/050)
|
MissingReturnType:
codepoints.net/lib/CommandLine.php#L23
codepoints.net/lib/CommandLine.php:23:22: MissingReturnType: Method Codepoints\CommandLine::help does not have a return type, expecting void (see https://psalm.dev/050)
|
MissingReturnType:
codepoints.net/lib/CommandLine.php#L30
codepoints.net/lib/CommandLine.php:30:22: MissingReturnType: Method Codepoints\CommandLine::build_search does not have a return type, expecting void (see https://psalm.dev/050)
|
MissingClosureParamType:
codepoints.net/lib/Search/Documenter.php#L86
codepoints.net/lib/Search/Documenter.php:86:43: MissingClosureParamType: Parameter $item has no provided type (see https://psalm.dev/153)
|
MissingReturnType:
codepoints.net/lib/Search/Documenter.php#L131
codepoints.net/lib/Search/Documenter.php:131:21: MissingReturnType: Method Codepoints\Search\Documenter::buildNext does not have a return type, expecting void (see https://psalm.dev/050)
|