PHP 8.2 Update #135
Annotations
10 errors
RiskyTruthyFalsyComparison:
src/Reader/Factory/ApiReaderFactory.php#L27
src/Reader/Factory/ApiReaderFactory.php:27:13: RiskyTruthyFalsyComparison: Operand of type callable():GuzzleHttp\Client|null contains type callable():GuzzleHttp\Client, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
MethodSignatureMustProvideReturnType:
src/Reader/XlsxReader.php#L102
src/Reader/XlsxReader.php:102:21: MethodSignatureMustProvideReturnType: Method Fastbolt\EntityImporter\Reader\XlsxReader::current must have a return type signature (see https://psalm.dev/282)
|
MixedAssignment:
src/Reader/XlsxReader.php#L104
src/Reader/XlsxReader.php:104:9: MixedAssignment: Unable to determine the type that $row is being assigned to (see https://psalm.dev/032)
|
MixedArgument:
src/Reader/XlsxReader.php#L108
src/Reader/XlsxReader.php:108:83: MixedArgument: Argument 1 of count cannot be mixed, expecting Countable|array<array-key, mixed> (see https://psalm.dev/030)
|
MixedArgumentTypeCoercion:
src/Reader/XlsxReader.php#L109
src/Reader/XlsxReader.php:109:34: MixedArgumentTypeCoercion: Argument 1 of array_combine expects array<array-key, array-key>, but parent type non-empty-list<mixed> provided (see https://psalm.dev/194)
|
MixedArgument:
src/Reader/XlsxReader.php#L109
src/Reader/XlsxReader.php:109:70: MixedArgument: Argument 2 of array_combine cannot be mixed, expecting array<array-key, mixed> (see https://psalm.dev/030)
|
MixedReturnStatement:
src/Reader/XlsxReader.php#L113
src/Reader/XlsxReader.php:113:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
|
MixedAssignment:
src/Reader/XlsxReader.php#L119
src/Reader/XlsxReader.php:119:9: MixedAssignment: Unable to determine the type that $this->columnHeaders is being assigned to (see https://psalm.dev/032)
|
UnusedBaselineEntry:
src/Console/Command/ImportCommand.php#L1
src/Console/Command/ImportCommand.php:0:0: UnusedBaselineEntry: Baseline for issue "MixedAssignment" has 1 extra entry. (see https://psalm.dev/316)
|
UnusedBaselineEntry:
src/Console/Command/ImportCommand.php#L1
src/Console/Command/ImportCommand.php:0:0: UnusedBaselineEntry: Baseline for issue "MixedMethodCall" has 3 extra entries. (see https://psalm.dev/316)
|