Skip to content

Fix Date(time) instance in primary key #542

Fix Date(time) instance in primary key

Fix Date(time) instance in primary key #542

Triggered via pull request October 8, 2024 15:09
Status Failure
Total duration 2m 24s
Artifacts

build.yml

on: pull_request
Matrix: Tests
Matrix: PHPStan
Code coverage finish
0s
Code coverage finish
Fit to window
Zoom out
Zoom in

Annotations

44 errors and 5 warnings
PHPStan (8.2): tests/cases/integration/Entity/entity.compositePK.phpt#L60
Method NextrasTests\Orm\Integration\Entity\EntityCompositePKTest::testCompositePKDateTime2() has no return type specified.
PHPStan (8.2): tests/cases/integration/Entity/entity.compositePK.phpt#L80
Cannot access property $value on NextrasTests\Orm\UserStatX|null.
PHPStan (8.2): tests/cases/integration/Entity/entity.compositePK.phpt#L82
Cannot access property $value on NextrasTests\Orm\UserStatX|null.
PHPStan (8.2): tests/cases/integration/Entity/entity.compositePK.phpt#L83
Parameter #1 $entity of method Nextras\Orm\Model\Model::persistAndFlush() expects E of Nextras\Orm\Entity\IEntity, NextrasTests\Orm\UserStatX|null given.
PHPStan (8.2): tests/cases/integration/Entity/entity.compositePK.phpt#L84
Cannot access property $value on NextrasTests\Orm\UserStatX|null.
PHPStan (8.2): tests/cases/integration/Entity/entity.compositePK.phpt#L89
Cannot access property $value on NextrasTests\Orm\UserStatX|null.
PHPStan (8.2): tests/cases/integration/Entity/entity.pk.phpt#L47
Cannot access property $value on NextrasTests\Orm\TimeSeries|null.
PHPStan (8.2): tests/cases/integration/Entity/entity.pk.phpt#L48
Parameter #1 $entity of method Nextras\Orm\Model\Model::persistAndFlush() expects E of Nextras\Orm\Entity\IEntity, NextrasTests\Orm\TimeSeries|null given.
PHPStan (8.2): tests/inc/model/userStatX/UserStatsXMapper.php#L8
Class NextrasTests\Orm\UserStatsXMapper extends deprecated class Nextras\Orm\Mapper\Mapper: Use {@see DbalMapper} directly.
PHPStan (8.2): tests/inc/model/userStatX/UserStatsXMapper.php#L8
Class NextrasTests\Orm\UserStatsXMapper extends generic class Nextras\Orm\Mapper\Mapper but does not specify its types: E
PHPStan (8.3)
The job was canceled because "_8_2" failed.
PHPStan (8.3): tests/cases/integration/Entity/entity.compositePK.phpt#L60
Method NextrasTests\Orm\Integration\Entity\EntityCompositePKTest::testCompositePKDateTime2() has no return type specified.
PHPStan (8.3): tests/cases/integration/Entity/entity.compositePK.phpt#L80
Cannot access property $value on NextrasTests\Orm\UserStatX|null.
PHPStan (8.3): tests/cases/integration/Entity/entity.compositePK.phpt#L82
Cannot access property $value on NextrasTests\Orm\UserStatX|null.
PHPStan (8.3): tests/cases/integration/Entity/entity.compositePK.phpt#L83
Parameter #1 $entity of method Nextras\Orm\Model\Model::persistAndFlush() expects E of Nextras\Orm\Entity\IEntity, NextrasTests\Orm\UserStatX|null given.
PHPStan (8.3): tests/cases/integration/Entity/entity.compositePK.phpt#L84
Cannot access property $value on NextrasTests\Orm\UserStatX|null.
PHPStan (8.3): tests/cases/integration/Entity/entity.compositePK.phpt#L89
Cannot access property $value on NextrasTests\Orm\UserStatX|null.
PHPStan (8.3): tests/cases/integration/Entity/entity.pk.phpt#L47
Cannot access property $value on NextrasTests\Orm\TimeSeries|null.
PHPStan (8.3): tests/cases/integration/Entity/entity.pk.phpt#L48
Parameter #1 $entity of method Nextras\Orm\Model\Model::persistAndFlush() expects E of Nextras\Orm\Entity\IEntity, NextrasTests\Orm\TimeSeries|null given.
PHPStan (8.3): tests/inc/model/userStatX/UserStatsXMapper.php#L8
Class NextrasTests\Orm\UserStatsXMapper extends deprecated class Nextras\Orm\Mapper\Mapper: Use {@see DbalMapper} directly.
PHPStan (8.3): tests/inc/model/userStatX/UserStatsXMapper.php#L8
Class NextrasTests\Orm\UserStatsXMapper extends generic class Nextras\Orm\Mapper\Mapper but does not specify its types: E
PHPStan (8.1)
The job was canceled because "_8_2" failed.
PHPStan (8.1): tests/cases/integration/Entity/entity.compositePK.phpt#L60
Method NextrasTests\Orm\Integration\Entity\EntityCompositePKTest::testCompositePKDateTime2() has no return type specified.
PHPStan (8.1): tests/cases/integration/Entity/entity.compositePK.phpt#L80
Cannot access property $value on NextrasTests\Orm\UserStatX|null.
PHPStan (8.1): tests/cases/integration/Entity/entity.compositePK.phpt#L82
Cannot access property $value on NextrasTests\Orm\UserStatX|null.
PHPStan (8.1): tests/cases/integration/Entity/entity.compositePK.phpt#L83
Parameter #1 $entity of method Nextras\Orm\Model\Model::persistAndFlush() expects E of Nextras\Orm\Entity\IEntity, NextrasTests\Orm\UserStatX|null given.
PHPStan (8.1): tests/cases/integration/Entity/entity.compositePK.phpt#L84
Cannot access property $value on NextrasTests\Orm\UserStatX|null.
PHPStan (8.1): tests/cases/integration/Entity/entity.compositePK.phpt#L89
Cannot access property $value on NextrasTests\Orm\UserStatX|null.
PHPStan (8.1): tests/cases/integration/Entity/entity.pk.phpt#L47
Cannot access property $value on NextrasTests\Orm\TimeSeries|null.
PHPStan (8.1): tests/cases/integration/Entity/entity.pk.phpt#L48
Parameter #1 $entity of method Nextras\Orm\Model\Model::persistAndFlush() expects E of Nextras\Orm\Entity\IEntity, NextrasTests\Orm\TimeSeries|null given.
PHPStan (8.1): tests/inc/model/userStatX/UserStatsXMapper.php#L8
Class NextrasTests\Orm\UserStatsXMapper extends deprecated class Nextras\Orm\Mapper\Mapper: Use {@see DbalMapper} directly.
PHPStan (8.1): tests/inc/model/userStatX/UserStatsXMapper.php#L8
Class NextrasTests\Orm\UserStatsXMapper extends generic class Nextras\Orm\Mapper\Mapper but does not specify its types: E
Tests (8.1, newest)
Failed to initialize container mcr.microsoft.com/mssql/server:latest
Tests (8.1, newest)
One or more containers failed to start.
Tests (8.1, newest)
Process completed with exit code 1.
Tests (8.3, newest)
Failed to initialize container mcr.microsoft.com/mssql/server:latest
Tests (8.3, newest)
One or more containers failed to start.
Tests (8.3, newest)
Process completed with exit code 1.
Tests (8.1, lowest)
Process completed with exit code 1.
Tests (8.1, lowest)
Failed to initialize container mcr.microsoft.com/mssql/server:latest
Tests (8.1, lowest)
One or more containers failed to start.
Tests (8.2, newest)
Process completed with exit code 1.
Tests (8.2, newest)
Failed to initialize container mcr.microsoft.com/mssql/server:latest
Tests (8.2, newest)
One or more containers failed to start.
PHPStan (8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPStan (8.2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHPStan (8.2)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHPStan (8.3)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHPStan (8.1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/