Skip to content

Commit

Permalink
Revert "Re-syntax cleanup with php-cs-fixer."
Browse files Browse the repository at this point in the history
This reverts commit a71384f.
  • Loading branch information
hswong3i committed Jan 20, 2015
1 parent a71384f commit 7365e4d
Show file tree
Hide file tree
Showing 180 changed files with 380 additions and 380 deletions.
2 changes: 1 addition & 1 deletion app/AppKernel.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down
2 changes: 1 addition & 1 deletion app/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use Doctrine\Common\Annotations\AnnotationRegistry;
use Composer\Autoload\ClassLoader;

/*
/**
* @var ClassLoader $loader
*/
$loader = require __DIR__.'/../vendor/autoload.php';
Expand Down
2 changes: 1 addition & 1 deletion app/config/config.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down
2 changes: 1 addition & 1 deletion app/config/config_dev.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down
2 changes: 1 addition & 1 deletion app/config/config_prod.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down
2 changes: 1 addition & 1 deletion app/config/config_test.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down
2 changes: 1 addition & 1 deletion app/config/routing.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down
2 changes: 1 addition & 1 deletion app/config/routing_dev.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down
2 changes: 1 addition & 1 deletion app/config/security.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down
2 changes: 1 addition & 1 deletion app/console
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down
4 changes: 2 additions & 2 deletions src/AuthBucket/OAuth2/Controller/OAuth2Controller.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand All @@ -26,7 +26,7 @@
use Symfony\Component\Validator\Constraints\NotBlank;
use Symfony\Component\Validator\ValidatorInterface;

/*
/**
* OAuth2 endpoint controller implementation.
*
* @author Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down
4 changes: 2 additions & 2 deletions src/AuthBucket/OAuth2/EventListener/ExceptionListener.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand All @@ -20,7 +20,7 @@
use Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent;
use Symfony\Component\HttpKernel\KernelEvents;

/*
/**
* ExceptionListener.
*
* @author Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down
4 changes: 2 additions & 2 deletions src/AuthBucket/OAuth2/Exception/AccessDeniedException.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand All @@ -11,7 +11,7 @@

namespace AuthBucket\OAuth2\Exception;

/*
/**
* AccessDeniedException
*
* @author Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down
4 changes: 2 additions & 2 deletions src/AuthBucket/OAuth2/Exception/ExceptionInterface.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand All @@ -11,7 +11,7 @@

namespace AuthBucket\OAuth2\Exception;

/*
/**
* Base ExceptionInterface for the OAuth2 component.
*
* @author Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down
4 changes: 2 additions & 2 deletions src/AuthBucket/OAuth2/Exception/InvalidClientException.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand All @@ -11,7 +11,7 @@

namespace AuthBucket\OAuth2\Exception;

/*
/**
* InvalidClientException
*
* @author Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down
4 changes: 2 additions & 2 deletions src/AuthBucket/OAuth2/Exception/InvalidGrantException.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand All @@ -11,7 +11,7 @@

namespace AuthBucket\OAuth2\Exception;

/*
/**
* InvalidGrantException
*
* @author Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down
4 changes: 2 additions & 2 deletions src/AuthBucket/OAuth2/Exception/InvalidRequestException.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand All @@ -11,7 +11,7 @@

namespace AuthBucket\OAuth2\Exception;

/*
/**
* InvalidRequestException
*
* @author Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down
4 changes: 2 additions & 2 deletions src/AuthBucket/OAuth2/Exception/InvalidScopeException.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand All @@ -11,7 +11,7 @@

namespace AuthBucket\OAuth2\Exception;

/*
/**
* InvalidScopeException
*
* @author Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down
4 changes: 2 additions & 2 deletions src/AuthBucket/OAuth2/Exception/ServerErrorException.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand All @@ -11,7 +11,7 @@

namespace AuthBucket\OAuth2\Exception;

/*
/**
* ServerErrorException
*
* @author Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand All @@ -11,7 +11,7 @@

namespace AuthBucket\OAuth2\Exception;

/*
/**
* TemporarilyUnavailableException
*
* @author Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand All @@ -11,7 +11,7 @@

namespace AuthBucket\OAuth2\Exception;

/*
/**
* UnauthorizedClientException
*
* @author Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand All @@ -11,7 +11,7 @@

namespace AuthBucket\OAuth2\Exception;

/*
/**
* UnsupportedGrantTypeException
*
* @author Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand All @@ -11,7 +11,7 @@

namespace AuthBucket\OAuth2\Exception;

/*
/**
* UnsupportedResponseType
*
* @author Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down
8 changes: 4 additions & 4 deletions src/AuthBucket/OAuth2/GrantType/AbstractGrantTypeHandler.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand All @@ -26,7 +26,7 @@
use Symfony\Component\Security\Core\User\UserProviderInterface;
use Symfony\Component\Validator\ValidatorInterface;

/*
/**
* Shared grant type implementation.
*
* @author Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down Expand Up @@ -59,7 +59,7 @@ public function __construct(
$this->userProvider = $userProvider;
}

/*
/**
* Fetch client_id from authenticated token.
*
* @return string Supplied client_id from authenticated token.
Expand All @@ -78,7 +78,7 @@ protected function checkClientId()
return $token->getClientId();
}

/*
/**
* Fetch scope from POST.
*
* @param Request $request Incoming request object.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand All @@ -19,7 +19,7 @@
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Validator\Constraints\NotBlank;

/*
/**
* Authorization code grant type implementation.
*
* @author Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down Expand Up @@ -52,7 +52,7 @@ public function handle(Request $request)
));
}

/*
/**
* Fetch code from POST.
*
* @param Request $request Incoming request object.
Expand Down Expand Up @@ -97,7 +97,7 @@ private function checkCode(
return array($result->getUsername(), $result->getScope());
}

/*
/**
* Fetch redirect_uri from POST, or stored record.
*
* @param Request $request Incoming request object.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

/*
/**
* This file is part of the authbucket/oauth2-php package.
*
* (c) Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand All @@ -14,7 +14,7 @@
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;

/*
/**
* Client credentials grant type implementation.
*
* @author Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Expand Down

0 comments on commit 7365e4d

Please sign in to comment.