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

Cleanup: PHP 5.3 support end #1255

Merged
merged 8 commits into from Jan 15, 2015

Conversation

Ocramius
Copy link
Member

No description provided.

@doctrinebot
Copy link

Hello,

thank you for creating this pull request. I have automatically opened an issue
on our Jira Bug Tracker for you. See the issue link:

http://www.doctrine-project.org/jira/browse/DDC-3501

We use Jira to track the state of pull requests and the versions they got
included in.

deeky666 added a commit that referenced this pull request Jan 15, 2015
@deeky666 deeky666 merged commit d343617 into doctrine:master Jan 15, 2015
@Ocramius Ocramius deleted the cleanup/php-5.3-support-end branch January 15, 2015 00:29
@deeky666
Copy link
Member

Finally! thx @Ocramius !

@driesvints
Copy link

Sweet!

@stof
Copy link
Member

stof commented Jan 15, 2015

@deeky666 this will force you to make Doctrine ORM 2.4 an LTS for people being stuck with PHP 5.3 support

$identifier = $this->em->getUnitOfWork()->getEntityIdentifier($entity);
$tableName = $this->quoteStrategy->getTableName($class, $this->platform);
$idColumns = $this->quoteStrategy->getIdentifierColumnNames($class, $this->platform);
$id = array_combine($idColumns, $identifier);
$types = array_map(function ($identifier) use ($class, $em) {
$types = array_map(function ($identifier) use ($class) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about $class, which is also an alias to $this->class ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants