1
0
mirror of synced 2024-12-15 15:46:02 +03:00
Commit Graph

8076 Commits

Author SHA1 Message Date
Guilherme Blanco
354d7050dc Merge pull request #720 from bakura10/fix-paginator
Allow to have non-distinct queries
2013-08-05 20:59:12 -07:00
Guilherme Blanco
ea44ee1d55 Merge pull request #745 from jbruni/patch-2
Update basic-mapping.rst
2013-08-05 20:57:26 -07:00
Guilherme Blanco
e0fd377828 Removed ticket that was breaking the build. DDC-2524 is a circular dependency that is impossible to be fixed with our current codebase. 2013-08-03 19:03:10 -04:00
Guilherme Blanco
36e7e3ccde Updated documentation. 2013-08-03 17:40:48 -04:00
Guilherme Blanco
d9c1782a4f Properly fixed DDC-1858. Added support for ResultVariable in NullComparisons while using HavingClause. 2013-08-03 17:38:55 -04:00
J Bruni
13c1efb240 Update basic-mapping.rst
The attribute name is "name", not "column", isn't it?
2013-08-03 11:26:37 -03:00
J. Bruni
15c2c4dd23 Updated EntityGeneratorTest::testEntityTypeAlias 2013-08-03 10:44:02 -03:00
J Bruni
3c613b9c02 Corrected PHP type for "decimal" mapping type
"Basic Mapping" documentation says:
"decimal: Type that maps a SQL DECIMAL to a PHP string."
2013-08-03 05:44:15 -03:00
Christian Morgan
c715d91dc7 Updates based on feedback from Ocramius
Addresses all comments made so far, except the one about persists/updates
2013-08-01 17:56:45 +01:00
Guilherme Blanco
a19106b03d Merge pull request #731 from austinsmorris/PersistentCollection-initialize-coll
[DDC-2564] - PersistentCollection - initialize coll
2013-07-30 22:36:15 -07:00
Guilherme Blanco
b070676797 Merge pull request #743 from doctrine/DDC-2524
Added coverage to DDC-2524. Updated DDC-1719 to fix related DBAL bug.
2013-07-30 22:29:44 -07:00
Guilherme Blanco
b3d0ad7a87 Added coverage to DDC-2524. Updated DDC-1719 to fix related DBAL bug. 2013-07-31 01:24:02 -04:00
Guilherme Blanco
08e38858ed Merge pull request #741 from doctrine/DDC-1884
Fixed DDC-1884.
2013-07-30 10:48:37 -07:00
Guilherme Blanco
157588f6dc CS fixes. 2013-07-30 12:11:08 -04:00
Christian Morgan
d5bc48623a Cleaned up events.rst
Was a mix-up between TestEventSubscriber and EventTest (e.g. the definition of TestEventSubscriber referenced TestEvent::preFoo, which did not exist). To clarify this I've renamed EventTest to TestEvent.

Tried to clarify the text in the Naming Convention section.

Added note that onClear is not a lifecycle callback.

Tried to clarify the definition of Lifecycle Callbacks.

Separated key/value descriptions into XML and YAML parts since the details are different

Added note in Implementing Event Listeners section that since 2.4 you do have access to EntityManager and UnitOfWork from lifecycle callbacks.

Added example about how to use the computed changeset to modify a primitive value in preUpdate section

Added naming convention example to Entity listeners class section

