1
0
mirror of synced 2025-01-09 18:47:10 +03:00
Commit Graph

8675 Commits

Author SHA1 Message Date
Michaël Gallego
ddfc951a0e Remove useless docblock 2014-05-17 14:33:15 +02:00
Michaël Gallego
239b862665 Add missing typehint 2014-05-17 13:00:47 +02:00
Michaël Gallego
f52a512c59 Add UPGRADE note 2014-05-17 12:57:39 +02:00
Michaël Gallego
a04113f410 Add support for optimized contains 2014-05-17 12:54:25 +02:00
Guilherme Blanco
d6c727dcc1 Update LazyCriteriaCollection.php
Fixed issue where count = 0
2014-05-16 14:03:20 -04:00
Marco Pivetta
8babb77d37 Merge pull request #1031 from mnapoli/custom-functions-callback-documentation
Documentation for #991
2014-05-16 14:40:17 +02:00
Matthieu Napoli
5a4c558865 Fixed #991 to support non-closure callables on PHP 5.3 2014-05-16 10:49:59 +02:00
Matthieu Napoli
b16423b26b Documentation for #991 2014-05-16 09:32:52 +02:00
Guilherme Blanco
47ca10076b Merge pull request #991 from mnapoli/custom-functions-callback
Ability to define custom functions with callback instead of class name
2014-05-16 00:27:30 -04:00
Guilherme Blanco
d30e3ab43c Added count cache when lazy collection is not yet initialized. Some cosmetic changes (primarily, there's no ELSE). 2014-05-16 04:22:11 +00:00
Michaël Gallego
92a2b01c77 Fix tests by forcing collection initialization 2014-05-15 18:37:41 +02:00
Michaël Gallego
172df22281 Fix inconsistent mapping 2014-05-15 18:22:57 +02:00
Michaël Gallego
0a6c2027f5 Update tests 2014-05-15 18:22:57 +02:00
Michaël Gallego
45e9d6ed5a Fix test on some RDBMS 2014-05-15 18:22:57 +02:00
Michaël Gallego
11de4c2e72 Only create lazy collection for EXTRA_LAZY 2014-05-15 18:22:57 +02:00
Michaël Gallego
50832fd3bc Add tests for PersistentCollection 2014-05-15 18:22:57 +02:00
Michaël Gallego
876643e83e Add test for Entity Repository 2014-05-15 18:22:57 +02:00
Michaël Gallego
6cb5097ea8 Add method visibility 2014-05-15 18:22:57 +02:00
Michaël Gallego
8514ec7320 Remove useless imports 2014-05-15 18:22:57 +02:00
Michaël Gallego
3c522f4984 Reuse Doctrine Collection Lazy Collection 2014-05-15 18:22:57 +02:00
Michaël Gallego
28afb52734 Typehint to interface to support second level cache 2014-05-15 18:22:56 +02:00
Michaël Gallego
ac15b184b6 Fix tests for inheritance support 2014-05-15 18:22:56 +02:00
Michaël Gallego
632382b069 Add missing methods to the mock 2014-05-15 18:22:56 +02:00
Michaël Gallego
7551b1ad00 Update to latest cache API 2014-05-15 18:22:56 +02:00
Michaël Gallego
9813c2d5f1 Add tests 2014-05-15 18:22:56 +02:00
Michaël Gallego
0fa7b45a0e Also add efficient count for Persistent collection 2014-05-15 18:22:56 +02:00
Michaël Gallego
9b7dce1940 Use inner collection count if initialized 2014-05-15 18:22:56 +02:00
Michaël Gallego
b556bcb16c Remove useless dependency 2014-05-15 18:22:56 +02:00
Michaël Gallego
f1a793f2ee Initial work for efficient counting on criteria 2014-05-15 18:22:56 +02:00
Marco Pivetta
91df8f5649 Merge branch 'hotfix/DDC-3123-test-assertion-simplification' 2014-05-15 17:37:55 +02:00
Marco Pivetta
65e55a0c49 DDC-3123 - using assertAttributeEmpty (with message) instead of explicit reflection 2014-05-15 17:37:41 +02:00
Matthieu Napoli
c7eb42b04f Ability to define custom functions with callback + tests 2014-05-15 12:06:21 +02:00
Guilherme Blanco
5c828fc6c8 Merge pull request #1023 from coma/DDC-3027
[DDC-3027] Avoid duplicated mapping using Embedded in MappedSuperclass
2014-05-14 22:37:24 -04:00
Guilherme Blanco
4874070b3f Merge branch 'feature/default-query-hints' of https://github.com/Strate/doctrine2 into Strate-default-query-hints 2014-05-15 01:15:34 +00:00
Steve Müller
c16de21172 Merge pull request #1030 from doctrine/hotfix/DDC-3123-extra-updates-cleanup
DDC-3123 extra updates cleanup
2014-05-15 01:07:34 +02:00
Marco Pivetta
ccc789eadd DDC-3123 - the UoW should clear extra updates immediately 2014-05-15 00:18:50 +02:00
Marco Pivetta
9cdcba3fbc DDC-3123 - verifying that the UoW is not clearing extra inserts 2014-05-15 00:18:22 +02:00
Marco Pivetta
08347cf4f7 Adding PHP 5.6 and HHVM-nightly to build matrix 2014-05-11 17:51:23 +02:00
Marco Pivetta
94837a0105 Merge pull request #1026 from flack/patch-5
Remove some redundant clauses
2014-05-03 01:43:38 +02:00
flack
5cf906d76b Remove some redundant clauses 2014-05-02 21:52:00 +02:00
Steve Müller
7fffba80c3 Merge pull request #1025 from josemalonsom/remove-duplicate-entry-in-toc
Removed duplicate entry in documentation TOC.
2014-05-01 14:23:56 +02:00
Jose M. Alonso M
204b7fe854 Removed duplicate entry in documentation TOC. 2014-05-01 13:02:29 +02:00
Eduardo García Sanz
8a3def097f [DDC-3027] Avoid duplicated mapping using Embedded in MappedSuperclass 2014-04-30 11:46:54 +02:00
Marco Pivetta
7a305475e3 The proxy factory always expects non-null identifier values 2014-04-29 13:25:17 +02:00
Marco Pivetta
27845088e3 Merge branch 'hotfix/DDC-3103-#1020-serialize-isEmbedded-in-class-metadata'
Close #1020
2014-04-29 13:16:02 +02:00
Marco Pivetta
677cea4748 DDC-3103 - minor CS fixes/adjustments 2014-04-29 13:12:17 +02:00
Marco Jantke
f065a5c8b9 fixed bug 2014-04-29 09:30:37 +02:00
Marco Jantke
cf84183c18 created test case to reproduce error 2014-04-29 09:30:10 +02:00
Guilherme Blanco
48172f3a53 Readability update to hydrators. 2014-04-29 05:05:38 +00:00
Guilherme Blanco
9cd16ec56a More optimizations around hydrators. Pretty much same performance, just better memory footprint (-0.25MB). 2014-04-28 13:47:57 +00:00