Luís Cobucci
0aef63b350
Fix quoting also when using inheritance
2017-04-30 19:36:41 +02:00
lemartin
7c6c5d87c8
Fix quoting issues related to ticket #6402
...
Apply quoting strategy to foreign key columns of one-to-one relation so
that correct select statements are generated. And use unquoted column
names in result mapping instead of quoted ones, as consumers (namely
IdentifierFlattener) expect unquoted column names.
2017-04-30 13:51:49 +02:00
Vytautas Stankus
a557c97a93
Add support for STARTS_WITH and ENDS_WITH comparison operators
2017-04-30 13:19:51 +02:00
Boris Yonchev
bd1efaf528
DDC-2780 - Fixed issue with IS NULL on join aliases
2017-03-07 18:34:50 +01:00
Jáchym Toušek
64ab53a243
Fix annotation
2017-01-31 11:57:01 +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
Luís Cobucci
512aa8a3c7
Use "::class" syntax on "lib" directory
2016-12-08 17:09:35 +01:00
Luís Cobucci
234989d069
Use short-array syntax on "lib" directory
2016-12-08 00:31:12 +01:00
ReenExe
12465e08ad
agree with scrutinizer
2016-11-26 06:40:32 +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
Vladimir Reznichenko
0bf3d7f84c
Static Code Analysis with Php Inspections (EA Extended)
2016-11-06 14:22:47 +01:00
Jefersson Nathan
b8a18cd0a1
fix license header inconsistencies
2016-10-25 23:58:42 -03:00
ReenExe
8eef0beacb
clear code
2016-07-01 01:20:52 +03:00
Gabriel Potkány
56a6505294
removed some unused variables
2016-06-19 14:46:02 +02:00
Mikhail Shamin
bf322b903d
Optimize imports. Remove full qualified class names
2016-05-11 01:55:12 +07:00
Bill Schaller
744c308337
Remove dead code SQLWalker::walkCaseExpression
2016-01-08 13:58:02 -05:00
Bill Schaller
55d4f515af
Fix issue were identifier operands in /,* arithmetic terms were not checked to see if they're query components
2016-01-08 12:53:05 -05:00
oprokidnev
e390dbd5ba
Target entity resolver for DQL
...
Since we have target entity resolver in doctrine this class check is not enought.
To gain interface resolution it is better to add interface check in addition to class_check here.
2015-12-11 21:33:59 +01:00
Jeroen Thora
6dcb97a20e
Fixed many small phpcs issues
2015-12-11 20:30:41 +01:00
Guilherme Blanco
9f93999758
Merge pull request #1487 from xxccdef/DDC-3864
...
[DDC-3864] Support any ordering of fields in partial object query with embeddable
2015-11-15 22:03:25 -05:00
Guilherme Blanco
443259f629
Some extra refinement over patch
2015-11-09 03:19:11 +00:00
Matthias Pigulla
b7bd42638d
Fix for DDC-3697 and DDC-3701
...
Also fix Lexer::match() so it does not accept T_WHERE when T_WITH is supposed to be matched. (DDC-3701)
2015-11-09 03:19:11 +00:00
Alex Vasilenko
c8d2ac40f4
fixes result cache setting query caching
2015-11-07 16:14:54 +00:00
Guilherme Blanco
d7a3154954
Merge pull request #1397 from giosh94mhz/concat_expr_variable_arguments
...
Add Expr::concat support for multiple arguments
2015-11-07 10:45:04 -05:00
Guilherme Blanco
d88cf97bef
Merge pull request #1507 from deguif/fix-wrong-property
...
Fixed wrong property name
2015-11-07 10:09:06 -05:00
Guilherme Blanco
843966ac50
General fixes across CS, type resolving, test fixes, etc
2015-11-07 03:55:05 +00:00
aleeeftw
5481e0fb8b
Minor docblock correction
...
The documentation for the method ‘addJoinedEntityFromClassMetadata’ is
wrong. As we can see currently says you need to pass an object and that
is wrong. The $relation variable is passed to ‘addJoinedEntityResult’
which is using it as a ‘string’.
2015-11-01 10:43:03 +00:00
Angel Fernando Quiroz Campos
47441666df
Update Expr.php
2015-10-20 16:55:43 -05:00
François-Xavier de Guillebon
4b7d8511f8
Fixed wrong variable used as array key
2015-09-14 18:34:55 +02:00
François-Xavier de Guillebon
a18ff95fc4
Fixed wrong property name
2015-09-11 17:17:28 +02:00
Giorgio Premi
16172534bb
Add Expr::concat support for multiple arguments
2015-09-10 17:01:09 +02:00
Issei.M
df461601f7
removed useless line breaks
2015-09-03 17:55:14 +09:00
Egidijus Jucevičius
d4d9a2ba3c
Support any ordering of fields in partial object query with embeddable [DDC-3864]
2015-08-04 10:56:50 +03:00
Andy Cook
26c295b06b
Added non-functional tests for row number over function subselect expression fix; syntax fixes.
2015-07-17 13:24:19 +01:00
Andy Cook
61488d955e
Fixed issue when paginator orders by a subselect expression on platforms supporting ROW_NUMBER OVER() function.
2015-07-16 11:20:22 +01:00
Marco Pivetta
3bc3aeeb52
Minor docblock correction (discovered during testing)
2015-04-02 23:43:41 +01:00
Marco Pivetta
9a2afd1a9a
#1350 - parameters
should be an array
by default
2015-03-31 22:02:48 +01:00
mmoreram
f6a1ea4859
Assigned default value to array
...
* For strict configurations of PHP, we were accessing to a non-array element
2015-03-31 22:02:05 +01:00
Marco Pivetta
cf1ecffb14
Merge pull request #1339 from BenMorel/dqlcustomtype
...
[DDC-2224] Honor convertToDatabaseValueSQL() in DQL query parameters
2015-03-25 01:27:05 +00:00
Marco Pivetta
70c8591bbe
Merge pull request #1343 from karlrixon/master
...
Support embeddables in partial object query expression [DDC-3621]
2015-03-23 23:43:36 +00:00
Benjamin Morel
517cb7e2a2
Honor convertToDatabaseValueSQL() in DQL query parameters
2015-03-18 00:24:41 +01:00
Jan Langer
8ac66bb608
Allow DateTimeInterface as parameter value
2015-03-17 20:58:20 +00:00
Karl Rixon
778ed04eac
Support embeddables in partial object query expression [DDC-3621]
2015-03-17 15:46:01 +00:00
Jeroen Thora
a409e7591d
Changed some wrong usage of the @internal phpdoc
2015-03-15 16:53:34 +01:00
FabioBatSilva
57bcd7cd3d
DATE_ADD - Support for seconds
2015-02-25 14:32:51 -05:00
Kiel Goodman
0c5ea34fd4
[DDC-3436] Fix changes requested 2/2
2015-01-17 08:33:23 +01:00
Kiel Goodman
dc98da585d
[DDC-3436] Fix changes requested 1/2
2015-01-17 08:33:23 +01:00
Kiel Goodman
918d2910d9
[DDC-3108] Fix regression introduced in DDC-2764 where join aliases were no longer accessible in Criteria expressions
2015-01-17 08:33:23 +01:00
Marco Pivetta
6fc0d84b7a
DDC-3427 - s/EntityManager/EntityManagerInterface in type-hints
2015-01-16 14:21:30 +01:00