The other changes are typos and small fixes.
2013-07-30 14:00:17 +01:00
Guilherme Blanco
c7b4c9bf0f Fixed DDC-1884. 2013-07-30 01:29:34 -04:00
Guilherme Blanco
0e010994a7 Merge pull request #740 from doctrine/FilterCollectionEnhancement
Synchronized support of FilterCollection with ODM by adding missing method
2013-07-29 18:44:10 -07:00
Guilherme Blanco
d4814dec42 Synchronized support of FilterCollection with ODM by adding missing method. 2013-07-29 21:24:08 -04:00
Guilherme Blanco
7055ccbf9b Merge pull request #739 from FabioBatSilva/DDC-2579
Fix DDC-2579
2013-07-29 16:54:30 -07:00
Fabio B. Silva
1fbe1ffc5a fix DDC-2579 2013-07-29 19:31:44 -04:00
Guilherme Blanco
a53fe14fa2 Merge pull request #717 from hackedd/patch-1
Allow query parameters starting with an underscore
2013-07-29 13:37:51 -07:00
Guilherme Blanco
8d13601e39 Merge pull request #738 from doctrine/VolatileQueryHydrators
Modified Hydrators to be per-query instances instead of a singleton-like approach
2013-07-29 08:31:38 -07:00
Guilherme Blanco
2dd73d4def Kept BC. 2013-07-29 10:46:47 -04:00
Guilherme Blanco
c28b457221 Modified Hydrators to be per-query instances instead of a singleton-like approach. 2013-07-28 20:30:42 -04:00
Guilherme Blanco
eea8572238 Merge pull request #735 from FabioBatSilva/fix-proxy-performance-test
Fix proxy performance test
2013-07-27 07:53:18 -07:00
fabios
69d4fdda1b Fix proxy performance test 2013-07-26 17:59:50 -04:00
Marco Pivetta
d7881a1ec2 Merge pull request #733 from Lumbendil/master
Update Parser.php
2013-07-24 04:13:12 -07:00
Roger Llopart Pla
9b574ad53b Update Parser.php
Fix the docummentation for Parser::Literal()
2013-07-24 13:07:06 +02:00
Austin Morris
5fc1184a49 convert PersistentCollection functional tests to unit tests 2013-07-23 09:40:46 -04:00
Austin Morris
0083cb8ca6 remove redundant require_once for TestInit.php 2013-07-23 09:01:01 -04:00
Guilherme Blanco
6f39a426a7 Merge pull request #732 from trsteel88/patch-1
Update working-with-associations.rst
2013-07-22 20:22:37 -07:00
trsteel88
23cc3ea4bc Update working-with-associations.rst
Always use the constant for sorting. If you use 'asc' it will not work.
2013-07-23 12:30:33 +10:00
Austin Morris
1c8ae50557 do not initialize coll on add() 2013-07-22 18:54:02 -04:00
Austin Morris
6bae2eac29 Initialize coll when using Collection methods inside PersistentCollection 2013-07-22 14:42:03 -04:00
Austin Morris
5fd844d73e PersistentCollection - initialize coll - create failing tests 2013-07-22 14:39:00 -04:00
Marco Pivetta
4bc8f7be16 Merge pull request #728 from armetiz/patch-1
Color message like the update tools
2013-07-22 08:19:50 -07:00
Thomas Tourlourat
4882ff1ef5 Add info tag around ATTENTION 2013-07-22 17:11:53 +02:00
Marco Pivetta
8d2826c633 Merge pull request #730 from NicolasN/patch-1
To avoid "SpacingAfterParams" error with PHPCS Symfony2 coding standard
2013-07-22 02:17:53 -07:00
Nicolas Nutten
eba933bb47 To avoid "SpacingAfterParams" error with PHPCS Symfony2 coding standard
Hello,
I added two blank lines in comments two avoid the following error with PHPCS Symfony2 coding standard :
Error Code: SpacingAfterParams
Error Description: Last parameter comment requires a blank new line after it.
2013-07-22 10:56:18 +02:00
David Buchmann
b4e9dafd10 add missing hint about lifecycle callback 2013-07-22 10:23:47 +02:00
Thomas Tourlourat
0c3581a1f8 Color message like the update tools 2013-07-19 11:33:35 +02:00
Guilherme Blanco
fbbb161987 Merge pull request #719 from tristanlins/fix/entity-generator-extensibility
Access properties via static:: instead of self::.
2013-07-17 17:18:01 -07:00
Guilherme Blanco
2a5652c807 Merge pull request #723 from morganprecision/patch-1
Remove extra semicolon before ->setParameter() calls
2013-07-15 16:38:05 -07:00
Eugene Morgan
0a151f2474 Remove extra semicolon before ->setParameter() calls 2013-07-15 15:01:33 -05:00
Marco Pivetta
0aed9595c3 Merge pull request #721 from alex88/patch-1
Updated batch-processing link extension
2013-07-11 04:56:13 -07:00
Alessandro Tagliapietra
d249a22f74 Updated batch-processing link extension
I've changed the batch processing link adding .html else the link is broken
2013-07-11 11:52:26 +02:00
Michaël Gallego
3f112db725 Allow to have non-distinct queries 2013-07-09 17:31:30 +02:00
Guilherme Blanco
78fc129614 Merge pull request #632 from Padam87/entgentrait
entity generator - ignore trait properties and methods
2013-07-07 12:37:55 -07:00
Tristan Lins
641774630b Access properties via static:: instead of self::.
The properties of EntityGenerator are now protected instead of private.
But this does not make sense until they are accessed with static::.
Otherwise the templates cannot be overwritten within a sub class.
2013-07-05 13:40:57 +02:00
Paul Hooijenga
b5394fc5a0 Add test for query paremeters starting with underscore 2013-07-05 09:21:50 +02:00