Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Issue #11405 #11573

Open
wants to merge 1 commit into
base: 3.2.x
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/Persisters/Entity/BasicEntityPersister.php
Original file line number Diff line number Diff line change
Expand Up @@ -1964,8 +1964,14 @@

return $newValue;
}

Check failure on line 1967 in src/Persisters/Entity/BasicEntityPersister.php

View workflow job for this annotation

GitHub Actions / coding-standards / Coding Standards (8.3)

Whitespace found at end of line
$singleIdentifierValue = $this->em->getUnitOfWork()->getSingleIdentifierValue($value);
$identifier = $class->getIdentifier()[0];

Check failure on line 1969 in src/Persisters/Entity/BasicEntityPersister.php

View workflow job for this annotation

GitHub Actions / coding-standards / Coding Standards (8.3)

Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space

return [$this->em->getUnitOfWork()->getSingleIdentifierValue($value)];
$singleIdentifierValue = Type::getType($class->fieldMappings[$identifier]->type)
->convertToDatabaseValue($singleIdentifierValue,$this->platform);

Check failure on line 1972 in src/Persisters/Entity/BasicEntityPersister.php

View workflow job for this annotation

GitHub Actions / coding-standards / Coding Standards (8.3)

No space found after comma in argument list

return [$singleIdentifierValue];;

Check failure on line 1974 in src/Persisters/Entity/BasicEntityPersister.php

View workflow job for this annotation

GitHub Actions / coding-standards / Coding Standards (8.3)

Each PHP statement must be on a line by itself

Check failure on line 1974 in src/Persisters/Entity/BasicEntityPersister.php

View workflow job for this annotation

GitHub Actions / coding-standards / Coding Standards (8.3)

Useless semicolon.
}

public function exists(object $entity, Criteria|null $extraConditions = null): bool
Expand Down
Loading