Ryan Weaver
63bd6c359c
[Docs] Adding a note about the addCriteria method on QueryBuilder
2017-01-25 10:52:17 -05: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
Marco Pivetta
9e35d9712d
Merge pull request #6227 from ThomasLandauer/patch-3
...
Minor formatting improvements
2017-01-12 16:13:59 +01:00
Thomas Landauer
4fccf84c82
Added link
...
Sorry, I don't know how to link to the exact section 8.8
2017-01-12 14:23:55 +01:00
Thomas Landauer
38636e7db4
Minor formatting improvements
...
Numbered lists aren't displayed nicely, see e.g. http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/working-with-associations.html#persistence-by-reachability-cascade-persist - is this a rendering bug?
2017-01-12 13:59:24 +01:00
Thomas Landauer
63e4eea9e2
Complete re-write of "Transitive persistence / Cascade Operations" ( #6219 )
...
Follow-up of https://github.com/doctrine/doctrine2/pull/6171
2017-01-12 12:49:46 +01:00
Jefersson Nathan
df5f480b4c
document change as minor BC Break
2017-01-11 17:35:28 -03:00
Marco Pivetta
4e304df495
Merge pull request #6223 from lcobucci/fix-l2c-region-namespace
...
Appends cache namespace when it exists (for L2C regions)
2017-01-11 11:33:41 +01:00
Luís Cobucci
eaedc37d7b
Fix alignment issues on DefaultCacheFactoryTest.php
2017-01-11 11:04:43 +01:00
Luís Cobucci
5a562b3571
Appends cache namespace when it exists (for L2C regions)
...
We're overriding the namespace without even checking if it was previously
set, what causes problems when people uses that feature 😉
2017-01-11 11:01:39 +01:00
Marco Pivetta
4e573038be
Merge pull request #6220 from enumag/patch-2
...
Fix annotations
2017-01-10 12:50:39 +01:00
Jáchym Toušek
617ec9219e
Fix annotations
2017-01-10 09:12:18 +01:00
Marco Pivetta
ce4abdea55
Merge pull request #6171 from ThomasLandauer/patch-3
...
Include example of a cascaded "persist" operation
2017-01-09 14:08:31 +01:00
Thomas Landauer
7c168c2047
Update working-with-associations.rst
...
As requested: https://github.com/doctrine/doctrine2/pull/6171#pullrequestreview-15695400
2017-01-09 14:07:17 +01:00
Marco Pivetta
145c44630e
Merge pull request #6215 from malukenho/doc/#2190-add-link
...
Added link to `Transitive Persistence`
2017-01-05 22:22:07 +01:00
Jefersson Nathan
eaeecc3857
Remove unused arguments
2017-01-05 18:21:49 -03:00
Jefersson Nathan
f570eb5922
#2190 — Refer link to proper section and links more occurrence from Transitive Persistence
2017-01-05 12:46:01 -03:00
Jefersson Nathan
a1839048dd
#2190 — added link to Transitive Persistence
2017-01-05 11:48:16 -03:00
Luís Cobucci
c86865aa71
Merge pull request #6212 from malukenho/hotfix/#1808-fix-sql-example
...
Fix wrong DQL example
2017-01-04 07:34:18 +01:00
Jefersson Nathan
8b499a4791
#1808 — Fix wrong DQL example
2017-01-03 21:37:07 -03:00
Marco Pivetta
06691e0150
Merge pull request #6207 from gabidavila/master
...
Documentation: Fixes missing namespaces on class call
2017-01-02 19:40:44 +01:00
gabidavila
fc8ede844d
Fixes missing namespaces on class call
2017-01-02 16:11:46 -02:00
Marco Pivetta
443902f9f9
Merge pull request #6205 from railto/master
...
Remove support for PHP 5.x
2017-01-02 09:42:07 +01:00
Mark Railton
563c79bd80
Removes support for PHP 5.x
2017-01-02 08:36:42 +00:00
Marco Pivetta
d0c3f961ef
Merge pull request #6204 from alcohol/rip-5.6
...
rip 5.6
2017-01-02 09:28:08 +01:00
Rob Bast
a8d7b327ef
rip 5.6
2017-01-02 09:27:34 +01:00
Marco Pivetta
c24a89f4a3
Merge pull request #6197 from BenMorel/patch-2
...
getSingleScalarResult() returns NULL when the query yields no results
2016-12-26 04:41:20 +01:00
Benjamin Morel
3ce833fb62
getSingleScalarResult() returns NULL when the query yields no results
...
`NoResultException` is not thrown in this case.
2016-12-26 02:11:50 +01:00
Thomas Landauer
f3909ae885
Update working-with-associations.rst
2016-12-23 20:09:25 +01:00
Marco Pivetta
22b5fb1ad4
Merge pull request #6179 from biggianteye/getting-started-fixes
...
Minor fixes to the 'getting started' page
2016-12-23 04:03:05 +01:00
Burhan Ali
f64d543d0c
Add minor fixes to the 'getting started' page
2016-12-19 03:34:51 +00:00
Thomas Landauer
eecf4382b0
Update working-with-associations.rst
2016-12-18 23:05:10 +01:00