Yannick de Lange
7e50a965fa
Updated broken links
...
Updated all links pointing to
http://www.doctrine-project.org/documentation/ * to their
http://docs.doctrine-project.org counterparts
2017-04-12 23:09:48 +02:00
Sergio Santoro
e798bfe34a
[QUERY] "INSTANCE OF" now behaves correctly with subclasses
...
There was a bug in the "INSTANCE OF" operator as described in
https://groups.google.com/forum/#!topic/doctrine-user/B8raq8CNMgg
"INSTANCE OF" was not taking into account subclasses.
It was merely translating the class to its discriminator.
This is not correct since the class can have subtypes and those
are, indeed, still instance of the superclass.
Also, classes may not have a discriminator (e.g. abstract classes).
This commit also provides useful tests to avoid regression.
2017-04-11 17:50:01 +02:00
mike
0865181702
Do not force an order of definition in the entity elements
2017-04-11 09:43:50 +02:00
mike
b43325760d
Add a type for the class FQCN
2017-04-11 09:43:31 +02:00
mike
f537eb2915
Add a table name type that accept quoted table name
2017-04-11 09:43:25 +02:00
chihiro-adachi
2c5e76c961
fix class name.
2017-04-07 14:33:41 +02:00
Marco Pivetta
03b4397557
Merge pull request #6378 from Sam-Burns/phpunit6
...
PHPUnit 6
2017-04-01 06:49:33 +02:00
Sam-Burns
3d7a7346f7
Quieting risky test warnings where tests do actually perform assertions
2017-03-31 23:23:22 +01:00
Sam-Burns
5bd7bd8d48
Updating to PHPUnit 6
2017-03-31 21:59:02 +01:00
Marco Pivetta
904f4d5021
Merge pull request #6377 from Sam-Burns/minimum-dependencies
...
Minimum dependencies
2017-03-31 20:46:14 +02:00
Sam-Burns
7aab261c24
Switching to a PHPUnit version that doesn't throw a stty-related PHP warning on Travis
2017-03-31 15:46:04 +01:00
Sam-Burns
f5b4e8c823
Specifying minimum version of doctrine/annotations with which tests pass
2017-03-31 15:24:07 +01:00
Sam-Burns
60cc11461d
Bumping doctrine/cache minimum version, to make tests pass
2017-03-31 15:07:53 +01:00
Sam-Burns
f2edf36248
Bumping doctrine/collections minimum version, to make tests pass
2017-03-31 15:07:53 +01:00
Sam-Burns
d6049f8631
Adding breaking build testing with minimum Composer dependencies
2017-03-31 15:07:29 +01:00
Adam Gąsowski
5507e0be29
Fix wrong variable name
...
Fix $fieldMapping to $embeddedClass in generateEmbeddedPropertyDocBlock
2017-03-23 19:12:40 +01:00
Marco Pivetta
1aa02f9afc
Merge pull request #6326 from SenseException/check-option
...
[Documentation] Add column check-option to documentation
2017-03-12 11:53:13 -04:00
Boris Yonchev
bd1efaf528
DDC-2780 - Fixed issue with IS NULL on join aliases
2017-03-07 18:34:50 +01:00
Claudio Zizza
504e701020
Add existing column check-option to documentation
2017-03-06 00:34:18 +01:00
Marco Pivetta
e4704beaf9
Merge pull request #6287 from lcobucci/fix-test-suite
...
Fix EntityManagerDecorator tests
2017-02-13 01:46:01 +01:00
Luís Cobucci
dcc80af7d9
Fix EntityManagerDecorator tests
...
We were expecting a return value for all methods but on 6a56df9a24
we changed some methods to be void and of course that affected the
ORM.
2017-02-12 18:38:21 +01:00
Marco Pivetta
10935dd843
Merge pull request #6285 from svencan/doc-typos
...
Fix typos and wording in NamingStrategy documentation
2017-02-10 18:55:05 +01:00
Sven Cannivy
260c8d0113
Fix typos and wording in NamingStrategy documentation
2017-02-10 18:48:57 +01:00
Marco Pivetta
23ae83e351
Merge pull request #6268 from enumag/patch-4
...
Fix annotation
2017-01-31 12:00:42 +01:00
Jáchym Toušek
64ab53a243
Fix annotation
2017-01-31 11:57:01 +01:00
mikeSimonson
e42d0bdda5
Merge pull request #6262 from mikeSimonson/doc
...
Fix a link to a ref in another page
2017-01-27 09:30:38 +01:00
mike
f3df000d29
Fix a link to a ref in another page
2017-01-27 09:27:25 +01:00
mikeSimonson
5989ea1752
Merge pull request #6260 from mikeSimonson/doc
...
Document the Custom option of the generated value annotation
2017-01-26 14:12:34 +01:00
Marco Pivetta
888f1be7c9
Merge pull request #6257 from weaverryan/add-criteria-note
...
Adding a note about the `Doctrine\ORM\QueryBuilder#addCriteria()` method
2017-01-25 16:56:12 +01:00
Ryan Weaver
63bd6c359c
[Docs] Adding a note about the addCriteria method on QueryBuilder
2017-01-25 10:52:17 -05:00
mike
773af5b306
Document the Custom option of the generated value annotation
2017-01-25 15:54:03 +01:00
Marco Pivetta
9c76c3766f
Merge pull request #6251 from mbeccati/ddc2660-test-fix
...
Add missing group to DDC2660Test.php
2017-01-24 13:43:59 +01:00
Matteo Beccati
c816d375e8
Add missing group to DDC2660Test.php
...
With the current PHPUnit version and PHP 7.2/master, the test fails with:
1) Doctrine\Tests\ORM\Functional\Ticket\DDC2660Test::testIssueWithExtraColumn
array_flip(): Can only flip STRING and INTEGER values!
2) Doctrine\Tests\ORM\Functional\Ticket\DDC2660Test::testIssueWithoutExtraColumn
array_flip(): Can only flip STRING and INTEGER values!
Due to the group being NULL vs "" on older PHP versions.
I will also file a bug report or fix to PHPUnit and/or PHP itself, but it sounds
like the missing group was just a typo.
2017-01-24 12:46:19 +01:00
Marco Pivetta
b181228d69
Merge pull request #6250 from johndodev/patch-1
...
Note on Entity listeners
2017-01-23 09:57:58 +01:00
John
57f560401b
Note on Entity listeners
...
As requested here https://github.com/doctrine/doctrine2/issues/6247#issuecomment-274123780 I thought it should be interesting to note that.
The note could be longer, like "You should avoid to have multiple methods for the same event (e.g. multiple @PrePersist) since the execution order is not guaranteed".
2017-01-23 09:35:26 +01:00
Luís Cobucci
119aa4e46c
Merge pull request #6244 from lcobucci/l2c-ensure-root-classname-everywhere
...
Make sure we're using the rootEntityName on all places
2017-01-20 00:05:48 +01:00
Luís Cobucci
1f53afa9cd
Make sure we're using the rootEntityName on all places
...
Otherwise we might end up with duplicated cache entries and weird
results (specially regarding associations).
2017-01-19 17:24:47 +01:00
Luís Cobucci
4f28aaa206
Refactor to use class_map() instead
2017-01-16 23:22:52 +01:00
Mikhail Polyanin
bb943afabe
Optimization. Multiple get in QueryCache
2017-01-16 23:02:23 +01:00
mikeSimonson
247b085fce
Merge pull request #6239 from mikeSimonson/travis-update
...
Travis update
2017-01-16 18:17:36 +01:00
mike
5968b9e62f
Removing php 7.1 from the allowed failure
2017-01-16 17:09:49 +01:00
mike
a831bb82ce
Adding hhvm as allowed to fail in the test matrix
2017-01-16 17:08:47 +01:00
Marco Pivetta
41a377948b
Documenting BC Break introduced by the removal of Doctrine\ORM\Query\SqlWalker#walkCaseExpression()
...
Ref: https://github.com/doctrine/doctrine2/pull/5600
2017-01-15 23:56:44 +01:00
Marco Pivetta
09cbb9ff48
Merge pull request #5600 from billschaller/remove-dead-code-walk-case-expression
...
Remove dead code SQLWalker::walkCaseExpression
2017-01-15 23:52:38 +01:00
Marco Pivetta
730db5fd2e
Merge pull request #6232 from gadelkareem/patch-3
...
Allow gearman env vars
2017-01-14 01:18:13 +01:00
Marco Pivetta
3d7ddc89b4
Merge pull request #6231 from gadelkareem/patch-2
...
Allow gearman environment vars
2017-01-14 01:15:46 +01:00
Waleed Gadelkareem
109ac5f827
Allow gearman env vars
2017-01-13 18:11:10 +01:00
Waleed Gadelkareem
d137ffe0a4
Allow gearman environment vars
2017-01-13 18:09:36 +01:00
Marco Pivetta
31c40f8342
Merge pull request #6216 from malukenho/enhancement/remove-unused-param
...
Remove unused "$className" argument
2017-01-12 17:04:01 +01:00
Jefersson Nathan
5208187f1a
rewording upgrade sentence
2017-01-12 13:02:10 -03:00