Christian Hammerl
0a86c324ad
Add test case for autoincremented id of custom type
2016-11-27 01:45:56 +01:00
Renan Gonçalves
52badf1cdd
Convert generated id value to its PHP representation.
...
According to the conversion rules of a specific DBAL mapping type.
2016-11-27 01:43:50 +01:00
Marco Pivetta
4c59ec9282
Merge pull request #5834 from ismailbaskin/patch-1
...
Fix custom-id-generator class attribute type
2016-11-26 07:04:02 +01:00
Marco Pivetta
dc7c6ed72c
Merge pull request #5897 from mikaelz/patch-1
...
Check for Xcache from INI setting
2016-11-26 06:48:55 +01:00
Marco Pivetta
28025b8230
Merge branch 'cleanup/#5914-cleanup-sql-walker-code'
...
Close #5914
2016-11-26 06:45:16 +01:00
Marco Pivetta
0ed18fb062
#5914 removed unused conditional inside EntityGenerator
, replaced with array_filter()
instead
2016-11-26 06:44:53 +01:00
Marco Pivetta
5d477cdbbc
#5914 ClassMetadataInfo#$lifecycleCallbacks
is a multi-dimensional array
2016-11-26 06:42:46 +01:00
ReenExe
b2f5da19a4
clear code
2016-11-26 06:40:56 +01:00
ReenExe
401300b295
decrease nested if
2016-11-26 06:40:56 +01:00
ReenExe
12465e08ad
agree with scrutinizer
2016-11-26 06:40:32 +01:00
Marco Pivetta
89a00860e4
Merge branch 'fix/#6068-docblock-entity-generation-for-nullable-types'
...
Close #6068
2016-11-26 06:35:33 +01:00
Marco Pivetta
f8002ca27e
#6068 hardened test logic to verify that nothing is present after the |null
in @var
and @return
types
2016-11-26 06:35:23 +01:00
Marco Pivetta
a4f76bda34
#6068 corrected nullable field expression generator, made it private to avoid misuse
2016-11-26 06:26:53 +01:00
Marco Pivetta
1d2baedfd5
#6068 simplified variable docblock codegen for nullable instance properties
2016-11-26 06:22:25 +01:00
Marco Pivetta
3341781f52
#6068 inlined code generating expression
2016-11-26 06:20:12 +01:00
Javier Spagnoletti
1dfadef221
Removed surplus semicolon at EntityGenerator::generateFieldMappingPropertyDocBlock()
2016-11-26 06:12:31 +01:00
Javier Spagnoletti
ad6469b64a
Update tests
2016-11-26 06:12:31 +01:00
Javier Spagnoletti
087d081601
Fix CS
2016-11-26 06:12:31 +01:00
Javier Spagnoletti
d3c604567b
Update docblock generation for nullable fields
2016-11-26 06:12:31 +01:00
Marco Pivetta
c148059593
Merge branch 'fix/#6110-collection-clear-should-also-clear-keys'
...
Close #6110
2016-11-26 06:06:59 +01:00
Marco Pivetta
20190605a0
#6110 CS (whitespace removal)
2016-11-26 06:06:49 +01:00
Marco Pivetta
9acf170292
#6110 split test into multiple sub-scenarios involving PersistentCollection
key checking
2016-11-26 06:02:16 +01:00
Steevan BARBOYON
fa09a95023
Clear $this->collection even when empty, to reset indexes
2016-11-26 05:57:56 +01:00
Marco Pivetta
b06dcb89b3
Merge pull request #5947 from alexryderwhytewaters/patch-1
...
Missing `ClassMetadataExporter` instantiation in the reverse engineering code samples
2016-11-26 05:47:34 +01:00
Marco Pivetta
f11697361d
Merge pull request #5948 from Michal-sk/patch-1
...
Update association-mapping.rst to ease understanding of what associations mean
2016-11-26 05:46:39 +01:00
Marco Pivetta
a9c2778f30
Merge pull request #6085 from arjank/fix/Call_correct_method_in_test
...
More specific named native query throw exceptions test
2016-11-26 05:28:28 +01:00
Marco Pivetta
be1fd130f1
Merge pull request #6025 from ywarnier/ywarnier-patch-1
...
Fix typo in batch-processing doc
2016-11-26 05:26:20 +01:00
Marco Pivetta
a9230b8546
Merge branch 'cleanup/#5987-code-simplifications'
...
Close #5987
2016-11-26 05:25:01 +01:00
Marco Pivetta
3cd7b8c951
#5987 CS: spacing after !
(not) operator
2016-11-26 05:23:04 +01:00
Marco Pivetta
24da9061b9
#5987 inlined check for boolean 'true'
literal
2016-11-26 05:22:43 +01:00
Javier Spagnoletti
e2b198112e
[minor] Add missing type hints, add strictness for some checks, remove some useless calls
2016-11-26 05:18:46 +01:00
Marco Pivetta
e7f2e35383
Merge pull request #5977 from gadelat/cleanup-1
...
Remove unneeded ternary operator from Query::contains
2016-11-26 05:05:37 +01:00
Marco Pivetta
979fede80c
Merge pull request #6038 from ReenExeContributor/cleanup-UnitOfWork
...
remove excess `check`
2016-11-26 04:59:16 +01:00
Marco Pivetta
8c38f5775d
Merge pull request #6121 from kalessil/sca
...
Static Code Analysis with Php Inspections (EA Extended)
2016-11-26 04:57:48 +01:00
Marco Pivetta
899393d3bb
Merge pull request #6142 from mbeccati/php72-count-fix
...
Fix incompatibility w/ PHP7.2+
2016-11-26 04:56:39 +01:00
Marco Pivetta
bfa9a31ad7
Merge pull request #6145 from lcobucci/improve-test-documentation
...
Improving the documentation of enums as discriminators test
2016-11-23 19:35:20 +01:00
Luís Cobucci
6344fd34cb
Improving the documentation of enums as discriminators test
...
@Ocramius was too eager to merge stuff
Related to: https://github.com/doctrine/doctrine2/pull/6141
2016-11-23 19:20:47 +01:00
Marco Pivetta
7789df39c5
Merge pull request #6141 from lcobucci/object-as-discriminators
...
Allow using objects as discriminators
2016-11-23 19:14:53 +01:00
Luís Cobucci
1b39cd87ad
Allow using objects as discriminators
2016-11-23 18:56:36 +01:00
Marco Pivetta
86fd0c5aa9
Merge pull request #6028 from lcobucci/fix/l2c-inheritance-query-cache
...
Make child entity share the timestamp region with parent class
2016-11-23 18:06:52 +01:00
Matteo Beccati
39dcf3e4c6
Fix incompatibility w/ PHP7.2+
...
Mock_ParserResult_*::getParameterMappings() was returning null, which
was then passed to count() on Query.php:308, causing a "Parameter must
be an array or an object that implements Countable" error.
2016-11-22 07:42:06 +01:00
Luís Cobucci
317e86802d
Make child entity share the timestamp region with parent class
2016-11-20 19:27:53 +00:00
Marco Pivetta
95d9c64aec
Merge pull request #6138 from WhiteEagle88/version-docs
...
Added examples for version column in the xml and yml formats
2016-11-19 23:04:47 +01:00
Dmytro Boiko
53cd9c4ca8
Added examples for version column in the xml and yml formats
2016-11-19 23:34:10 +02:00
Marco Pivetta
e7856f90d8
Merge branch 'feature/#6136-better-exception-message-on-invalid-connection-object'
...
Close #6136
2016-11-18 09:21:18 +01:00
Marco Pivetta
d2643eeb8b
#6136 Removed regex assertion - constant assertion is sufficient
2016-11-18 09:19:27 +01:00
SpacePossum
e37041aa94
Update message.
2016-11-18 08:06:11 +01:00
Marco Pivetta
f1bf045af3
Merge pull request #6130 from kalimatas/fix-xml-option-boolean
...
#6129 Added unit test for boolean option values.
2016-11-17 21:24:44 +01:00
Alexander Guz
8d433cdb39
#6129 Fixed code style and @depends in test.
2016-11-17 21:05:58 +01:00
SpacePossum
f9a605f6ca
Add details about invalid Connection passed at creation.
2016-11-17 17:23:22 +01:00