Apply fixes from StyleCI #3108
Annotations
23 errors
MethodSignatureMismatch:
src/Expression/ExpressionBuilder.php#L20
src/Expression/ExpressionBuilder.php:20:38: MethodSignatureMismatch: Argument 1 of Yiisoft\Db\Expression\ExpressionBuilder::build has wrong type 'Yiisoft\Db\Expression\Expression', expecting 'Yiisoft\Db\Expression\ExpressionInterface' as defined by Yiisoft\Db\Expression\ExpressionBuilderInterface::build (see https://psalm.dev/042)
|
MoreSpecificImplementedParamType:
src/Expression/ExpressionBuilder.php#L20
src/Expression/ExpressionBuilder.php:20:38: MoreSpecificImplementedParamType: Argument 1 of Yiisoft\Db\Expression\ExpressionBuilder::build has the more specific type 'Yiisoft\Db\Expression\Expression', expecting 'Yiisoft\Db\Expression\ExpressionInterface' as defined by Yiisoft\Db\Expression\ExpressionBuilderInterface::build (see https://psalm.dev/140)
|
MixedInferredReturnType:
src/Expression/ExpressionBuilder.php#L20
src/Expression/ExpressionBuilder.php:20:73: MixedInferredReturnType: Could not verify return type 'string' for Yiisoft\Db\Expression\ExpressionBuilder::build (see https://psalm.dev/047)
|
UndefinedInterfaceMethod:
src/Expression/ExpressionBuilder.php#L22
src/Expression/ExpressionBuilder.php:22:53: UndefinedInterfaceMethod: Method Yiisoft\Db\Expression\ExpressionInterface::getParams does not exist (see https://psalm.dev/181)
|
MixedReturnStatement:
src/Expression/ExpressionBuilder.php#L23
src/Expression/ExpressionBuilder.php:23:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
|
UndefinedInterfaceMethod:
src/Expression/ExpressionBuilder.php#L23
src/Expression/ExpressionBuilder.php:23:29: UndefinedInterfaceMethod: Method Yiisoft\Db\Expression\ExpressionInterface::__toString does not exist (see https://psalm.dev/181)
|
MismatchingDocblockParamType:
src/Expression/ExpressionBuilderInterface.php#L29
src/Expression/ExpressionBuilderInterface.php:29:15: MismatchingDocblockParamType: Parameter $expression has wrong type 'Yiisoft\Db\Expression\ExpressionInterface', should be 'Yiisoft\Db\Expression\Expression' (see https://psalm.dev/141)
|
MethodSignatureMismatch:
src/Query/QueryExpressionBuilder.php#L30
src/Query/QueryExpressionBuilder.php:30:42: MethodSignatureMismatch: Argument 1 of Yiisoft\Db\Query\QueryExpressionBuilder::build has wrong type 'Yiisoft\Db\Query\QueryInterface', expecting 'Yiisoft\Db\Expression\ExpressionInterface' as defined by Yiisoft\Db\Expression\ExpressionBuilderInterface::build (see https://psalm.dev/042)
|
MoreSpecificImplementedParamType:
src/Query/QueryExpressionBuilder.php#L30
src/Query/QueryExpressionBuilder.php:30:42: MoreSpecificImplementedParamType: Argument 1 of Yiisoft\Db\Query\QueryExpressionBuilder::build has the more specific type 'Yiisoft\Db\Query\QueryInterface', expecting 'Yiisoft\Db\Expression\ExpressionInterface' as defined by Yiisoft\Db\Expression\ExpressionBuilderInterface::build (see https://psalm.dev/140)
|
ArgumentTypeCoercion:
src/Query/QueryExpressionBuilder.php#L32
src/Query/QueryExpressionBuilder.php:32:54: ArgumentTypeCoercion: Argument 1 of Yiisoft\Db\QueryBuilder\QueryBuilderInterface::build expects Yiisoft\Db\Query\QueryInterface, but parent type Yiisoft\Db\Expression\ExpressionInterface provided (see https://psalm.dev/193)
|
psalm / PHP 8.2-ubuntu-latest
The job was canceled because "ubuntu-latest_8_0" failed.
|
psalm / PHP 8.2-ubuntu-latest
The operation was canceled.
|
psalm / PHP 8.1-ubuntu-latest
The job was canceled because "ubuntu-latest_8_0" failed.
|
MethodSignatureMismatch:
src/Expression/ExpressionBuilder.php#L20
src/Expression/ExpressionBuilder.php:20:38: MethodSignatureMismatch: Argument 1 of Yiisoft\Db\Expression\ExpressionBuilder::build has wrong type 'Yiisoft\Db\Expression\Expression', expecting 'Yiisoft\Db\Expression\ExpressionInterface' as defined by Yiisoft\Db\Expression\ExpressionBuilderInterface::build (see https://psalm.dev/042)
|
MoreSpecificImplementedParamType:
src/Expression/ExpressionBuilder.php#L20
src/Expression/ExpressionBuilder.php:20:38: MoreSpecificImplementedParamType: Argument 1 of Yiisoft\Db\Expression\ExpressionBuilder::build has the more specific type 'Yiisoft\Db\Expression\Expression', expecting 'Yiisoft\Db\Expression\ExpressionInterface' as defined by Yiisoft\Db\Expression\ExpressionBuilderInterface::build (see https://psalm.dev/140)
|
MixedInferredReturnType:
src/Expression/ExpressionBuilder.php#L20
src/Expression/ExpressionBuilder.php:20:73: MixedInferredReturnType: Could not verify return type 'string' for Yiisoft\Db\Expression\ExpressionBuilder::build (see https://psalm.dev/047)
|
MixedArgument:
src/Expression/ExpressionBuilder.php#L22
src/Expression/ExpressionBuilder.php:22:40: MixedArgument: Argument 2 of array_merge cannot be mixed, expecting TValue (see https://psalm.dev/030)
|
UndefinedInterfaceMethod:
src/Expression/ExpressionBuilder.php#L22
src/Expression/ExpressionBuilder.php:22:53: UndefinedInterfaceMethod: Method Yiisoft\Db\Expression\ExpressionInterface::getParams does not exist (see https://psalm.dev/181)
|
MixedReturnStatement:
src/Expression/ExpressionBuilder.php#L23
src/Expression/ExpressionBuilder.php:23:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
|
UndefinedInterfaceMethod:
src/Expression/ExpressionBuilder.php#L23
src/Expression/ExpressionBuilder.php:23:29: UndefinedInterfaceMethod: Method Yiisoft\Db\Expression\ExpressionInterface::__toString does not exist (see https://psalm.dev/181)
|
MismatchingDocblockParamType:
src/Expression/ExpressionBuilderInterface.php#L29
src/Expression/ExpressionBuilderInterface.php:29:15: MismatchingDocblockParamType: Parameter $expression has wrong type 'Yiisoft\Db\Expression\ExpressionInterface', should be 'Yiisoft\Db\Expression\Expression' (see https://psalm.dev/141)
|
MismatchingDocblockParamType:
src/Expression/ExpressionBuilderInterface.php#L29
src/Expression/ExpressionBuilderInterface.php:29:15: MismatchingDocblockParamType: Parameter $expression has wrong type 'Yiisoft\Db\Expression\ExpressionInterface', should be 'Yiisoft\Db\Query\QueryInterface' (see https://psalm.dev/141)
|
MismatchingDocblockParamType:
src/Expression/ExpressionBuilderInterface.php#L29
src/Expression/ExpressionBuilderInterface.php:29:15: MismatchingDocblockParamType: Parameter $expression has wrong type 'Yiisoft\Db\Expression\ExpressionInterface', should be 'Yiisoft\Db\QueryBuilder\Condition\Interface\BetweenColumnsConditionInterface' (see https://psalm.dev/141)
|