Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/doctrine/orm

Doctrine Object Relational Mapper (ORM)
https://github.com/doctrine/orm

Revert "Introduce FilterCollection#restore method (#10537)"

This reverts commit 8e20e1598e9656879ff9dc9fe9657e85f6404d02.

d2de4ec03c63ddd7bdfda0421e237e11343c75ee authored over 1 year ago by Alexander M. Turek <[email protected]>
Introduce FilterCollection#restore method (#10537)

* Introduce FilterCollection#restore method

* Add suspend method instead

* Add more tests

64ee76e94ea9a414136a9cd1f1e9bc577da4bf71 authored over 1 year ago by Vincent Langlet <[email protected]>
Introduce FilterCollection#restore method (#10537)

* Introduce FilterCollection#restore method

* Add suspend method instead

* Add more tests

8e20e1598e9656879ff9dc9fe9657e85f6404d02 authored over 1 year ago by Vincent Langlet <[email protected]>
Merge pull request #10856 from VincentLanglet/fixDeprecation

Fix/Self deprecation with getQueryCacheImpl

24df74d61d2fb1819a9ac19a6314f6965ff0aa2d authored over 1 year ago by Grégoire Paris <[email protected]>
Fix static analysis

442f073d25e9d9c0563ad654894cbf52287c8b7a authored over 1 year ago by Vincent Langlet <[email protected]>
Other solution

a5161e9485338966ab6060adf22188f441c0e563 authored over 1 year ago by Vincent Langlet <[email protected]>
Avoid self deprecation

