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

8808 Commits

Author SHA1 Message Date
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
c20b3a7cf2 Merge branch 'hotfix/#1112-single-repository-for-aliased-entity'
Close #1112
2014-08-18 15:22:13 +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
36bbd28b75 #1112 - adding test to verify that leading backslash is not relevant when fetching repositories 2014-08-18 15:11:39 +02:00
Marco Pivetta
ae16afa428 #1112 - adding DDC-3257 group to test method 2014-08-18 15:07:07 +02:00
Marco Pivetta
01f22988b1 #1112 - cleaning up repository test - makes assertions more clear/simpler to read 2014-08-18 15:06:37 +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
Marco Pivetta
5ff67c92ee Merge pull request #1111 from eko/master
Fix inheritance hierarchy wrong exception message
2014-08-15 16:13:33 +02:00
Vincent Composieux
edc2ed9512 Fix QueryException::instanceOfUnrelatedClass() message 2014-08-15 15:39:56 +02:00
Guilherme Blanco
ebc70d1baf Merge pull request #1110 from baileylo/patch-2
Changed table name to be more appropriate.
2014-08-14 20:16:34 -04:00
Logan Bailey
9b7318ab4c Changed table name to be more appropriate.
This change assumes that the Article object references the articles tables, not the user table.
2014-08-14 17:07:05 -07:00
Steve Müller
6ac19b04bf Merge pull request #1108 from umpirsky/patch-1
Minor CS fix
2014-08-12 10:16:17 +02:00
Saša Stamenković
133bd288bf Minor CS fix 2014-08-12 09:57:19 +02:00
encoder64
cd4bc93483 Simple Fixes 2014-08-09 13:27:38 +03:00
encoder64
94ba6e2dfc #DDC-1590: Simple Fixes 2014-08-04 20:18:26 +03: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
Marco Pivetta
2ae8538f96 Merge pull request #1096 from simonharris/master
Changes for grammar and clarity
2014-07-31 18:02:34 +02:00
Simon Harris
7c2ab7fff8 Changes for grammar and clarity 2014-07-31 16:45:33 +01:00
Simon Harris
bf91d03adf Merge pull request #1 from doctrine/master
Update from original
2014-07-31 16:24:31 +01:00
Marco Pivetta
0650bb954f Merge pull request #1094 from thekeyboardbum/master
Fix bulk insert code example
2014-07-31 00:06:05 +02:00
Justin
2d23c95c3f Fix bulk insert code example
Previous code example did not flush all entities when entity count was not a multiple of batch count.
2014-07-30 15:00:35 -07:00
Marco Pivetta
66d67445c9 Merge pull request #1093 from malukenho/patch-2
Use `null` comparation instead of `is_null()`
2014-07-30 21:58:55 +02:00
Jefersson Nathan
1b9f42ae67 Use null comparation instead of is_null() 2014-07-30 16:54:24 -03:00
Marco Pivetta
089cca636e Merge pull request #1088 from austinsmorris/fix-clt-autoload-path
Fix the composer autoload paths for the doctrine CLT
2014-07-24 17:34:21 +02:00
Austin Morris
a6a9c72a75 Fix the composer autoload paths for the doctrine CLT 2014-07-24 09:52:55 -04:00
Andreas Hörnicke
a76506c3fd amended documentation 2014-07-24 09:38:08 +02:00
Andreas Hörnicke
1d16e5322f added a simple test 2014-07-24 09:23:36 +02:00
Marco Pivetta
2b24478f05 Merge pull request #1087 from malukenho/patch-1
Remove the error control operator
2014-07-24 00:35:18 +02:00
Jefersson Nathan
70fe21b30a Remove the error control operator 2014-07-23 17:09:47 -03:00
Marco Pivetta
499f09fc99 Merge pull request #1084 from hartca/master
Update advanced-field-value-conversion-using-custom-mapping-types.rst
2014-07-18 01:25:50 +02:00
hartca
0ab2672872 Update advanced-field-value-conversion-using-custom-mapping-types.rst 2014-07-18 00:10:47 +01:00
Marco Pivetta
205a5de4e5 Merge pull request #1083 from deeky666/DDC-3073
[DDC-3073] Add documentation about how to map column options
2014-07-17 11:56:40 +02:00
Steve Müller
040c445297 add documentation about how to map column options 2014-07-17 11:28:43 +02:00
Guilherme Blanco
c019047d6c Merge pull request #1082 from scotam/invalid-parameter-count
added more informative error messages when invalid parameter count
2014-07-15 11:06:53 -04:00
Rhodri Pugh
ad10a18071 added more informative error messages when invalid parameter count 2014-07-15 13:17:22 +01:00
Marco Pivetta
85fbf68436 Merge branch 'hotfix/#1019-detached-entity-exception-rewording'
Close #1019
2014-07-14 11:25:42 +02:00
Andreas Flack
0ade3aa62a Improve phrasing on exception message instead of trying to fix callers 2014-07-14 11:25:04 +02:00
flack
b8ef3af982 Small grammar fix
The exception was reading 

```
A detached entity was found during {removed|persisted} [entityName] 
```

I changed the verbs to infinitive now. Alternatively, the text in ``ORMInvalidArgumentException::detachedEntityCannot`` could also be changed to read 


```
Detached entity [entityName] cannot be {removed|persisted}  
```
2014-07-14 11:25:04 +02:00
Marco Pivetta
5361676bba Merge pull request #1038 from Greenflex/doc/dql-hidden-keyword
Add documentation for the `HIDDEN` keyword in DQL
2014-07-14 11:18:30 +02:00
Marco Pivetta
90dee7036d Merge pull request #1067 from albertvolkman/add-fullstop-and-newline
Add fullstop and newline after property description.
2014-07-14 11:09:40 +02:00
Marco Pivetta
b80149344d Merge pull request #1073 from kamazee/add_passing_type_to_rsm_in_sql_walker
Add missing type mapping
2014-07-14 10:51:13 +02:00
Alexander Kurilo
38fcc66c16 Add missing type mapping
Fixes DDC-3192
Refs DDC-2494

This is essentially a fix from DDC-2494 applied to SQLWalker.
The issue: type was not converted to PHP value when the result is fetched by
executing DQL query rather than using entity manager's findX(). Similar issue
for BasicEntityPersister (which is used when em's findX is executed) was fixed
in DDC-2494, but SQLWalker made the issue valid for any custom query.
2014-07-14 11:22:08 +03:00
Marco Pivetta
ae0ee72425 Merge pull request #1080 from danielsippel/DDC-2021
possible fix for DDC-2021
2014-07-11 21:35:34 +02:00