Merge branch '4.x.new' into 4.x #234
Annotations
40 errors and 4 warnings
PHP-8.2 - prefer-stable - ubuntu-22.04
Process completed with exit code 1.
|
LessSpecificReturnStatement:
src/LeanOrm/Model.php#L386
src/LeanOrm/Model.php:386:16: LessSpecificReturnStatement: The type 'object' is more general than the declared return type 'GDAO\Model\CollectionInterface' for LeanOrm\Model::createNewCollection (see https://psalm.dev/129)
|
RiskyTruthyFalsyComparison:
src/LeanOrm/Model.php#L1210
src/LeanOrm/Model.php:1210:12: RiskyTruthyFalsyComparison: Operand of type bool|mixed contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
ParamNameMismatch:
src/LeanOrm/Model/Collection.php#L409
src/LeanOrm/Model/Collection.php:409:37: ParamNameMismatch: Argument 1 of LeanOrm\Model\Collection::offsetSet has wrong name $key, expecting $offset as defined by ArrayAccess::offsetSet (see https://psalm.dev/230)
|
ParamNameMismatch:
src/LeanOrm/Model/Collection.php#L409
src/LeanOrm/Model/Collection.php:409:49: ParamNameMismatch: Argument 2 of LeanOrm\Model\Collection::offsetSet has wrong name $val, expecting $value as defined by ArrayAccess::offsetSet (see https://psalm.dev/230)
|
ParamNameMismatch:
src/LeanOrm/Model/CommonRecordCodeTrait.php#L252
src/LeanOrm/Model/CommonRecordCodeTrait.php:252:31: ParamNameMismatch: Argument 1 of LeanOrm\Model\CommonRecordCodeTrait::offsetSet has wrong name $key, expecting $offset as defined by ArrayAccess::offsetSet (see https://psalm.dev/230)
|
ParamNameMismatch:
src/LeanOrm/Model/CommonRecordCodeTrait.php#L252
src/LeanOrm/Model/CommonRecordCodeTrait.php:252:37: ParamNameMismatch: Argument 2 of LeanOrm\Model\CommonRecordCodeTrait::offsetSet has wrong name $val, expecting $value as defined by ArrayAccess::offsetSet (see https://psalm.dev/230)
|
RiskyTruthyFalsyComparison:
src/LeanOrm/Model/Record.php#L290
src/LeanOrm/Model/Record.php:290:38: RiskyTruthyFalsyComparison: Operand of type GDAO\Model\RecordInterface|array<array-key, mixed> contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/LeanOrm/Model/Record.php#L295
src/LeanOrm/Model/Record.php:295:15: RiskyTruthyFalsyComparison: Operand of type GDAO\Model\RecordInterface|array<array-key, mixed> contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
PHP-8.2 - prefer-stable - ubuntu-22.04
Process completed with exit code 2.
|
PHP-8.1 - prefer-stable - ubuntu-22.04
Process completed with exit code 1.
|
LessSpecificReturnStatement:
src/LeanOrm/Model.php#L386
src/LeanOrm/Model.php:386:16: LessSpecificReturnStatement: The type 'object' is more general than the declared return type 'GDAO\Model\CollectionInterface' for LeanOrm\Model::createNewCollection (see https://psalm.dev/129)
|
RiskyTruthyFalsyComparison:
src/LeanOrm/Model.php#L1210
src/LeanOrm/Model.php:1210:12: RiskyTruthyFalsyComparison: Operand of type bool|mixed contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
ParamNameMismatch:
src/LeanOrm/Model/Collection.php#L409
src/LeanOrm/Model/Collection.php:409:37: ParamNameMismatch: Argument 1 of LeanOrm\Model\Collection::offsetSet has wrong name $key, expecting $offset as defined by ArrayAccess::offsetSet (see https://psalm.dev/230)
|
ParamNameMismatch:
src/LeanOrm/Model/Collection.php#L409
src/LeanOrm/Model/Collection.php:409:49: ParamNameMismatch: Argument 2 of LeanOrm\Model\Collection::offsetSet has wrong name $val, expecting $value as defined by ArrayAccess::offsetSet (see https://psalm.dev/230)
|
ParamNameMismatch:
src/LeanOrm/Model/CommonRecordCodeTrait.php#L252
src/LeanOrm/Model/CommonRecordCodeTrait.php:252:31: ParamNameMismatch: Argument 1 of LeanOrm\Model\CommonRecordCodeTrait::offsetSet has wrong name $key, expecting $offset as defined by ArrayAccess::offsetSet (see https://psalm.dev/230)
|
ParamNameMismatch:
src/LeanOrm/Model/CommonRecordCodeTrait.php#L252
src/LeanOrm/Model/CommonRecordCodeTrait.php:252:37: ParamNameMismatch: Argument 2 of LeanOrm\Model\CommonRecordCodeTrait::offsetSet has wrong name $val, expecting $value as defined by ArrayAccess::offsetSet (see https://psalm.dev/230)
|
RiskyTruthyFalsyComparison:
src/LeanOrm/Model/Record.php#L290
src/LeanOrm/Model/Record.php:290:38: RiskyTruthyFalsyComparison: Operand of type GDAO\Model\RecordInterface|array<array-key, mixed> contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/LeanOrm/Model/Record.php#L295
src/LeanOrm/Model/Record.php:295:15: RiskyTruthyFalsyComparison: Operand of type GDAO\Model\RecordInterface|array<array-key, mixed> contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
PHP-8.1 - prefer-stable - ubuntu-22.04
Process completed with exit code 2.
|
PHP-8.2 - prefer-stable - ubuntu-20.04
Process completed with exit code 1.
|
LessSpecificReturnStatement:
src/LeanOrm/Model.php#L386
src/LeanOrm/Model.php:386:16: LessSpecificReturnStatement: The type 'object' is more general than the declared return type 'GDAO\Model\CollectionInterface' for LeanOrm\Model::createNewCollection (see https://psalm.dev/129)
|
RiskyTruthyFalsyComparison:
src/LeanOrm/Model.php#L1210
src/LeanOrm/Model.php:1210:12: RiskyTruthyFalsyComparison: Operand of type bool|mixed contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
ParamNameMismatch:
src/LeanOrm/Model/Collection.php#L409
src/LeanOrm/Model/Collection.php:409:37: ParamNameMismatch: Argument 1 of LeanOrm\Model\Collection::offsetSet has wrong name $key, expecting $offset as defined by ArrayAccess::offsetSet (see https://psalm.dev/230)
|
ParamNameMismatch:
src/LeanOrm/Model/Collection.php#L409
src/LeanOrm/Model/Collection.php:409:49: ParamNameMismatch: Argument 2 of LeanOrm\Model\Collection::offsetSet has wrong name $val, expecting $value as defined by ArrayAccess::offsetSet (see https://psalm.dev/230)
|
ParamNameMismatch:
src/LeanOrm/Model/CommonRecordCodeTrait.php#L252
src/LeanOrm/Model/CommonRecordCodeTrait.php:252:31: ParamNameMismatch: Argument 1 of LeanOrm\Model\CommonRecordCodeTrait::offsetSet has wrong name $key, expecting $offset as defined by ArrayAccess::offsetSet (see https://psalm.dev/230)
|
ParamNameMismatch:
src/LeanOrm/Model/CommonRecordCodeTrait.php#L252
src/LeanOrm/Model/CommonRecordCodeTrait.php:252:37: ParamNameMismatch: Argument 2 of LeanOrm\Model\CommonRecordCodeTrait::offsetSet has wrong name $val, expecting $value as defined by ArrayAccess::offsetSet (see https://psalm.dev/230)
|
RiskyTruthyFalsyComparison:
src/LeanOrm/Model/Record.php#L290
src/LeanOrm/Model/Record.php:290:38: RiskyTruthyFalsyComparison: Operand of type GDAO\Model\RecordInterface|array<array-key, mixed> contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/LeanOrm/Model/Record.php#L295
src/LeanOrm/Model/Record.php:295:15: RiskyTruthyFalsyComparison: Operand of type GDAO\Model\RecordInterface|array<array-key, mixed> contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
PHP-8.2 - prefer-stable - ubuntu-20.04
Process completed with exit code 2.
|
LessSpecificReturnStatement:
src/LeanOrm/Model.php#L386
src/LeanOrm/Model.php:386:16: LessSpecificReturnStatement: The type 'object' is more general than the declared return type 'GDAO\Model\CollectionInterface' for LeanOrm\Model::createNewCollection (see https://psalm.dev/129)
|
RiskyTruthyFalsyComparison:
src/LeanOrm/Model.php#L1210
src/LeanOrm/Model.php:1210:12: RiskyTruthyFalsyComparison: Operand of type bool|mixed contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
ParamNameMismatch:
src/LeanOrm/Model/Collection.php#L409
src/LeanOrm/Model/Collection.php:409:37: ParamNameMismatch: Argument 1 of LeanOrm\Model\Collection::offsetSet has wrong name $key, expecting $offset as defined by ArrayAccess::offsetSet (see https://psalm.dev/230)
|
ParamNameMismatch:
src/LeanOrm/Model/Collection.php#L409
src/LeanOrm/Model/Collection.php:409:49: ParamNameMismatch: Argument 2 of LeanOrm\Model\Collection::offsetSet has wrong name $val, expecting $value as defined by ArrayAccess::offsetSet (see https://psalm.dev/230)
|
ParamNameMismatch:
src/LeanOrm/Model/CommonRecordCodeTrait.php#L252
src/LeanOrm/Model/CommonRecordCodeTrait.php:252:31: ParamNameMismatch: Argument 1 of LeanOrm\Model\CommonRecordCodeTrait::offsetSet has wrong name $key, expecting $offset as defined by ArrayAccess::offsetSet (see https://psalm.dev/230)
|
ParamNameMismatch:
src/LeanOrm/Model/CommonRecordCodeTrait.php#L252
src/LeanOrm/Model/CommonRecordCodeTrait.php:252:37: ParamNameMismatch: Argument 2 of LeanOrm\Model\CommonRecordCodeTrait::offsetSet has wrong name $val, expecting $value as defined by ArrayAccess::offsetSet (see https://psalm.dev/230)
|
RiskyTruthyFalsyComparison:
src/LeanOrm/Model/Record.php#L290
src/LeanOrm/Model/Record.php:290:38: RiskyTruthyFalsyComparison: Operand of type GDAO\Model\RecordInterface|array<array-key, mixed> contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RiskyTruthyFalsyComparison:
src/LeanOrm/Model/Record.php#L295
src/LeanOrm/Model/Record.php:295:15: RiskyTruthyFalsyComparison: Operand of type GDAO\Model\RecordInterface|array<array-key, mixed> contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
PHP-8.1 - prefer-stable - ubuntu-20.04
Process completed with exit code 2.
|
PHP-8.1 - prefer-stable - ubuntu-20.04
Process completed with exit code 1.
|
PHP-8.2 - prefer-stable - ubuntu-22.04
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP-8.1 - prefer-stable - ubuntu-22.04
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP-8.2 - prefer-stable - ubuntu-20.04
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP-8.1 - prefer-stable - ubuntu-20.04
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|