Skip to content

Reorganizing Exceptions Namespaces #236

Reorganizing Exceptions Namespaces

Reorganizing Exceptions Namespaces #236

Triggered via push February 4, 2024 03:23
Status Success
Total duration 1m 45s
Artifacts

php.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

44 errors and 4 warnings
PHP-8.1 - prefer-stable - ubuntu-22.04
Process completed with exit code 2.
UnusedClass: src/LeanOrm/BadCollectionClassNameForFetchingRelatedDataException.php#L5
src/LeanOrm/BadCollectionClassNameForFetchingRelatedDataException.php:5:7: UnusedClass: Class LeanOrm\BadCollectionClassNameForFetchingRelatedDataException is never used (see https://psalm.dev/075)
UnusedClass: src/LeanOrm/BadModelClassNameForFetchingRelatedDataException.php#L5
src/LeanOrm/BadModelClassNameForFetchingRelatedDataException.php:5:7: UnusedClass: Class LeanOrm\BadModelClassNameForFetchingRelatedDataException is never used (see https://psalm.dev/075)
UnusedClass: src/LeanOrm/BadModelColumnNameException.php#L5
src/LeanOrm/BadModelColumnNameException.php:5:7: UnusedClass: Class LeanOrm\BadModelColumnNameException is never used (see https://psalm.dev/075)
UnusedClass: src/LeanOrm/BadModelPrimaryColumnNameException.php#L5
src/LeanOrm/BadModelPrimaryColumnNameException.php:5:7: UnusedClass: Class LeanOrm\BadModelPrimaryColumnNameException is never used (see https://psalm.dev/075)
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)
PHP-8.2 - prefer-stable - ubuntu-20.04
Process completed with exit code 2.
UnusedClass: src/LeanOrm/BadCollectionClassNameForFetchingRelatedDataException.php#L5
src/LeanOrm/BadCollectionClassNameForFetchingRelatedDataException.php:5:7: UnusedClass: Class LeanOrm\BadCollectionClassNameForFetchingRelatedDataException is never used (see https://psalm.dev/075)
UnusedClass: src/LeanOrm/BadModelClassNameForFetchingRelatedDataException.php#L5
src/LeanOrm/BadModelClassNameForFetchingRelatedDataException.php:5:7: UnusedClass: Class LeanOrm\BadModelClassNameForFetchingRelatedDataException is never used (see https://psalm.dev/075)
UnusedClass: src/LeanOrm/BadModelColumnNameException.php#L5
src/LeanOrm/BadModelColumnNameException.php:5:7: UnusedClass: Class LeanOrm\BadModelColumnNameException is never used (see https://psalm.dev/075)
UnusedClass: src/LeanOrm/BadModelPrimaryColumnNameException.php#L5
src/LeanOrm/BadModelPrimaryColumnNameException.php:5:7: UnusedClass: Class LeanOrm\BadModelPrimaryColumnNameException is never used (see https://psalm.dev/075)
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)
PHP-8.2 - prefer-stable - ubuntu-22.04
Process completed with exit code 2.
UnusedClass: src/LeanOrm/BadCollectionClassNameForFetchingRelatedDataException.php#L5
src/LeanOrm/BadCollectionClassNameForFetchingRelatedDataException.php:5:7: UnusedClass: Class LeanOrm\BadCollectionClassNameForFetchingRelatedDataException is never used (see https://psalm.dev/075)
UnusedClass: src/LeanOrm/BadModelClassNameForFetchingRelatedDataException.php#L5
src/LeanOrm/BadModelClassNameForFetchingRelatedDataException.php:5:7: UnusedClass: Class LeanOrm\BadModelClassNameForFetchingRelatedDataException is never used (see https://psalm.dev/075)
UnusedClass: src/LeanOrm/BadModelColumnNameException.php#L5
src/LeanOrm/BadModelColumnNameException.php:5:7: UnusedClass: Class LeanOrm\BadModelColumnNameException is never used (see https://psalm.dev/075)
UnusedClass: src/LeanOrm/BadModelPrimaryColumnNameException.php#L5
src/LeanOrm/BadModelPrimaryColumnNameException.php:5:7: UnusedClass: Class LeanOrm\BadModelPrimaryColumnNameException is never used (see https://psalm.dev/075)
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)
UnusedClass: src/LeanOrm/BadCollectionClassNameForFetchingRelatedDataException.php#L5
src/LeanOrm/BadCollectionClassNameForFetchingRelatedDataException.php:5:7: UnusedClass: Class LeanOrm\BadCollectionClassNameForFetchingRelatedDataException is never used (see https://psalm.dev/075)
UnusedClass: src/LeanOrm/BadModelClassNameForFetchingRelatedDataException.php#L5
src/LeanOrm/BadModelClassNameForFetchingRelatedDataException.php:5:7: UnusedClass: Class LeanOrm\BadModelClassNameForFetchingRelatedDataException is never used (see https://psalm.dev/075)
UnusedClass: src/LeanOrm/BadModelColumnNameException.php#L5
src/LeanOrm/BadModelColumnNameException.php:5:7: UnusedClass: Class LeanOrm\BadModelColumnNameException is never used (see https://psalm.dev/075)
UnusedClass: src/LeanOrm/BadModelPrimaryColumnNameException.php#L5
src/LeanOrm/BadModelPrimaryColumnNameException.php:5:7: UnusedClass: Class LeanOrm\BadModelPrimaryColumnNameException is never used (see https://psalm.dev/075)
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)
PHP-8.1 - prefer-stable - ubuntu-20.04
Process completed with exit code 2.
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.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-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/.