Use actual line numbers for DocBlock.

PHPParser now provides line numbers for comments. This can be used
instead of the line number of the parent node.
Merge pull request #508 from joncave/docblock-linenumber

Use actual line numbers for DocBlock
#509: Clarified error message
This line causes an Exception and failure of all autoload classmap files for Composer.

A few months back, the Composer folks added autoloading information for PEAR dependencies automatically via https://github.com/composer/composer/commit/4b2283e41c7ce8c67c135208b41aba91b39cc0a0 .  They have since refactored the code, but PEAR auto-autoloading seems to be there to stay.  There is no need to specify the classmap for pear-symfony any longer.  Additionally, the "hardcoding" of a vendor directory breaks the intended flexibility of Composer, given that a user is able to change the name and location of the "vendor" directory via their local composer.json file.
Merge pull request #515 from jimdelois/patch-1

Autoload classmap declaration breaking initial Composer builds
#461: Removed classmap for phpDocumentor directory

phpDocumentor used to have classes that did not conform to PSR-0.
So in the composer.json I had added the root directory to both a
classmap directive and the PSR-0 directive to generate autoload
files. This may cause conflicts in certain situation.

To be able to remove the classmap I also had to fix a few PSR-0
inconsistencies that caused classes not to be found.
#511: Const comments working again

Const statement consists of a compound and an individual node;
the compound contains the DocBlock and the individual nodes do not.
phpDocumentor did not take this into account and tried to take the
DocBlock from the individual component. This commit fixes that.
#505 fixing resolution using namespace aliases

In previous fixes we have fixed the expansion of FQNNs but the namespace
aliases were not interpreted and passed on the the successive Reflection objects.
This change fixes that issue and now allows the expansion of type using both
the current namespace AND namespace aliases.
Fixing the output of arguments.

The type of an argument was prefixed with a \; causing everything to be prefixed
regardless whether that was needed or not.
Updating the external components to a tag and switching the composer.json

For releases we do not want to depend on development versions to much so we
released a new beta of the sub components to link phpDocumentor against and
updated the dependencies in this composer file.
Fixing an issue where XDEbug + PHP-Parser may cause a fatal error due to recursion.

XDebug throws a fatal error when you hit 100 recursions by default. But the traverser of
PHP-Parser is recursive and may exceed that limit when parsing large fluent interface calls.
I have overwritten this limit to 2000 in the Reflector to cope with this issue.
Updated version number to a7
RELEASE: Updated package file to 2.0.0a7
Added behat to composer.json's dev section

I want to try out whether behat fits the bill for functional testing
Use the PEAR Channel URL instead of the Channel Alias in Composer config

Fixes Issue #516
Updating composer.lock using Composer

Resolves this warning message:
Your lock file is out of sync with your composer.json, run "composer.phar update" to update dependencies
Merge pull request #518 from lukearmstrong/develop

Installing dependencies with Composer
Refactored functional tests to use Behat instead of PHPT tests.

Over time it became clear that the PHPT tests had issues with special characters,
trimming and other white space issues. This combined with the inability to test
against parts of the output (when testing against an error message I do not want
to test the entire output) and easier test the XML output provided incentive to
take a look into Behat.

Behat allows us:

* to write tests in human language, thus making it easier
* to test parts of the `structure.xml` file
* to test parts of the output
* to output a nicely readable format

Behat is not installed by default; to include it you would need to run composer's
`install` or `update` command with the `--dev` argument.

After installing behat you can run the functional tests with the following command:

```
php ./bin/behat --no-paths
```

The number of tests should be expanded to match all use-cases and the existing
cases should still be modified to include the test data instead of it being in an
external file.
Merge branch 'develop' of github.com:phpDocumentor/phpDocumentor2 into develop

Conflicts:
	composer.lock
#516: Reverting pear.symfony-project.org change in composer.yml and committing new lock

The change as contributed appears to break Travis and my local system. It is safe
to assume it does so on every other system since I have not yet received complaints
about the issue wherefor this fix was intended.

A new resolution needs to be found; probably by upgrading phpDocumentor's event
system to the EventDispatcher v2.