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
Alexander Guz
7bf206adb4
#6129 Moved test to AbstractMappingDriverTest.
2016-11-16 20:01:11 +01:00
Alexander Guz
8580f02c6a
#6129 Use User::class to get metadata instead of string.
2016-11-16 18:07:58 +01:00
Alexander Guz
cdf4af5f27
Added unit test for boolean option values.
...
It fail now. In `XmlDriver::_parseOptions` we need somehow to maintain
a list of options, that are supposed to be boolean, and then call
`$this->evaluateBoolean()` on them.
2016-11-16 17:56:07 +01:00
Marco Pivetta
05e77868ab
Merge pull request #6120 from mschroeder/patch-3
...
Fixed typos regarding the strategy for composite keys (xml mapping)
2016-11-06 18:50:00 +01:00
Vladimir Reznichenko
db375a22cc
Static Code Analysis with Php Inspections (EA Extended): revert unsets
2016-11-06 17:58:45 +01:00
Vladimir Reznichenko
0bf3d7f84c
Static Code Analysis with Php Inspections (EA Extended)
2016-11-06 14:22:47 +01:00
Martin Schröder
155672af40
Fixed typos regarding the strategy for composite keys (xml mapping reference)
...
The strategy for composite primary keys must be "NONE" although the id generator class is \Doctrine\ORM\Id\AssignedGenerator. Calling the strategy "ASSIGNED" is misleading.
2016-11-06 14:05:50 +01:00
Marco Pivetta
bd58e4de4f
Merge pull request #6119 from mschroeder/patch-2
...
Fixed typo regarding the id generator mandatory for composite keys
2016-11-06 13:38:50 +01:00
Martin Schröder
3e98fdb082
Fixed typo regarding the id generator mandatory for composite primary keys
...
The strategy for composite primary keys must be "NONE" although the id generator class is \Doctrine\ORM\Id\AssignedGenerator. Calling the strategy "ASSIGNED" is misleading.
2016-11-06 13:37:07 +01:00
Marco Pivetta
3b6309318b
Merge pull request #6014 from photodude/patch-1
...
As of HHVM 3.15 pgsql is supported, add php 7.1 to tests
2016-11-05 10:03:49 +01:00
mikeSimonson
60a967bb1d
Merge pull request #6113 from mikeSimonson/master
...
Fix documentation
2016-11-03 21:10:41 +01:00
mike
b8b5c2d686
Merge branch 'master' of github.com:doctrine/doctrine2
2016-11-03 20:42:59 +01:00
mike
11c2d815ef
Correcting a use statment in the documentation
2016-11-03 20:40:48 +01:00
Marco Pivetta
56741a3fee
Merge pull request #6063 from kormik/patch-1
...
Fix PHP version in readme.
2016-10-27 02:11:19 +02:00
Marco Pivetta
c8df209409
Merge pull request #6065 from adiq/patch-1
...
Update Autoloader namespace [docs]
2016-10-27 02:10:43 +02:00
Marco Pivetta
fb95116a26
Merge pull request #6101 from malukenho/add-license-checker
...
Add license checker to the build
2016-10-27 01:16:18 +02:00