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
Jefersson Nathan
b8a18cd0a1
fix license header inconsistencies
2016-10-25 23:58:42 -03:00
Thomas Ploch
ea788fb734
Exporters should only inspect joinColumns
for owning side in bi-directional OneToOne
...
rebased commits:
- Added test case for bi-directional OneToOne in YamlExporter
- Only inspect joinColumns for owning side in bi-directional OneToOne in YamlExporter
- Adding bi-directional test case without joinColumn to XmlExporter test
- Same testcase also applied to PhpExporter
- Fixing bi-directional issue in PhpExporter when inspecting joinColumns index
- Implemented @Ocramius suggestions
2016-06-08 13:24:43 +02:00
Mikhail Shamin
bf322b903d
Optimize imports. Remove full qualified class names
2016-05-11 01:55:12 +07:00
Steve Müller
f9217cf6f2
fix documentation of schema tool's "save mode"
...
fixes #5596
2016-01-08 15:37:19 +01:00
Jeroen Thora
6dcb97a20e
Fixed many small phpcs issues
2015-12-11 20:30:41 +01:00
Guilherme Blanco
04789dfec7
Merge pull request #1443 from meeuw/unsigned
...
Unsigned
2015-11-15 22:16:15 -05:00
vershnik
96398ba30f
remove indexes overruled by primary key
...
There can be unique indexes automatically created for join column.
If join column is also primary key we should keep only primary key on this column.
Oracle does not allow having both unique index and primary key on the same column, it is useless for mysql too.
(Previously it was done by DBAL, but now it allows duplicate indexes)
2015-11-16 02:49:41 +00:00
Guilherme Blanco
ada97d55ce
Merge pull request #1375 from webimpress/fix/DDC-3671
...
DDC-3671 prevent duplicate unique index
2015-11-07 11:44:02 -05:00
Marco Pivetta
28cebeca1c
Merge pull request #1407 from aivus/patch-1
...
Add return to removeMethodTemplate
2015-11-06 23:11:42 -05:00
Guilherme Blanco
843966ac50
General fixes across CS, type resolving, test fixes, etc
2015-11-07 03:55:05 +00:00
Marco Pivetta
a0a0c731bb
Merge pull request #1457 from phansys/short_types
...
Updated syntax for "integer" and "boolean" types
2015-09-05 17:21:05 +02:00
Issei.M
df461601f7
removed useless line breaks
2015-09-03 17:55:14 +09:00
Benjamin Eberlei
2b3648c725
[DCOM-293] Fix security misconfiguration vulnerability allowing local remote arbitrary code execution.
2015-08-31 14:16:50 +02:00
Javier Spagnoletti
cedff7715e
[Paginator] Fixed boolean casting in Paginator
...
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
2015-07-14 16:48:42 -03:00
Javier Spagnoletti
97cc49033e
Updated syntax for ``integer
` and
`boolean
`` types
...
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
Used short syntax for ```integer``` and ```boolean``` types.
**Before**
```php
/**
* @var integer
*
* @ORM\Column(name="some_integer_field", type="integer")
*/
private $someIntegerField;
/**
* @var boolean
*
* @ORM\Column(name="some_boolean_field", type="boolean")
*/
private $someBooleanField;
```
**After**
```php
/**
* @var int
*
* @ORM\Column(name="some_integer_field", type="integer")
*/
private $someIntegerField;
/**
* @var bool
*
* @ORM\Column(name="some_boolean_field", type="boolean")
*/
private $someBooleanField;
```
2015-07-14 15:30:13 -03:00
Dick Marinus
4a39754e76
unsigned is in fieldMapping['options']
2015-07-09 20:54:04 +02:00
Kévin Dunglas
abf6b8bee5
minor: Code quality in Paginator
2015-07-07 10:09:06 +02:00
Dick Marinus
9715f3dfcc
add field options as array
2015-06-30 19:42:22 +02:00
Restless-ET
b33612f9e7
[2.5][Bug] Fix ConvertDoctrine1Schema->getMetadata
...
This bug was introduced at #1205 while resolving #1200 .
2015-06-05 17:08:50 +01:00
Ilya Antipenko
6a98f0391d
Add return to removeMethodTemplate
2015-05-13 15:52:38 +03:00
Filip Procházka
e501137d1a
LimitSubqueryOutputWalker: fix aliasing of property in OrderBy from MappedSuperclass
2015-04-09 01:43:05 +02:00
Michał Bundyra
699a6e1783
prevent duplicate unique index
2015-04-08 10:49:21 +01:00
David Prévot
b7cf41ca45
Drop useless execution bit
2015-04-01 16:01:22 -04:00
Marco Pivetta
ba00fc1e90
#1353 #1347 #1351 - s/inSubselect/inSubSelect (with docblock documentation)
2015-03-31 21:51:56 +01:00
Marco Pivetta
6c5dbd8d4c
#1353 #1347 #1351 - Removing double quotes (confusing)
2015-03-31 21:50:08 +01:00
Bill Schaller
5c93e61686
Fix issue in LimitSubqueryOutputWalker with entities having field names different from column names
2015-03-31 21:39:21 +01:00
Bill Schaller
608dfa2f57
Add more detection in LimitSubqueryWalker for conditions that must be handled by LimitSubqueryOutputWalker
2015-03-31 21:39:20 +01:00
Bill Schaller
b76107e20f
resolve review comments from @stof
2015-03-31 21:39:20 +01:00
Bill Schaller
edcc0fc024
Fix paginator when ordering by while selecting entities using joined table inheritance
2015-03-31 21:39:20 +01:00
Bill Schaller
09d28819b5
Fix issue where paginating on a query with a subquery in the where clause crashed
2015-03-31 21:38:58 +01:00
Bill Schaller
a8342a4be2
Cleanup
2015-03-31 21:36:33 +01:00
Bill Schaller
ff75a3ad49
Fix paginator issues when ordering by a joined column from a to-many association.
...
Manual merge testcase from #1351
2015-03-31 21:36:32 +01:00
Bill Schaller
54d7efd92c
Fix LimitSubqueryOutputWalker when used on tables with joined table inheritance
2015-03-31 21:32:28 +01:00
Fedik
5cd8334897
fix EntityGenerator RegenerateEntityIfExists
2015-03-27 13:10:14 +02:00
Marco Pivetta
d97d3ec0e5
Minor CS fixes (braces)
2015-03-24 00:37:17 +00:00
Marco Pivetta
45d39dd50d
Making preserveSqlOrdering
API private
2015-03-24 00:36:13 +00:00
Marco Pivetta
6dfff304f3
Merge branch 'hotfix/#1337-fix-oracle-postgresql-paginator-sorting-issues' into hotfix/#1342-paginator-functional-test-integration
2015-03-24 00:25:12 +00:00
Bill Schaller
4c84f54493
Fix failures on SQL Server due to scalar select items not having an alias
2015-03-19 17:09:47 -04:00
Jeremy
ac9a5e69ec
Properly generate default value from yml & xml mapping
2015-03-17 22:47:11 +00:00
Bill Schaller
5c4b6a2140
resolve nitpicks from @Ocramius and @deeky666
2015-03-17 18:44:03 -04:00
Bill Schaller
d710555265
Remove shameful hack in LimitSubqueryOutputWalker - replace with significantly less shameful hack
2015-03-17 18:32:57 -04:00
Bill Schaller
df0875c596
Fix Paginator OrderBy clauses when ordering by columns from non-fetched joined tables
2015-03-17 17:32:28 -04:00
Bill Schaller
eebce88146
Revert "Revert "Merge branch 'hotfix/#1220-sort-paginator-subquery-output-only-once'""
...
This reverts commit 6a1755972d19af4c1c07bc9c555d456d66426bda.
2015-03-17 13:58:50 -04:00
Thomas Lomas
37f5c82d15
Add proper pluralization into UpdateCommand
2015-02-24 18:13:13 +00:00
Marco Pivetta
6a1755972d
Revert "Merge branch 'hotfix/#1220-sort-paginator-subquery-output-only-once'"
...
This reverts commit 8f097ab30436412e8a62ead3fefe27c28d5bc905, reversing
changes made to b23a8dd4293a2509d64d8e650d9cccf088cded9f.
Conflicts:
tests/Doctrine/Tests/ORM/Tools/Pagination/LimitSubqueryOutputWalkerTest.php
2015-01-24 13:10:25 +01:00
Bill Schaller
3fd3da3d46
Fixed removal of ASC and DESC keywords from orderby items that will be included in select list
2015-01-17 22:12:26 +01:00
Bill Schaller
8350de781f
Doc fix
2015-01-17 22:12:26 +01:00
Bill Schaller
dfc0910756
Fixed how order by items are included in the select list of the select distinct wrapper statement
2015-01-17 22:12:26 +01:00