Luís Cobucci
5109322f7d
Make explicit the design decisions of ConsoleRunner
2017-07-22 21:56:59 +02:00
Luís Cobucci
d4b94e097a
Ensure that ConsoleRunner has the right command list
2017-07-22 21:56:56 +02:00
Luís Cobucci
2b824ea9df
Update ConsoleRunner command list
...
Adding L2C commands and DBAL reserved words command.
2017-07-22 21:56:42 +02:00
Marco Pivetta
2fb3cfdba2
Merge pull request #6143 from chihiro-adachi/patch-1
...
fixed #5622 - mysql 5.7 ONLY_FULL_GROUP_BY
2017-07-22 21:41:51 +02:00
Luís Cobucci
5389ad7261
Make LimitSubqueryOutputWalker a bit more readable
...
Also simplifying the REGEX to remove the ORDER BY type (ASC/DESC) with a
substr() since OrderByItem#type is always defined.
2017-07-22 20:34:18 +02:00
Luís Cobucci
3d5acd607b
Bump up doctrine/instantiator version
2017-07-22 19:30:47 +02:00
Luís Cobucci
4a736f48f8
Add MySQL 5.7 to Travis configuration
...
Following the same setup of doctrine/dbal#2764 .
2017-07-22 19:28:29 +02:00
chihiro-adachi
60601a9323
fix query and tests
2017-07-22 19:28:28 +02:00
Martin Kirilov
854ff17ab9
Should fix MySQL 5.7 issues caused by ONLY_FULL_GROUP_BY
...
Should fix MySQL 5.7 issues caused by ONLY_FULL_GROUP_BY
2017-07-22 19:28:28 +02:00
Greg Bell
624af3df22
Add note clarifying WHERE, WITH and HAVING
...
- A per Ocramius' explanation in #6563
2017-07-22 17:40:56 +10:00
Greg Bell
80573038ed
Add additional detail and clarifications on SELECT
...
- Also the effect of WHERE on result array.
2017-07-22 17:28:48 +10:00
Marco Pivetta
668ad4cc29
Merge pull request #6550 from alcaeus/fix-persistent-collection-return
...
Fix return value of removeElement for extra lazy collections
2017-07-22 09:26:15 +02:00
Marco Pivetta
fb3ec7648d
Merge pull request #6569 from stoccc/patch-1
...
Added a test case for postLoad on fetch-joined entities - fetch joined entities should have lifecycle events fired as well
2017-07-21 18:30:38 +02:00
Luís Cobucci
39572a8b6e
Merge pull request #6570 from stloyd/patch-1
...
Prevent Travis-CI failure if xdebug is not available
2017-07-21 11:19:30 +02:00
Joseph Bielawski
247fb6ef0d
Prevent Travis-CI failure if xdebug is not available
2017-07-21 11:03:05 +02:00
stoccc
17892bb327
added named parameter and LifecycleCallbackCascader::getId()
2017-07-21 10:47:32 +02:00
stoccc
c47cf1de34
Added a test case for postLoad on fetch-joined entities
...
see https://github.com/doctrine/doctrine2/issues/6568
2017-07-21 10:33:28 +02:00
Marco Pivetta
63519be69c
Merge pull request #6562 from bitwombat/doc_changes
...
Make minor English fixes.
2017-07-21 02:15:19 +02:00
Greg Bell
34c25a3ee3
Make minor English fixes.
...
- Remove the apparently dangling text at the bottom of
reference/query-builder.rst
2017-07-19 11:14:46 +10:00
Andreas Braun
45e1817f6f
Add test for removing element not in collection
2017-07-13 16:39:06 +02:00
Andreas Braun
260cc6e3e0
Fix return of removeElement on collections
...
Fixes #5745
2017-07-13 08:16:00 +02:00
Marco Pivetta
e3ecec36ad
Merge pull request #6545 from Landerstraeten/patch-1
...
Fix newline in annotation example in documentation
2017-07-12 08:23:18 +02:00
Lander Vanderstraeten
c678577f8f
Fix newline
2017-07-11 13:18:52 +02:00
Luís Cobucci
c32ba8f5d1
Merge pull request #6535 from Majkl578/phpstan
...
[master] PHPStan integration - levels 0 + 1
2017-07-07 10:36:08 +02:00
Michael Moravec
74c48c201d
Push PHPStan to level 1
2017-06-30 00:27:50 +02:00
Ondrej Mirtes
1231861b09
Initial PHPStan integration (level 0)
2017-06-30 00:27:49 +02:00
Alessandro Lai
c7ef9085fb
Merge additional fix (and master changes) from taueres/fix-instance-of-subclasses
2017-06-26 09:45:44 +02:00
Sergio Santoro
e91dcf8fb4
Fix discriminator resolution when using parameters
2017-06-24 13:35:44 +02:00
Alessandro Lai
b1f7c59ed5
Adding a failing test case for parameter binding using metadata with INSTANCE OF
2017-06-24 10:58:18 +02:00
Alessandro Lai
2fd8752818
Simplify stubs used in tests
2017-06-24 10:58:18 +02:00
Alessandro Lai
d2f7514248
Put all tests classes in a single namespace
2017-06-24 10:58:18 +02:00
Alessandro Lai
167dfde00f
Apply additional fixes to the SqlWalker to fix tests
2017-06-24 10:58:18 +02:00
Alessandro Lai
5181eae8d6
Refactor a bit the SqlWalker modifications
2017-06-24 10:58:18 +02:00
Alessandro Lai
31d2d84160
Fix test
2017-06-24 10:58:18 +02:00
Alessandro Lai
bd47ec95a1
Move tests to ticket namespace (and rename them)
2017-06-24 10:58:18 +02:00
Alessandro Lai
0e88f1b654
Split SqlWalker::walkInstanceOfExpression method
2017-06-24 10:58:18 +02:00
Alessandro Lai
aa233f8e57
Fix small CS issues as per review
2017-06-24 10:58:18 +02:00
Alessandro Lai
04acde667a
Fix as per review
2017-06-24 10:58:18 +02:00
Sergio Santoro
7d98135084
[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-06-24 10:58:18 +02:00
Marco Pivetta
388afb46d0
Merge pull request #6245 from lcobucci/l2c-use-getMultiple
...
Use `getMultiple()` to fetch associations as well in L2 cache fetch operations
2017-06-24 09:17:55 +02:00
Marco Pivetta
5d98247178
Merge pull request #5756 from whyte624/master
...
s/__tostring()/__toString() in Expr\OrderBy
2017-06-24 04:12:55 +02:00
Marco Pivetta
b66dd0b6fa
Merge pull request #5787 from iBet7o/patch-doc
...
Fix bug: orderBy documentation
2017-06-24 04:05:41 +02:00
Marco Pivetta
807f1422a3
Merge branch 'fix/#1515-clean-hydrator-listeners-on-hydration-end'
...
Close #1515
2017-06-24 03:41:00 +02:00
Marco Pivetta
995054d884
#1515 dropping DDC-3146 test, which was moved to the hydration tests
2017-06-24 03:40:46 +02:00
Marco Pivetta
0b5d877d5f
Migrating #1515 tests to AbstractHydratorTest
2017-06-24 03:40:12 +02:00
Marco Pivetta
067e01e0d7
#1515 cleaning up test case, since the PHPUnit 5.4+ API is much nicer
2017-06-24 03:32:58 +02:00
Marco Pivetta
aba486ea2d
#1515 removing redundant assignment, short array notation
2017-06-24 03:27:12 +02:00
Emiel Nijpels
9eb2d6139e
DDC-3146 remove event listener from event listener in abstract hydrator in cleanup function
2017-06-24 03:22:12 +02:00
Marco Pivetta
41bcdb3268
Merge pull request #6494 from astepin/gh-6356
...
Add failing test for #6314 and PR #6356
2017-06-23 12:54:29 +02:00
Marco Pivetta
95b30c1d40
Merge pull request #6515 from lcobucci/use-updated-environment
...
Use the Travis' Trusty build environment
2017-06-23 11:33:15 +02:00