Skip to content

Correct Reference Detached Entities/Documents #2

Correct Reference Detached Entities/Documents

Correct Reference Detached Entities/Documents #2

Triggered via push April 18, 2024 13:35
Status Failure
Total duration 30s
Artifacts
Matrix: phpstan
Matrix: syntax-linting
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 6 warnings
phpstan (8.3): src/ValueObject/Context.php#L107
Anonymous function should return object but returns object|null.
phpstan (8.3): src/ValueObject/Context.php#L112
Call to an undefined method Doctrine\ODM\MongoDB\Mapping\ClassMetadata<T of object>|Doctrine\ORM\Mapping\ClassMetadata<object>::getIdentifierValue().
phpstan (8.3): src/ValueObject/Context.php#L113
Anonymous function should return object but returns object|null.
phpstan (8.3): src/ValueObject/Context.php#L117
Anonymous function never returns null so it can be removed from the return type.
phpstan (8.3): src/ValueObject/Context.php#L118
Cannot call method getUser() on Symfony\Component\Security\Core\Authentication\Token\TokenInterface|null.
phpstan (8.3): src/ValueObject/Context.php#L131
Parameter #1 $object_or_class of function method_exists expects object|string, Symfony\Component\Security\Core\Authentication\Token\TokenInterface|null given.
phpstan (8.3)
Process completed with exit code 1.
phpstan (8.2)
The job was canceled because "_8_3" failed.
phpstan (8.2): src/ValueObject/Context.php#L107
Anonymous function should return object but returns object|null.
phpstan (8.2): src/ValueObject/Context.php#L112
Call to an undefined method Doctrine\ODM\MongoDB\Mapping\ClassMetadata<T of object>|Doctrine\ORM\Mapping\ClassMetadata<object>::getIdentifierValue().
phpstan (8.2): src/ValueObject/Context.php#L113
Anonymous function should return object but returns object|null.
phpstan (8.2): src/ValueObject/Context.php#L117
Anonymous function never returns null so it can be removed from the return type.
phpstan (8.2): src/ValueObject/Context.php#L118
Cannot call method getUser() on Symfony\Component\Security\Core\Authentication\Token\TokenInterface|null.
phpstan (8.2): src/ValueObject/Context.php#L131
Parameter #1 $object_or_class of function method_exists expects object|string, Symfony\Component\Security\Core\Authentication\Token\TokenInterface|null given.
phpstan (8.2)
Process completed with exit code 1.
syntax-linting (8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
syntax-linting (8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
syntax-linting (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
syntax-linting (8.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@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.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
phpstan (8.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/