Fix some more details in basic-mapping.rst
fix warnings p1

fix warnings p2

fix warnings p3

fix warnings p4
Merge pull request #784 from eventhorizonpl/fix_docs

fix documentation warnings p1
Update dql-custom-walkers.rst

Fixed typo of "customer" to "custom"
Merge pull request #785 from Hawkeye0203/patch-1

Update dql-custom-walkers.rst
Delete some very old, leftover code.
Fix master dependening on DBAL 2.5-dev
Minor updates while reading the basic-mapping page

The only arguable changes involve a few spots where I either removed something I thought was too technical and not valuable (e.g. talking about the metadata mapping pattern).
Changes thanks to @Ocramius
Merge pull request #786 from weaverryan/patch-1

Minor updates while reading the basic-mapping page
Update DDC719Test.php to be compatible with MsSQL

Apparently Doctrine adds "with (nolock)" now for the mssql platform, but the test has not been updated yet.
Update DatabaseDriverTest.php

SQL Server does not support unsigned integers
A nicer way of detecting the platform

Inspired by https://github.com/doctrine/doctrine2/blob/master/tests/Doctrine/Tests/ORM/Functional/DatabaseDriverTest.php#L188
HHVM compatibility: func_get_args

All func_get_args() calls have been moved to the top of the methods
because HHVM doesn't keep a copy of the original args for performance
reasons.

See facebook/hiphop-php#1027 for details.
Merge pull request #790 from javer/hhvm-func_get_args

HHVM compatibility: func_get_args
Implemented "contains" operator for Criteria expressions
[DDC-2668] Fix trim leading zero string
Improved error messages in Paginator: LimitSubqueryOutputWalker

The already existing follow-up check throwing "Not all identifier properties can be found in the ResultSetMapping: %s" is a much more technical description.

If $sqlIdentifier is empty (count 0) it can be concluded that there are no mapped results. An alternative error message could thus be "The Paginator does not support queries without mapped results." (line 153).

Possibly '!=' on line 154 could be replaced by '>' because i think this is the only situation that can occur. But since i don't know this for sure, i left it like i found it.
Improved error messages in Paginator: LimitSubqueryOutputWalker



The already existing follow-up check throwing "Not all identifier properties can be found in the ResultSetMapping: %s" is a much more technical description.

If $sqlIdentifier is empty (count 0) it can be concluded that there are no mapped results. An alternative error message could thus be "The Paginator does not support queries without mapped results." (line 153).

Possibly '!=' on line 154 could be replaced by '>' because i think this is the only situation that can occur. But since i don't know this for sure, i left it like i found it.

Didn't use elseif in this commit as per Stof his suggestion.
Update query-builder.rst

expresion substr changed to substring as of
http://www.doctrine-project.org/jira/browse/DDC-382