Asmir Mustafic
3a7b2991e8
PSR-2 CS improvements
2015-07-16 16:20:36 +02:00
Asmir Mustafic
acbda4bc0e
YAML driver uses getAssociationCacheDefaults for SLC mapping
2015-06-20 14:32:14 +02:00
Asmir Mustafic
7d64be915c
XML driver uses getAssociationCacheDefaults for SLC mapping
2015-06-20 14:32:14 +02:00
Asmir Mustafic
f4f32a5213
Annotation driver uses getAssociationCacheDefaults for SLC mapping
2015-06-20 14:32:14 +02:00
Asmir Mustafic
11be4fae86
Do not check at runtime for non-cacheable associations
2015-06-20 14:32:14 +02:00
Asmir Mustafic
c685255fe3
Check for non-cacheable associations directly on the class metada info
2015-06-20 14:32:14 +02:00
Asmir Mustafic
6a428c6064
Allow to retreive association cache defaults
2015-06-20 14:32:14 +02:00
Benjamin Eberlei
5ae40d571a
Merge pull request #1409 from haeber/patch-1
...
Added PHPDoc return type false of next method in Hydration/IterableResult
2015-06-16 22:21:20 +02:00
Benjamin Eberlei
6423a33a23
Merge pull request #1411 from icambridge/patch-1
...
Allow null to be passed to setHydrationCacheProfile
2015-06-16 21:54:08 +02:00
Benjamin Eberlei
545e448024
Merge pull request #1416 from Restless-ET/patch-1
...
[2.5][Bug] Fix ConvertDoctrine1Schema->getMetadata
2015-06-16 21:38:35 +02:00
Christian Schmidt
96dbecec24
[DDC-3382] Allow orphan removal to be cancelled
2015-06-12 16:44:13 +02:00
Restless-ET
b33612f9e7
[2.5][Bug] Fix ConvertDoctrine1Schema->getMetadata
...
This bug was introduced at #1205 while resolving #1200 .
2015-06-05 17:08:50 +01:00
Iain Cambridge
8625ca5187
Allow null to be passed to setHydrationCacheProfile
...
Currently null can be passed and is set as default, however if you do this you get an exception. This allows null to be passed and set.
There is an if statement later on to see if $this->_hydrationCacheProfile is null so it seems logical you can set it to be null.
2015-05-20 15:10:01 +02:00
Thomas Häber
d92785811b
Added PHPDoc return type false of next method
...
Because hydrateRow can return false, too. The PHPDoc return type of the next method has return false in addition to array.
2015-05-15 12:06:56 +02:00
Stephan de Vries
f61526d3ff
Fix PHPDoc typo
2015-05-07 14:05:20 +02:00
Steve Müller
b8ef6cfd2f
Merge pull request #1384 from TomasVotruba/patch-1
...
cs
2015-04-18 11:07:17 +02:00
Steve Müller
2706812b37
Merge pull request #1385 from TomasVotruba/patch-2
...
duplicated param in phpdoc
2015-04-18 11:03:09 +02:00
Tomáš Votruba
b3b0f6bd5b
PersisterException: missing license added
2015-04-17 12:46:52 +02:00
Tomáš Votruba
6fae618669
duplicated param in phpdoc
2015-04-17 10:13:40 +02:00
Tomáš Votruba
a71f2ba76f
cs
2015-04-17 10:12:18 +02:00
Menno Holtkamp
5f891435f1
Use early return
2015-04-14 16:02:36 +02:00
Menno Holtkamp
34b6ce9259
Introduced getCacheEntryKey() to combine region name and cache key
2015-04-14 09:52:25 +02:00
Menno Holtkamp
dbc29d28d2
Simplified way to fetch multiple entries when index does not matter
2015-04-14 09:47:57 +02:00
Menno Holtkamp
012f33524b
Fixed some typo's
2015-04-14 09:43:22 +02:00
Menno Holtkamp
c236a67096
Used index as key to retrieve proper entry
2015-04-13 23:33:09 +02:00
Filip Procházka
e501137d1a
LimitSubqueryOutputWalker: fix aliasing of property in OrderBy from MappedSuperclass
2015-04-09 01:43:05 +02:00
Bill Schaller
354ccdc58b
Merge pull request #1361 from Ocramius/hotfix/array-property-initialization
...
Hotfix: Reverting BC Break - PersistentCollection should accept `null` and `array` as constructor parameter
2015-04-04 20:26:19 -04:00
David Prévot
6f033a2c47
Drop empty file
2015-04-04 15:37:59 -04:00
Marco Pivetta
2a81adc1fc
Correcting ObjectHydrator
logic: if an array
is a default value for a collection-valued property, it should be cast to a Collection
2015-04-03 15:28:53 +01:00
Marco Pivetta
d49c907934
a PersistentCollection
should only allow another collection as a wrapped collection
2015-04-03 15:26:38 +01:00
Marco Pivetta
1993aecd4c
Reverting BC break: PersistentConnection#__construct()
now accepts null|array|Collection
again
2015-04-02 23:45:46 +01:00
Marco Pivetta
3bc3aeeb52
Minor docblock correction (discovered during testing)
2015-04-02 23:43:41 +01:00
Marco Pivetta
f20de54281
Bumping version to 2.6.0-DEV
2015-04-02 21:42:47 +01:00
Marco Pivetta
aa80c7d2c5
Preparing for v2.5.0 release
2015-04-02 21:40:18 +01:00
David Prévot
b7cf41ca45
Drop useless execution bit
2015-04-01 16:01:22 -04:00
Marco Pivetta
61bcfda167
Bumping version to v2.5.0-DEV
2015-03-31 22:13:40 +01:00
Marco Pivetta
afd0f28c5f
Bumping version for v2.5.0-RC2 release
2015-03-31 22:12:50 +01:00
Marco Pivetta
9a2afd1a9a
#1350 - parameters
should be an array
by default
2015-03-31 22:02:48 +01:00
mmoreram
f6a1ea4859
Assigned default value to array
...
* For strict configurations of PHP, we were accessing to a non-array element
2015-03-31 22:02:05 +01:00
Marco Pivetta
ba00fc1e90
#1353 #1347 #1351 - s/inSubselect/inSubSelect (with docblock documentation)
2015-03-31 21:51:56 +01:00
Marco Pivetta
6c5dbd8d4c
#1353 #1347 #1351 - Removing double quotes (confusing)
2015-03-31 21:50:08 +01:00
Bill Schaller
5c93e61686
Fix issue in LimitSubqueryOutputWalker with entities having field names different from column names
2015-03-31 21:39:21 +01:00
Bill Schaller
608dfa2f57
Add more detection in LimitSubqueryWalker for conditions that must be handled by LimitSubqueryOutputWalker
2015-03-31 21:39:20 +01:00
Bill Schaller
b76107e20f
resolve review comments from @stof
2015-03-31 21:39:20 +01:00
Bill Schaller
edcc0fc024
Fix paginator when ordering by while selecting entities using joined table inheritance
2015-03-31 21:39:20 +01:00
Bill Schaller
09d28819b5
Fix issue where paginating on a query with a subquery in the where clause crashed
2015-03-31 21:38:58 +01:00
Bill Schaller
a8342a4be2
Cleanup
2015-03-31 21:36:33 +01:00
Bill Schaller
ff75a3ad49
Fix paginator issues when ordering by a joined column from a to-many association.
...
Manual merge testcase from #1351
2015-03-31 21:36:32 +01:00
Bill Schaller
54d7efd92c
Fix LimitSubqueryOutputWalker when used on tables with joined table inheritance
2015-03-31 21:32:28 +01:00
Fedik
5cd8334897
fix EntityGenerator RegenerateEntityIfExists
2015-03-27 13:10:14 +02:00