24 Pull Requests
doctrine

doctrine/orm

Doctrine Object Relational Mapper (ORM)
PHP
View on GitHub https://www.doctrine-project.org/projects/orm.html
Contribulator score: 39 Last scored 2023-11-07 18:31:49 UTC
Contributors (11)
  • acrobat
  • bountin
  • carusogabriel
  • EmanueleMinotto
  • greg0ire
  • guiwoda
  • jdecool
  • malukenho
  • Ocramius
  • OskarStark
  • Pierstoval

Pull requests (37)

Ocramius

Fix #7527: prevent `UnitOfWork` lookup for DBAL types specified in `Doctrine\ORM\Query#setParameter()` to doctrine/doctrine2 2018-12-16 15:20:10 UTC

Fixes #7527

carusogabriel

[CS] Clean elses to doctrine/doctrine2 2017-12-20 17:24:07 UTC

I've cleaned up some elses when we've already returned something, like #6889, now on develop branch 🚮

PHP-CS-Fixer helped me find them.

carusogabriel

Combine consecutives issets to doctrine/doctrine2 2017-12-19 10:37:26 UTC

isset allow us to pass multiple values to check.

PHP-CS-Fixer helped me on that.

carusogabriel

Conbine consecutive unsets to doctrine/doctrine2 2017-12-19 10:31:13 UTC

unset allow us to pass multiple values to check.

PHP-CS-Fixer helped me on that.

Pierstoval

Documentation about getters/setters to DTOs and Value Objects to doctrine/doctrine2 2017-12-18 19:42:04 UTC

I recently tweeted about this, but the original questioning comes from @javiereguiluz:

The "Getting started" guide refers to getters and setters as the base of an entity's be…

carusogabriel

Clean elses to doctrine/doctrine2 2017-12-14 07:56:35 UTC

I've cleaned up some elses when we've already returned something 🚮

greg0ire

Use stable packages to doctrine/doctrine2 2017-12-13 19:46:16 UTC

This will make it easier to contribute. It will also make reviews safer
since you will be able to tell if a PR is reponsible for a broken build
or not. Catching errors early is still possible by having a look at
allowed failures.

greg0ire

Deprecate classmetadatainfo to doctrine/doctrine2 2017-12-13 19:32:33 UTC

carusogabriel

Use Null Coalesce Operator to doctrine/doctrine2 2017-12-10 06:57:00 UTC

carusogabriel

Null coalesce operator to doctrine/doctrine2 2017-12-10 06:36:52 UTC

carusogabriel

Use Null Coalesce Operator to doctrine/doctrine2 2017-12-10 06:07:46 UTC

Ocramius

Ensure `ObjectManagerAware` and `EntityManagerAware` are correctly handled by UoW load/refresh to doctrine/doctrine2 2017-12-06 08:00:07 UTC

Couple things here:

  • tests fail because Doctrine\Common\Persistence\ClassMetadata is no longer an ancestor of the ORM metadata
  • since lazy-loading is now performed on a per-property fashion, the assertion that the om …
OskarStark

fixed closing tag to doctrine/doctrine2 2017-12-01 14:42:16 UTC

Refs #6655

Ocramius

#6189 paginator counting and iterating are inconsistent between each other with inheritances to doctrine/doctrine2 2016-12-23 13:00:30 UTC

This PR provides tests for #6189

Ocramius

Bug - #6190 many to many collection cleared on inverse side association is cleared when unbalanced to doctrine/doctrine2 2016-12-23 00:37:29 UTC

This is a test case imported from #6190

Created because the issue seemed very bad, but seems invalid after a first glance.

guiwoda

Added a QueryInterface to decouple code from the final Query class to doctrine/doctrine2 2016-12-19 18:35:20 UTC

The final Query class is impossible to mock, so to decouple its dependants from it, I refactor->extracted an interface out.

https://github.com/doctrine/doctrine2/pull/6180

guiwoda

Remove final restriction from Doctrine\ORM\Query to doctrine/doctrine2 2016-12-19 18:04:22 UTC

The Doctrine\ORM\Query class is marked as final but does not have a full interface, so mocking it is basically next to impossible.

I propose dropping the final restriction, leaving it commented as it was done in the EntityManager….

Ocramius

Fix #6174 #5570: merging new entities should also trigger prepersist lifecycle callbacks with the merged data to doctrine/doctrine2 2016-12-18 15:17:13 UTC

Backport of #6177

Ocramius

Fix #6174 #5570: merging new entities should also trigger prepersist lifecycle callbacks with merged entity data to doctrine/doctrine2 2016-12-18 14:55:45 UTC

Fixes #6174
Fixes #5570

guiwoda

[WIP][Bugfix] Eager loaded associations and orderBy mappings to doctrine/doctrine2 2016-12-01 19:32:59 UTC

This PR aims to solve #4256

I'm starting with the regression test. I've been digging and I believe this has mostly to do with the fact that the orderBy clause is read when UnitOfWork calls the `EntityPersister::loadOneToManyCollect…

jdecool

Allow EntityGenerator to create PHP7 strict_types compliant method to doctrine/doctrine2 2015-12-20 20:21:50 UTC

PHP files are in weak type-checking mode. Since PHP 7, strict type-checking mode is used for function calls and return statements in the the file.

This PR add support for generate class with are strict_types compliant.

malukenho

Remove unnecessary namespaces imports and usage to doctrine/doctrine2 2015-12-16 08:47:21 UTC

malukenho

Remove ClassMetadataInfo class to doctrine/doctrine2 2015-12-16 07:27:03 UTC

Ocramius

Cleanup - `ClassMetadataInfo#getColumnNames()` simplification to doctrine/doctrine2 2015-12-11 19:51:18 UTC

Just noticed this bit of code and I compulsively felt like I had to cover/kill it.

Ocramius

Correcting minor test case incompatibility with XDebug 2.4.x to doctrine/doctrine2 2015-12-11 18:16:25 UTC

In PHP 5.x + XDebug < 2.4, the output would be &quot;string:...&quot;
In PHP 7.x + XDebug >= 2.4, the output would be &quot;the/file/name.php:11:string:...&quot;

This is an improvement in XDebug that is quite annoying for our purposes, but is actual…

1 2 Next › Last »
  • Sponsored by  DNSimple,  Octobox &  Bugsnag
  • About
  • How to contribute?
  • API
  • Unsubscribe
    •  English
    •  Español
    •  Ελληνικά
    •  Português do Brasil
    •  Suomi
    •  Français
    •  Deutsch
    •  Русский
    •  Українська
    •  ไทย
    •  Italiano
    •  Norsk bokmål
    •  தமிழ்
    •  Tr
    •  简体中文
    •  正體中文
    •  日本語
    •  Čeština
    •  हिंदी
    •  Polski
    • Translate into your language!