Skip to content

Rector and Psalm recommended code tweaks #386

Rector and Psalm recommended code tweaks

Rector and Psalm recommended code tweaks #386

Triggered via push November 13, 2025 00:47
Status Success
Total duration 1m 9s
Artifacts

php.yml

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

Annotations

12 errors
PHP-8.1 - prefer-stable - ubuntu-latest
Process completed with exit code 2.
MoreSpecificReturnType: src/LeanOrm/Model.php#L370
src/LeanOrm/Model.php:370:72: MoreSpecificReturnType: The declared return type 'GDAO\Model\RecordInterface' for LeanOrm\Model::createNewRecord is more specific than the inferred return type 'object' (see https://psalm.dev/070)
MoreSpecificReturnType: src/LeanOrm/Model.php#L358
src/LeanOrm/Model.php:358:91: MoreSpecificReturnType: The declared return type 'GDAO\Model\CollectionInterface' for LeanOrm\Model::createNewCollection is more specific than the inferred return type 'object' (see https://psalm.dev/070)
PHP-8.4 - prefer-stable - ubuntu-latest
Process completed with exit code 2.
MoreSpecificReturnType: src/LeanOrm/Model.php#L370
src/LeanOrm/Model.php:370:72: MoreSpecificReturnType: The declared return type 'GDAO\Model\RecordInterface' for LeanOrm\Model::createNewRecord is more specific than the inferred return type 'object' (see https://psalm.dev/070)
MoreSpecificReturnType: src/LeanOrm/Model.php#L358
src/LeanOrm/Model.php:358:91: MoreSpecificReturnType: The declared return type 'GDAO\Model\CollectionInterface' for LeanOrm\Model::createNewCollection is more specific than the inferred return type 'object' (see https://psalm.dev/070)
PHP-8.3 - prefer-stable - ubuntu-latest
Process completed with exit code 2.
MoreSpecificReturnType: src/LeanOrm/Model.php#L370
src/LeanOrm/Model.php:370:72: MoreSpecificReturnType: The declared return type 'GDAO\Model\RecordInterface' for LeanOrm\Model::createNewRecord is more specific than the inferred return type 'object' (see https://psalm.dev/070)
MoreSpecificReturnType: src/LeanOrm/Model.php#L358
src/LeanOrm/Model.php:358:91: MoreSpecificReturnType: The declared return type 'GDAO\Model\CollectionInterface' for LeanOrm\Model::createNewCollection is more specific than the inferred return type 'object' (see https://psalm.dev/070)
PHP-8.2 - prefer-stable - ubuntu-latest
Process completed with exit code 2.
MoreSpecificReturnType: src/LeanOrm/Model.php#L370
src/LeanOrm/Model.php:370:72: MoreSpecificReturnType: The declared return type 'GDAO\Model\RecordInterface' for LeanOrm\Model::createNewRecord is more specific than the inferred return type 'object' (see https://psalm.dev/070)
MoreSpecificReturnType: src/LeanOrm/Model.php#L358
src/LeanOrm/Model.php:358:91: MoreSpecificReturnType: The declared return type 'GDAO\Model\CollectionInterface' for LeanOrm\Model::createNewCollection is more specific than the inferred return type 'object' (see https://psalm.dev/070)