ddc7d953b99bee939aecdb326321e2a642e1dc64 authored over 1 year ago by Vincent Langlet <[email protected]>
fix: use platform options instead of deprecated custom options (#10855)

db51ed4f4c2f6bb4709ac5bc8859d1ebd9f22ee9 authored over 1 year ago by Kévin Dunglas <[email protected]>
Remove outdated comment (#10853)

Since support for persistence 2 has been dropped, this method may no
longer acces an aliased cl...

2dc19e691909a7a9ee55860117ff47ccadbef4d4 authored over 1 year ago by Grégoire Paris <[email protected]>
Merge release 2.15.4 into 2.16.x (#10850)

6d27797b2e6efdc43a2d2a87e89715d9c3ca45f7 authored over 1 year ago by Alexander M. Turek <[email protected]>
Use properties instead of getters to read property/class names via reflection (#10848)

89250b8ca2ff0ac252b2e40ac7ed83a6bb311ea3 authored over 1 year ago by Nicolas Grekas <[email protected]>
Merge pull request #10847 from greg0ire/remove-toc

f7e4b61459692f9b747f40696e6bf72080390f2d authored over 1 year ago by Grégoire Paris <[email protected]>
Avoid triple colons

It confuses the guides, and is ugly.

6b0afdbd58be5afea1d9f93b445643e842a79ca0 authored over 1 year ago by Grégoire Paris <[email protected]>
Remove toc

We already have the sidebar for this.

d3cf17b26dee99b3b5e4e9f1583e3eb9e535c77f authored over 1 year ago by Grégoire Paris <[email protected]>
Declare compatibility with DBAL 4 (#10843)

b68cab1b3d4ab52d1945ca3a6b77c574011bbc96 authored over 1 year ago by Alexander M. Turek <[email protected]>
Merge branch '2.15.x' into 2.16.x

* 2.15.x:
PHPStan 1.10.25, Psalm 5.13.1 (#10842)

bc61d7d21e315122832ad792c6dfe3e2d1861d7c authored over 1 year ago by Alexander M. Turek <[email protected]>
PHPStan 1.10.25, Psalm 5.13.1 (#10842)

5213228a649a7a982ce34c8fa30be6f2a42834aa authored over 1 year ago by Alexander M. Turek <[email protected]>
Decouple public API from Doctrine\Persistence\Proxy (#10832)

dca7ddf9694849418c33fbd3330c1fafa15e74b9 authored over 1 year ago by Nicolas Grekas <[email protected]>
Merge pull request #10841 from doctrine/2.15.x

e78163981292075c5cc987c1b50ec7a4fad0e20e authored over 1 year ago by Grégoire Paris <[email protected]>
Merge pull request #10838 from greg0ire/remove-dummy-title

784841748835999a9e16b7b8e6994d36d85ee1f5 authored over 1 year ago by Grégoire Paris <[email protected]>
Remove dummy title

This was never meant to be under version control. Did not spot it in the
diff.

Closes #10836

56e5856ad7c78e87caede1567068cc5ed5985455 authored over 1 year ago by Grégoire Paris <[email protected]>
Merge pull request #10598 from opsway/fix-generated-for-joined-inheritance

Support not Insertable/Updateable columns for entities with `JOINED` inheritance type

b5987ad29a546e0b94f7982af2a2a7bfaad18880 authored over 1 year ago by Grégoire Paris <[email protected]>
Merge pull request #10798 from greg0ire/less-partial-load

Resort on Query::HINT_FORCE_PARTIAL_LOAD less

385bdd33f127cda5c6755a471800e1783860e6fd authored over 1 year ago by Grégoire Paris <[email protected]>
Cleanup psalm-type AutogenerateMode (#10833)

8c513a65232e3a3d62ff5bea12089b6177c5791b authored over 1 year ago by Nicolas Grekas <[email protected]>
Merge pull request #10824 from greg0ire/fix-build

1413b496d7396d3923293922aa2e6540e31729fe authored over 1 year ago by Grégoire Paris <[email protected]>
Fix persist notInsertable|notUpdatable fields of root entity of joined inheritance type

1. Inherit ClassMetadataInfo::requiresFetchAfterChange flag from root entity when process parent...

f3e36debfe2b51c7d4ec490760e0acd641cefc35 authored over 1 year ago by Yevhen Vilkhovchenko <[email protected]>
Add final to protected

Co-authored-by: Grégoire Paris <[email protected]>

fa5c37e9727a1bcb2f95264d1ce7657847192806 authored over 1 year ago by Alexandr Vronskiy <[email protected]>
Fix persist notInsertable|notUpdatable columns of entity with joined inheritance type

1. Postgres gives error when insert root entity ($rootTableStmt->executeStatement()) in JoinedSu...

ca7abd04a2f07000785b31ef018cc1448c654730 authored over 1 year ago by Yevhen Vilkhovchenko <[email protected]>
mistake on final property

3b3056f910f755261a8596cf2623735bfde4149d authored over 1 year ago by Alexandr Vronskiy <[email protected]>
Improve and add test to set to-one and to-many associations with reference objects (#10799)

a555626150470807f8fbbb0b7daf49bc11317057 authored over 1 year ago by Matthias Pigulla <[email protected]>
Merge pull request #10828 from greg0ire/matching-xml

Match namespace in XML file with namespace in XSD file

ec7a8a7a0f854e9874249dc77e2ca3bcba4d5937 authored over 1 year ago by Grégoire Paris <[email protected]>
Match namespace in XML file with namespace in XSD file

In 7fa3e6ec7c75e1b4f14ab7e6a1dd80badc4e0fac, a global search and replace
was used for http and h...

e94fa8588d7936c8eaf302b4d995c83d22cb5b71 authored over 1 year ago by Grégoire Paris <[email protected]>
Add `@deprecated` annotations in addition to runtime deprecation notices

f26946b47793f81eb21417c40fed3ab54cb07358 authored over 1 year ago by Matthias Pigulla <[email protected]>
Make it possible to have non-NULLable self-referencing associations when using application-provided IDs (#10735)

This change improves scheduling of extra updates in the `BasicEntityPersister`.

Extra updates...

efc83bce8ec8ae2eaf66c0262f5a37c0a70f3088 authored over 1 year ago by Matthias Pigulla <[email protected]>
Add dummy title to the sidebar before checking docs

The way we have our docs, the sidebar is a separate document and as
such, needs a title. Let us ...

450cae2caae9bb1802751c4cf1a18a31f8b799f6 authored over 1 year ago by Grégoire Paris <[email protected]>
Merge pull request #10823 from nicolas-grekas/mergeup

81ddeb426c5ad46a3e265279afd127ea96cc0487 authored over 1 year ago by Grégoire Paris <[email protected]>
Merge branch 2.15.x into 2.16.x

* 2.15.x: (23 commits)
Fix cloning entities when using lazy-ghost proxies
Fixes recomputatio...

42e63bf358d3790f0db9df0ec0da9c1dc9f500cb authored over 1 year ago by Nicolas Grekas <[email protected]>
Merge pull request #10819 from nicolas-grekas/fix-proxy-clone

4978e0e336ac225feb543a49be70a2dc171d29c5 authored over 1 year ago by Grégoire Paris <[email protected]>
Fix cloning entities when using lazy-ghost proxies

eee87c376db3874bf941ae0e9f0c226beba11b33 authored over 1 year ago by Nicolas Grekas <[email protected]>
Merge pull request #10806 from rmikalkenas/fix-enum-recomputation

0b9060c728d5e3421a38c8b731fba7024a9d84eb authored over 1 year ago by Grégoire Paris <[email protected]>
Merge pull request #10813 from Greg0/fix-primary-id-mapping-xml-driver

514f6b8c28386470a9a9691f4f6b81526a536743 authored over 1 year ago by Grégoire Paris <[email protected]>
Fixes recomputation of single entity change set when entity contains enum attributes.

Due to the fact that originalEntityData contains enum objects and
ReflectionEnumProperty::getValu...

c1018fe299d96279c0c52c183cc5961b9d3b06a6 authored over 1 year ago by Rokas Mikalkėnas <[email protected]>
Fix code style issues

075824f5b5b7fe6b1652baa336bc0bf8f9da096a authored over 1 year ago by Grzegorz Kuźnik <[email protected]>
Merge pull request #10815 from greg0ire/test-docs

d6f4834476a2d56e7f7c87a5b055c05edb007302 authored over 1 year ago by Grégoire Paris <[email protected]>
Use absolute references

According to the Sphinx docs, when in reference/architecture.rst, a
reference to reference/inher...

9dadffe270d9418e2f1bfbeba05d82b43cecc5db authored over 1 year ago by Grégoire Paris <[email protected]>
Avoid colon followed by double colon

It seems to confuse the guides-cli, if it is even valid.

b6e7e6d7233927c75a926670c2089765567d0ec0 authored over 1 year ago by Grégoire Paris <[email protected]>
Use correct syntax for references

doc was used when it is clearly a ref, plus there was a leading
underscore preventing the resolu...

710937d6f8357a4278f31468bf1da8e55958ebb4 authored over 1 year ago by Grégoire Paris <[email protected]>
Fix invalid reference syntax

Without this change, a hash is displayed for some reason.

5d2d6642c833a2ca411c2f1120d7d1a10d9962c5 authored over 1 year ago by Grégoire Paris <[email protected]>
Use rst syntax

Using underscore for emphasis is not an RST thing, in rst the difference
between emphasis and st...

4d56711d8c91879ca3383a6aa262158387486f46 authored over 1 year ago by Grégoire Paris <[email protected]>
Use internal link

a157bc3fb3ad4f17765985b22b10cb41d78cc3c8 authored over 1 year ago by Grégoire Paris <[email protected]>
Escape pipes

Pipes can be used to define substitutions, it is part of the rst
standard. This explains why som...

1aeab391c74286c94f0793465e6bba0da3059d47 authored over 1 year ago by Grégoire Paris <[email protected]>
Introduce new workflow to test docs

This allows to check compatibility with phpDocumentor/guides, but also
should allow to spot emba...

a4ecd023491259410b627739d7ffcc48d09a0942 authored over 1 year ago by Grégoire Paris <[email protected]>
Deprecate classes related to old commit order computation

bb21865cba0475d74ada1f487e4c2fef59256ee4 authored over 1 year ago by Matthias Pigulla <[email protected]>
Un-prefix simple generics like `list<>` and `array<>`

... as suggested in GH review.

606da9280dc6fdb3981d320377a3a2e68ce77fc5 authored over 1 year ago by Matthias Pigulla <[email protected]>
Merge pull request #10785 from mpdude/guard-duplicate-identity-map-entries

21708e43c482aaf2aa47288f05f569107b319a9f authored over 1 year ago by Grégoire Paris <[email protected]>
Remove lone dash (#10812)

8c59828f6cc4e07aa9cd72798d8712b5dd59034a authored over 1 year ago by Grégoire Paris <[email protected]>
Treat id field proprites same as regular field

0877ecbe56c728aa307ee2b878d024ebec101f2c authored over 1 year ago by Grzegorz K <[email protected]>
Merge pull request #10809 from mpdude/show-trouble-delete-before-insert

Add test to show why delete-before-insert may be challenging

8eb69922e627f82addf670657ace0f832da2e64b authored over 1 year ago by Grégoire Paris <[email protected]>
Add test to show why delete-before-insert may be challenging

There are a few requests (#5742, #5368, #5109, #6776) that ask to change the order of operations...

e9b6fd89a4874906ec033096b34ddfc8dba12844 authored over 1 year ago by Matthias Pigulla <[email protected]>
Add a safeguard against multiple objects competing for the same identity map entry

While trying to understand #3037, I found that it may happen that we have more entries in `\Doct...

01a14327d2404885897961851659b467ec966d74 authored over 1 year ago by Matthias Pigulla <[email protected]>
Merge pull request #10807 from mpdude/move-tests

Move three "Ticket/"-style tests to the right namespace

4887359827f1ad4667452d5f87c4fe8ecc018049 authored over 1 year ago by Grégoire Paris <[email protected]>
Remove references to the temporary branch in workflow definitions

2df1071e7a3dd15663d5d73e700e720ae6e1f66f authored over 1 year ago by Matthias Pigulla <[email protected]>
Move three "Ticket/"-style tests to the right namespace

5afe9b80a8b78ef3f79178a4bb5213e4edce8868 authored over 1 year ago by Matthias Pigulla <[email protected]>
Avoid unnecessarily passing entity lists into executeDeletions/executeInserts

7fc359c2bb7d92ac0c4088986307fd793141e458 authored over 1 year ago by Matthias Pigulla <[email protected]>
Merge remote-tracking branch 'origin/2.16.x' into commit-order-entity-level

853b9f75ae6eccef07a3fa5fb7e94e013c7a43d6 authored over 1 year ago by Matthias Pigulla <[email protected]>
Merge pull request #10804 from greg0ire/parenthesized

584c4aeed1ae771524cb13ef32af289d0bb9e4e1 authored over 1 year ago by Grégoire Paris <[email protected]>
Merge pull request #10532 from mpdude/entity-persister-must-not-batch

44d2a83e09369d52b8f04a7cad0db747f271c460 authored over 1 year ago by Grégoire Paris <[email protected]>
Follow recommendation about multiline type

Apparently, there is consensus about multiline types between:

- PHPStan
- Psalm
- Slevomat Codi...

c9c5157fda047d66abfd381f82b18d0c42f6f435 authored over 1 year ago by Grégoire Paris <[email protected]>
Merge pull request #10786 from vuongxuongminh/fix-attach-entity-listener-when-reset-class-metadata-factory

Fix attach entity listener when reset class metadata factory

dba90c1a91283f1252c8380fec9b35bf7b1d28ec authored over 1 year ago by Grégoire Paris <[email protected]>
Merge pull request #10531 from mpdude/commit-order-must-be-entity-level

Add test: Commit order calculation must happen on the entity level

5f079c2061f3c700e5deb0486070dc0dbc18629f authored over 1 year ago by Grégoire Paris <[email protected]>
Merge pull request #10805 from greg0ire/valid-phpunit-xml

Validate phpunit.xml against PHPUnit 10 schema

476b68cd1f2fbe50376007903e384e14e376cff7 authored over 1 year ago by Grégoire Paris <[email protected]>
Validate phpunit.xml against PHPUnit 10 schema

The previous syntax was a PHPUnit 9 syntax.

3ffd3f65099f3a107bc01c47053274c36df75f90 authored over 1 year ago by Grégoire Paris <[email protected]>
Fix unserialize() errors when running tests on PHP 8.3 (#10803)

55d477dc507a52675c5a61267a00d389c71182f4 authored over 1 year ago by Nicolas Grekas <[email protected]>
Remove remaining references to the `merge()` operation (#10793)

`EntityManager::merge()` has been deprecated in #8461 and removed in #9488.

This PR removes a...

1733bf8678e79d6c871ec7abcbf024497e3c2f13 authored over 1 year ago by Matthias Pigulla <[email protected]>
Resort on Query::HINT_FORCE_PARTIAL_LOAD less

A lot of our tests mention it, but I do not think it is important to the
test. Maybe it was a wa...

4da8d3be9677f91f2e91d6c8f7d9056b67265cdc authored over 1 year ago by Grégoire Paris <[email protected]>
Explain `EntityManager::getReference()` peculiarities (#10800)

* Explain `EntityManager::getReference()` peculiarities

As one takeaway from https://github.c...

4aadba65cefd4efc89e5946c8b0304656c269a4a authored over 1 year ago by Matthias Pigulla <[email protected]>
Merge pull request #10802 from greg0ire/psalm-5-13

Upgrade to Psalm 5.13

814d8d4d39cd3a88863a2417d66713e770d84baa authored over 1 year ago by Grégoire Paris <[email protected]>
Upgrade to Psalm 5.13

This is a nice release as far as the ORM is concerned:
- a small baseline reduction;
- lots of u...

dc411954ad4f23ed08ec8951c79b4b5526b000f7 authored over 1 year ago by Grégoire Paris <[email protected]>
test: assert `postLoad` has data first

da29eb675cef62655b2cc857c4209c39159d72ce authored over 1 year ago by Minh Vuong <[email protected]>
Merge pull request #10791 from mpdude/understand-3037

Avoid creating unmanaged proxy instances for referred-to entities during `merge()`

b17e52ba6b267adbeb08ef4df2dac70688d4b701 authored over 1 year ago by Grégoire Paris <[email protected]>
Merge pull request #10743 from mpdude/post-insert-id-early

Make EntityPersisters tell the UoW about post insert IDs early

7ef4afc688c117cb28d5e1e308e9b4c14f3c40e2 authored over 1 year ago by Grégoire Paris <[email protected]>
Merge pull request #10789 from macroparts/distinct-updates-state-correctly

distinct() updates QueryBuilder state correctly

4e138903d02ea8533029a2910b71a412775b7bfb authored over 1 year ago by Grégoire Paris <[email protected]>
distinct() updates QueryBuilder state correctly

Previously calling distinct() when the QueryBuilder was in clean state would cause subsequent ge...

efb50b9bdd5b8ebe87a8318fb6c16ad9f1d8580c authored over 1 year ago by Daniel Jurkovic <[email protected]>
Merge remote-tracking branch 'origin/2.16.x' into 3.0.x

84a87a6ac8180134f4e395736b81997263e9c467 authored over 1 year ago by Grégoire Paris <[email protected]>
Merge pull request #10794 from doctrine/2.15.x

Merge 2.15.x up into 2.16.x

70bcff7410b4cd62550d92698bee9be24720c8f2 authored over 1 year ago by Grégoire Paris <[email protected]>
Update tests/Doctrine/Tests/ORM/Functional/Ticket/GH7407Test.php

Co-authored-by: Grégoire Paris <[email protected]>

1989531d4ff67a19832a8219a8ef69c84bd52d9b authored over 1 year ago by Matthias Pigulla <[email protected]>
Merge pull request #10792 from greg0ire/entity-level-commit-order

Entity level commit order

f778d8cf98d4a342dd39945364cf9fb4e644291d authored over 1 year ago by Grégoire Paris <[email protected]>
Merge remote-tracking branch 'origin/2.15.x' into entity-level-commit-order

18b32ab9db8e1fa33d3c490f6c73481305df0b02 authored over 1 year ago by Grégoire Paris <[email protected]>
Avoid creating unmanaged proxy instances for referred-to entities during merge()

This PR tries to improve the situation/problem explained in #3037:

Under certain conditions – t...

d738ecfcfef047e429a2d2b7fac943c695e81d5f authored over 1 year ago by Matthias Pigulla <[email protected]>
Add test: Commit order calculation must happen on the entity level

Add tests for entity insertion and deletion that require the commit order calculation to happen ...

aa3ff458c761cae40a8d49c5ac4108a2bd5f2205 authored over 1 year ago by Matthias Pigulla <[email protected]>
Merge pull request #10790 from greg0ire/slevomat-cs-upgrade

Work around slevomat/coding-standard issues

f76bab2b73978eeebe86707791d143b6ff5c4aba authored over 1 year ago by Grégoire Paris <[email protected]>
Apply latest coding standard rules

0e06d6b67d42bdbd39551f7fb97898d67cee30bd authored over 1 year ago by Grégoire Paris <[email protected]>
Work around slevomat/coding-standard issues

I tweaked the code so that it would not fall victim to
https://github.com/slevomat/coding-standa...

5114dcee0b9940905a9f05b124191d385d3f2188 authored over 1 year ago by Grégoire Paris <[email protected]>
Make EntityPersisters tell the UoW about post insert IDs early

This refactoring does two things:

* We can avoid collecting the post insert IDs in a cumbersome...

8bc74c624ac13ce3430b8704be249d13952e68fb authored over 1 year ago by Matthias Pigulla <[email protected]>
Merge pull request #10787 from doctrine/2.15.x-merge-up-into-2.16.x_XV3tWpNu

6c0a5ecbf96fafae13be7dcc4e4393b609b92b05 authored over 1 year ago by Grégoire Paris <[email protected]>
Merge remote-tracking branch 'origin/2.15.x' into 2.15.x-merge-up-into-2.16.x_XV3tWpNu

5f6501f842705c911e82306f23630caf039f2e47 authored over 1 year ago by Grégoire Paris <[email protected]>
Fix missing setFilterSchemaAssetsExpression in phpdoc (#10776)

4c3bd208018c26498e5f682aaad45fa00ea307d5 authored over 1 year ago by Alexander Dmitryuk <[email protected]>
Merge pull request #10763 from mpdude/defer-collection-entity-removals-to-post-commit

f2abf6143b47d66ac6542f08f702217c8f5c572e authored over 1 year ago by Grégoire Paris <[email protected]>
fix: attach entity listener when reset metadata factory

338deacb5825b4fca43f601f98a7234b9d20ea81 authored over 1 year ago by Minh Vuong <[email protected]>
Merge pull request #10778 from greg0ire/lifecycle-embedded-class

6fa95b93dfc42594998266613af5a41d923c2b7f authored over 1 year ago by Grégoire Paris <[email protected]>