run php-cs-fixer, and fix small bug with $request being defined twice