Marco Pivetta
e9d7c23261
#1120 - MappingDescribeCommand can be final
2014-10-19 17:43:32 +02:00
dantleech
37de75b2ae
Split new functionality into new command
2014-10-19 17:40:50 +02:00
dantleech
c71b489e9e
Added preg_quote and doc blocks
2014-10-19 17:40:50 +02:00
dantleech
b5552a82e3
Code review fixes
2014-10-19 17:40:50 +02:00
dantleech
51cd8f7ce8
Added test
2014-10-19 17:40:50 +02:00
dantleech
45ce6a41a3
Expanded scope of orm:info to include metadata information
2014-10-19 17:40:50 +02:00
Marco Pivetta
b989175754
#615 - Removing unused assignment
2014-10-19 17:24:07 +02:00
Marco Pivetta
a4e9c235f8
#615 - assignment alignment
2014-10-19 17:08:33 +02:00
Mike Meier
fb5f76f025
rewrite tablePrefixAlias
2014-10-19 17:05:34 +02:00
Mike Meier
ebc996c820
Update SqlWalker.php
...
Always be sure that only a-z characters are used for table alias, otherwise use generic "t" for "table"
2014-10-19 17:05:34 +02:00
Steve Müller
06b5c84728
Merge pull request #1160 from Ocramius/hotfix/#1159-multiple-entity-managers-per-repository-factory
...
#1159 - multiple entity managers per repository factory should be supported
2014-10-19 14:58:04 +02:00
Marco Pivetta
0f26c62e73
Merge pull request #1143 from MajorCaiger/master
...
Fixed a bug so that a versioned entity with a oneToOne id can be created
2014-10-19 11:52:37 +02:00
Alex Bakhturin
b33c9befb7
[QueryBuilder] Remove unused method parameters that are shadowed by local variables
...
PHP5 treats the left part of such assignment as an independent local variable, while HHVM treats it as a reference to the method parameter. This leads to the value of the parameter being changed, which, in turn, causes func_get_args() to return not what is expected.
This commit is a part of the effort to make Symfony run flawlessly on HHVM. This issue causes a bunch of Symfony tests to fail on HHVM.
2014-10-17 11:17:33 -07:00
Marco Pivetta
8093c6ddb0
#1159 - protecting Doctrine\ORM\Repository\DefaultRepositoryFactory
API by making it final
and its protected
members private
2014-10-14 01:46:50 +02:00
Marco Pivetta
a9847533e5
#1159 - Doctrine\ORM\Repository\DefaultRepositoryFactory
keeps separate caches per entity manager used to build repositories
2014-10-14 01:46:14 +02:00
Ala Eddine Khefifi
f2bdfe102e
Fixed missed initialization in CommitOrderCalculator.php
2014-10-12 14:04:41 +01:00
Rob Caiger
dd398ce577
- Fixed the basic entity persister so that versioned OneToOne entities can be created
...
- Created an IdentifierFlattener utility class
- Moved the logic for the flatten identifier method into the new utility class
- Replaced calls for private flattenIdentifier to use new utility
- Added appropriate unit tests
2014-10-01 14:01:44 +01:00
Marco Pivetta
3f8865c6fb
Merge pull request #1092 from birko/pagination-count-walker
...
[DDC-2794] Arbitrary Join count walkers solution
2014-09-23 00:30:30 +02:00
Steve Müller
b291d8d589
add support for embeddables in entity generator
2014-09-12 20:29:37 +02:00
Marco Pivetta
4974edc70a
DDC-3272 - fixing issue with mapped superclass name, minor refactoring
2014-09-10 17:00:06 +02:00
František Bereň
589d26fc5e
Changed calling $from[0] to using reset($from)
...
changed usage $from[0] according suggestion from @Ocramius to use array
reset function
2014-09-02 08:39:29 +02:00
Marco Pivetta
d9b43dc649
Merge pull request #1116 from deeky666/DDC-3265
...
[DDC-3265] Fix DocBlock
2014-08-30 04:22:47 +02:00
Marco Pivetta
6e79515a75
Merge pull request #1123 from stof/patch-1
...
Fixed the structure of the reverse-engineered mapping
2014-08-30 04:19:55 +02:00
Javier Spagnoletti
f731a66e1c
Removed extra line breaks for docblocks in set, get, add and remove method templates.
2014-08-29 23:11:49 -03:00
Javier Spagnoletti
1378626937
Fixed new line in docblock ( 247803715b
).
2014-08-29 22:49:23 -03:00
František Bereň
d48be34696
CS Fixes
2014-08-28 13:17:25 +02:00
Guilherme Blanco
4b504c9436
Merge pull request #1109 from doctrine/hotfix/DDC-3120-php-5.6-RC3-compat
...
DDC-3120 - PHP 5.6-RC3 compatibility
2014-08-27 12:27:05 -04:00
Christophe Coevoet
00eb0d3b67
Fixed the structure of the reverse-engineered mapping
2014-08-27 13:56:02 +02:00
Marco Pivetta
45d74e7220
DDC-3276 - #1122 - updating EBNF in docblock to reflect new syntax support
2014-08-27 02:12:08 +02:00
Marco Pivetta
097840dc93
Allowing expression in COUNT()
DQL aggregation functions
2014-08-27 01:56:11 +02:00
Steve Müller
8d3fba5540
improve schema validator error message for invalid bi-directional relations
2014-08-26 19:46:17 +02:00
Steve Müller
ad1f228ef6
fix DocBlock
2014-08-22 09:26:54 +02:00
Guilherme Blanco
400acad533
Merge pull request #1105 from deeky666/nested-embeddables
...
Add support for nesting embeddables
2014-08-21 16:33:44 -04:00
Marco Pivetta
ff80187930
Merge pull request #1098 from encoder32/DDC-1590
...
#DDC-1590: Fix Inheritance in Code-Generation
2014-08-18 22:35:52 +02:00
Marco Pivetta
dfbaac0401
#1112 - Fixed type-hint that is incompatible with most IDEs
2014-08-18 15:18:59 +02:00
Marco Pivetta
aab7fce2d4
#1112 - Elvis operator reduces code duplication even more
2014-08-18 15:17:54 +02:00
Marco Pivetta
bf03694e28
#1112 - Yoday need you may, better IDE hinting as well needed is.
2014-08-18 15:16:45 +02:00
Marco Pivetta
19d3552f2a
#1112 - Removing useless trimming of the entity name being passed in
2014-08-18 15:14:53 +02:00
Marco Pivetta
3fed769b40
#1112 - avoiding useless assignments/splitted return statement
2014-08-18 15:02:34 +02:00
Marco Pivetta
7865de92ab
#1112 - renamed $class to $className
2014-08-18 15:01:52 +02:00
Giorgio Premi
a665cb0229
DefaultRepositoryFactory: single repository for aliased entities
2014-08-18 14:52:01 +02:00
Vincent Composieux
edc2ed9512
Fix QueryException::instanceOfUnrelatedClass() message
2014-08-15 15:39:56 +02:00
Marco Pivetta
361ec2a474
DDC-3120 - using Doctrine\Instantiator
when building new instances
2014-08-14 15:51:48 +02:00
Saša Stamenković
133bd288bf
Minor CS fix
2014-08-12 09:57:19 +02:00
Steve Müller
0768916a06
fix handling infinite nesting of embeddables
2014-08-12 07:56:39 +02:00
Steve Müller
bca9d31531
add support for nesting embeddables
2014-08-11 16:53:18 +02:00
Marco Pivetta
723529ffff
Merge pull request #1069 from anho/reuse-console-app
...
added method to be able to reuse the console application
2014-08-04 16:17:11 +02:00
encoder64
4e805bb59a
#DDC-1590: Fix Inheritance in Code-Generation: Code Style Fixes
2014-08-03 17:07:20 +03:00
encoder64
e0ae7634d5
#DDC-1590: Fix Inheritance in Code-Generation
2014-08-03 17:02:33 +03:00
František Bereň
a37f99f242
Root selection according other pagination tools
...
changed root selection in Walkers from looping queryComponents to using
$AST->fromClause as other walkers have
2014-07-30 15:55:14 +02:00