Scrutinizer Auto-Fixes

This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/Spomky-Labs/OAuth2ServerAuthorizationEndpointBundle/inspections/bd9261de-c149-4361-9135-afea32217885

Enabled analysis tools:
 - PHP Analyzer
 - PHP Mess Detector
 - PHP Code Sniffer
 - Security Advisory Checker
 - PHP Copy/Paste Detector
 - PHP PDepend
 - PHP Change Tracking Analyzer
Merge pull request #1 from Spomky-Labs/scrutinizer-patch-1

Scrutinizer Auto-Fixes
Symfony 2.6 tests and code design
Parameters check added
Merge pull request #3 from Spomky-Labs/develop

Bugs fixed and code design