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

9106 Commits

Author SHA1 Message Date
Strate
f3b31c2807 DDC-3005 Defer invoking of postLoad event to the end of hydration cycle.
This feature makes guarantee, that postLoad event fires after all associations are populated
2015-01-12 22:33:40 +01:00
Marco Pivetta
b9c0868f08 Merge branch 'one-to-many-extra-lazy-joined-inheritance'
Close #1245
2015-01-12 22:05:12 +01:00
Marco Pivetta
0f362b0650 #1245 DDC-2504 - removing duplicate test 2015-01-12 22:03:54 +01:00
Marco Pivetta
ebf5811761 #1245 DDC-2504 - extracting test:
Removing an unmanaged/persisted/new item from a one-to-many extra-lazy association to a JTI does not initialize the collection
2015-01-12 21:55:57 +01:00
Marco Pivetta
25d40caf1e #1245 DDC-2504 - extracting test:
Removing a managed item from a one-to-many extra-lazy association to a JTI does not initialize the collection
2015-01-12 21:43:37 +01:00
Marco Pivetta
ec08286173 #1245 DDC-2504 - constants over string references 2015-01-12 21:37:53 +01:00
Marco Pivetta
7a0cb1c370 #1245 DDC-2504 - splitting test method into a test about count() and one about contains() on a lazy persistent collection 2015-01-12 21:34:12 +01:00
Marco Pivetta
8d287b17d7 #1245 DDC-2504 - splitting test method into single feature checks 2015-01-12 21:29:48 +01:00
Guilherme Blanco
932a56f26f Internalize UnitOfWork in CollectionPersisters. Updated related code. 2015-01-12 19:52:27 +00:00
Guilherme Blanco
c5f1b99721 Fixed wrong return. 2015-01-12 18:18:15 +00:00
Guilherme Blanco
73afcec22a Implemented support for one to many extra lazy with joined inheritance. 2015-01-12 18:15:13 +00:00
Marco Pivetta
573153669c Merge pull request #1244 from BenMorel/static
Change $this return type to static in AbstractQuery
2015-01-11 18:02:45 +01:00
Benjamin Morel
fbcf18cf33 Changed $this return type to static in AbstractQuery
This allows IDEs and static code analysis tools to properly understand the return type when chaining methods, for example when using the QueryBuilder.
2015-01-11 16:48:09 +00:00
Guilherme Blanco
4dbfdfb9d6 Merge pull request #1243 from doctrine/composer-autoloader-dev
Fixed phpunit tests autoload requirements and moved to composer autoload-dev
2015-01-10 16:05:14 -05:00
Guilherme Blanco
9201d09ab7 Fixed phpunit tests autoload requirements and moved to composer autoload-dev configuration. 2015-01-10 20:28:57 +00:00
Marco Pivetta
be91cc9bb3 Merge pull request #1239 from deeky666/fix-index-duplication
Fix index duplication for unique association join columns
2015-01-09 23:07:50 +01:00
Marco Pivetta
664b6bf4c5 Merge pull request #1227 from c960657/production-settings-query-cache
Ensure query cache is not ArrayCache in production
2015-01-09 16:58:38 +01:00
Steve Müller
d1e5034659 fix index duplication for unique association join columns 2015-01-08 15:39:41 +01:00
Marco Pivetta
0cbab230bf Merge branch 'feature/#1238-allow-skipping-column-prefixing-in-xml-mapped-embeddables'
Close #1238
2015-01-08 13:33:52 +01:00
Marco Pivetta
6fdb100793 #1238 DDC-3293 DDC-3477 - exploding tests with set use-column-prefix="true" and use-column-prefix="false" xml mappings 2015-01-08 13:33:38 +01:00
Marco Pivetta
43db4a4182 #1238 DDC-3293 DDC-3477 - adding @group annotations for newly introduced tests 2015-01-08 13:28:11 +01:00
Andrey Knupp Vital
a701c9d046 Removing warning about non-availability of no-prefix in XML mappings 2015-01-08 10:11:22 -02:00
Andrey Knupp Vital
74a2cfc83b Also adding docs for the new attribute use-column-prefix 2015-01-08 09:37:41 -02:00
Andrey Knupp Vital
08e8af9372 Type-hinting SimpleXMLElement (_getCascadeMappings) 2015-01-08 09:28:15 -02:00
Andrey Knupp Vital
b90943c56b Minor improvements 2015-01-08 09:04:37 -02:00
Andrey Knupp Vital
bacadbf366 Adding tests for the attribute use-column-prefix 2015-01-08 00:11:34 -02:00
Andrey Knupp Vital
4935da138d Respecting use-column-prefix instead of relying on false/0 of column-prefix 2015-01-08 00:10:24 -02:00
Andrey Knupp Vital
c964dd0cd2 Adding use-column-prefix attribute as proposed (DDC-3293) #1239 2015-01-08 00:09:30 -02:00
Andrey Knupp Vital
8bbc492978 Removing weird strict comparison on different types 2015-01-07 17:24:44 -02:00
Andrey Knupp Vital
82cda1ecb0 Prevents prefixing a column when false on column-prefix (XML) 2015-01-07 17:22:48 -02:00
Guilherme Blanco
ef65270387 Merge pull request #1230 from johannes/master
Allow dumping SQL query when passing DQL on cli
2015-01-06 21:39:11 -05:00
Marco Pivetta
6448627bc9 Merge pull request #1233 from SofHad/refactoring-duplicate-code
[Minor] Refactoring to avoid duplicate code
2015-01-04 22:59:05 +01:00
SofHad
eb22db0dcf remove the unnecessary check 2015-01-04 21:01:32 +01:00
Marco Pivetta
5237692979 Merge pull request #1236 from abackstrom/patch-1
Minor docs fix: missing word 'do'
2014-12-31 09:59:33 +01:00
Marco Pivetta
d13e2fbb83 Merge branch 'hotfix/#1235-consistent-joined-subclass-persister-return-types'
Close #1235
2014-12-31 09:46:31 +01:00
Marco Pivetta
0f165bce50 #1235 DDC-3470 - coverage annotations 2014-12-31 09:46:19 +01:00
Marco Pivetta
a93e5fa1c2 #1235 DDC-3470 - license headers 2014-12-31 09:45:46 +01:00
Marco Pivetta
74f00327bd #1235 DDC-3470 - adding @group annotation for newly introduced test cases 2014-12-31 09:45:33 +01:00
Marco Pivetta
e2b34ff5d2 #1235 DDC-3470 - joined subclass persister empty executeInserts() method return type test 2014-12-31 09:44:39 +01:00
Annika Backstrom
27fe4d78b7 Minor docs fix: missing word 'do' 2014-12-30 20:12:11 -05:00
Martin Prebio
8f15c5e905 Consistent return type confirming with interface 2014-12-31 01:28:05 +01:00
Sofiane HADDAG
8d91f7de60 Rename handleCache to updateCache 2014-12-30 14:49:12 +01:00
shaddag
ccb09ad0ac Rename the private method 2014-12-30 14:10:56 +01:00
shaddag
12b5a0cdd7 Extracted ony the common logic 2014-12-30 14:06:48 +01:00
shaddag
50ef1369c3 [Minor] Refactoring to avoid duplicate code 2014-12-30 10:03:49 +01:00
Johannes Schlüter
cdb62a70cd Allow dumping SQL query when passing DQL on cli 2014-12-24 14:15:23 +01:00
Christian Schmidt
61c72e4aa7 Ensure query cache is not ArrayCache in production 2014-12-19 20:18:45 +01:00
Marco Pivetta
193e31f22a Merge pull request #1226 from stof/patch-2
Update Travis badges to use the SVG version
2014-12-19 19:19:48 +01:00
Christophe Coevoet
92efd887e2 Update Travis badges to use the SVG version 2014-12-19 19:04:04 +01:00
Marco Pivetta
5a6bbbd624 Merge branch 'hotfix/#1216-tests-for-#1214-xml-driver-exporting'
Close #1216
Close #1214
2014-12-10 01:33:23 +01:00