FunctionDeclaration fixer - rewrite to use Tokens and do not modify non-PHP code.
bug #510 FunctionDeclaration fixer - rewrite to use Tokens and do not modify non-PHP code. (keradus)

This PR was squashed before being merged into the 1.0.x-dev branch (closes #510).

Discussion
----------

FunctionDeclaration fixer - rewrite to use Tokens and do not modify non-PHP code.

FunctionDeclaration fixer - rewrite to use Tokens and do not modify non-PHP code.

Changes in Tokens class borrowed from PR #472

Commits
-------

3f01603 FunctionDeclaration fixer - rewrite to use Tokens and do not modify non-PHP code.
Test base class
minor #522 Test base class (keradus)

This PR was squashed before being merged into the 1.0.x-dev branch (closes #522).

Discussion
----------

Test base class

So many code was repeated again and again.
Hate it...

Commits
-------

80eca39 Test base class
Merge branch 'master' into names

Conflicts:
	Symfony/CS/Tests/Fixer/All/MultilineArrayTrailingCommaFixerTest.php
	Symfony/CS/Tests/Fixer/All/OperatorsSpacesFixerTest.php
	Symfony/CS/Tests/Fixer/All/PhpdocParamsFixerTest.php
	Symfony/CS/Tests/Fixer/All/ReturnFixerTest.php
	Symfony/CS/Tests/Fixer/All/SingleArrayNoTrailingCommaFixerTest.php
	Symfony/CS/Tests/Fixer/All/SpacesCastFixerTest.php
	Symfony/CS/Tests/Fixer/All/UnusedUseFixerTest.php
	Symfony/CS/Tests/Fixer/Contrib/OrderUseFixerTest.php
	Symfony/CS/Tests/Fixer/PSR2/EofEndingFixerTest.php
	Symfony/CS/Tests/Fixer/PSR2/LineAfterNamespaceFixerTest.php
	Symfony/CS/Tests/Fixer/PSR2/LowercaseConstantsFixerTest.php
	Symfony/CS/Tests/Fixer/PSR2/MultipleUseFixerTest.php