1
0
mirror of synced 2025-02-02 13:31:45 +03:00

8107 Commits

Author SHA1 Message Date
Marco Pivetta
a5a7c879fc #1202 - simplified test and test asset 2014-12-08 01:38:38 +01:00
Gareth Evans
5670912d0d Added test that passes following previous commit 2014-12-08 01:38:31 +01:00
Gareth Evans
fae0f6a29a Checks key exists rather than isset
If the default value is set to `null`, `isset` will return `false` even though the key is actually there for a reason.
2014-12-08 01:38:21 +01:00
Marco Pivetta
f45cf2629e Merge branch 'hotfix/#1211-DDC-3434-backport-to-2.4' into 2.4
Close #1211
2014-12-05 18:11:57 +01:00
Marco Pivetta
4d846c1992 DDC-3434 - removing explicit failure: 2.4 uses different column alias naming strategy logic 2014-12-05 18:11:44 +01:00
Marco Pivetta
37516d7548 DDC-3434 - adding note on why restoring 'HIDDEN' selected fields is relevant 2014-12-05 18:07:47 +01:00
Marco Pivetta
24c4ec91e5 DDC-3434 - HIDDEN modifier marked fields in ORDER BY clause are always preserved when creating a paginator subquery 2014-12-05 18:07:41 +01:00
Marco Pivetta
f31f088f0b DDC-3434 - adding test case for HIDDEN modifier fields in ORDER BY sequences: should be preserved in any case 2014-12-05 18:07:35 +01:00
Marco Pivetta
51da937bbc DDC-3434 - removed unneeded escaping sequences 2014-12-05 18:07:30 +01:00
Marco Pivetta
801e7f0ef7 DDC-3336 - adding $types parameter to ConnectionMock#fetchColumn() for DBAL 2.5 compatibility 2014-12-05 17:30:16 +01:00
Marco Pivetta
f0e6408005 DDC-3336 - removing explicit failure: 2.4 uses different column alias naming strategy logic 2014-12-05 17:29:18 +01:00
Marco Pivetta
c398f8c2c2 Merge branch 'hotfix/backport-DDC-3336-undefined-property-in-paginator-walkers-with-scalar-expressions-in-order-by-clause' into 2.4
Close #1210
2014-12-05 16:46:52 +01:00
Marco Pivetta
060bbb1366 DDC-3336 - applied hotfix: only PathExpression instances have a $field property 2014-12-05 16:45:57 +01:00
Marco Pivetta
34fad084a7 DDC-3336 - adding missing type-hint docblock 2014-12-05 16:45:50 +01:00
Marco Pivetta
bdc54d481c DDC-3336 - renamed test method for clarity 2014-12-05 16:45:44 +01:00
Marco Pivetta
60462919f2 DDC-3336 - adding failing test case: scalar expressions in the ORDER BY clause crash the LimitSubqueryOutputWalker 2014-12-05 16:45:39 +01:00
Marco Pivetta
5a8a017a66 DDC-3336 - importing platform classes 2014-12-05 16:45:31 +01:00
Marco Pivetta
c701e8b9a6 Merge branch 'hotfix/#1188-support-count-queries-with-parameters-in-removed-query-parts-2.4-backport' into 2.4
Merge #1188 into 2.4
2014-11-28 12:20:21 +01:00
Marco Pivetta
df99353f19 #1188 - Simplified and optimized parameter un-setting logic 2014-11-28 12:16:21 +01:00
Marco Pivetta
8b5dae30a5 #1188 - Importing parser class 2014-11-28 12:16:13 +01:00
Marco Pivetta
78770f9da8 #1188 - assertCount instead of assertEquals 2014-11-28 12:16:05 +01:00
Marco Pivetta
2f57c4fef9 #1188 - minor CS fixes (avoiding DQL one-liner) 2014-11-28 12:15:53 +01:00
Marco Pivetta
684ae859ce #1188 - accessing Doctrine\ORM\Tools\Pagination\Paginator#getCountQuery() via reflection for test purposes 2014-11-28 12:15:46 +01:00
Marco Pivetta
5f9dc2e5bc #1188 - making Doctrine\ORM\Tools\Pagination\Paginator#getCountQuery() private, as it is an implementation detail 2014-11-28 12:15:35 +01:00
Marco Pivetta
2dbe28a150 #1188 - removing unused variable assignments 2014-11-28 12:15:28 +01:00
Paweł Kolanowski
ea3856673d Missing doc block, removed parse() parameter.
Missing doc block, removed parse() parameter.
2014-11-28 12:15:17 +01:00
Merixstudio
7c02af8896 Filtering by auto-increnement field causes test error.
Executing the same test many times causes error because AI fields.
2014-11-28 12:15:07 +01:00
Merixstudio
61c18ce046 Testing SQLs in functional test is not necessary 2014-11-28 12:14:49 +01:00
Merixstudio
7f5620a41c Test parameter removing parameters passed to select part of query. 2014-11-28 12:14:40 +01:00
Merixstudio
ae198d5e45 Allowed to get count query from paginator. 2014-11-28 12:14:31 +01:00
Merixstudio
705c33bc35 Fixed counting exception
Fixed "Invalid parameter number: number of bound variables does not match number of tokens " exception during execution count on Query where select part of query contains :parameters.
2014-11-28 12:14:20 +01:00
Marco Pivetta
3cef0fdbfa Merge pull request #1191 from mvar/2.4-hotfix
[2.4] Documenting interface methods (based on entity manager)
2014-11-23 21:47:50 +01:00
Luís Otávio Cobucci Oblonczyk
ccbe849a72 Use docblox from EntityManagerInterface
(cherry picked from commit 6d58824ac52a63928c5d5e9a9d0b9a184cd92c7e)
2014-11-23 17:08:08 +02:00
Luís Otávio Cobucci Oblonczyk
2b8e03ff12 Fixing FQCN on docblox
(cherry picked from commit 67135e5d6f999f6eb9fba0fa20d29cf3bd664cea)
2014-11-23 17:00:22 +02:00
Luís Otávio Cobucci Oblonczyk
c4e93cf68c Documenting interface methods (based on entity manager)
(cherry picked from commit 877ba9bf17743cb7a1940ec62171eac98fd99045)
2014-11-23 16:59:50 +02:00
Marco Pivetta
cfdef3bf19 Merge pull request #925 from deeky666/DDC-2310-2.4
[DDC-2310] [DDC-2675] [2.4] Fix SQL generation on table lock hint capable platforms
2014-11-12 00:31:13 +01:00
Marco Pivetta
8bb1d5448b Bump version to 2.4.7 2014-10-06 15:23:31 +02:00
Marco Pivetta
bebacf79d8 Release 2.4.6 2014-10-06 15:22:50 +02:00
Steve Müller
d46fa4adeb Merge pull request #1154 from Ocramius/hotfix/PHP-5.6-serialization-fix
DDC-3120 - PHP 5.6 internal classes/Serializable serialization fix
2014-10-06 15:08:37 +02:00
Marco Pivetta
64061bafaf DDC-3120 - Adding PHP 5.6 to build matrix 2014-10-06 14:28:05 +02:00
Marco Pivetta
a69584a841 DDC-3120 - Using ReflectionClass#newInstanceWithoutConstructor() also with PHP 5.6+ 2014-10-06 14:26:00 +02:00
Marco Pivetta
8fc1c34b29 DDC-3120 - metadata should be waked up before attempting new instance creation 2014-10-06 14:25:16 +02:00
Marco Pivetta
0d683c1897 DDC-3120 - metadata should be initialized before attempting new instance creation 2014-10-06 14:22:06 +02:00
Marco Pivetta
60b75fefed DDC-3120 - add failing test for un-serialization of an internal PHP class from cached metadata instance 2014-10-06 14:13:40 +02:00
Marco Pivetta
0a7e0617cc DDC-3120 - add failing test for un-serialization of an internal PHP class 2014-10-06 14:13:32 +02:00
Marco Pivetta
072e1eee7b Bump version to 2.4.6 2014-09-23 00:04:35 +02:00
Marco Pivetta
c0d3cdbdfb Release 2.4.5 2014-09-22 23:58:51 +02:00
Marco Pivetta
a50ae2c898 Merge pull request #1142 from TwoWholeWorms/2.4
func_get_args() call order fix for HHVM bug
2014-09-22 23:43:46 +02:00
Benjamin Nolan
dbbe7a4be5 Fix for HHVM 2014-09-22 20:00:15 +01:00
Marco Pivetta
406e177062 Bump version to 2.4.5 2014-07-11 05:13:19 +02:00