Skip to content

Commit

Permalink
Running php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Jan 8, 2017
1 parent 5c98ca4 commit 3473596
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 12 deletions.
8 changes: 4 additions & 4 deletions tests/Client/OAuth2ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* file that was distributed with this source code.
*/

namespace KnpU\OAuth2ClientBundle\Tests\Client;
namespace KnpU\OAuth2ClientBundle\tests\Client;

use KnpU\OAuth2ClientBundle\Client\OAuth2Client;
use League\OAuth2\Client\Provider\FacebookUser;
Expand Down Expand Up @@ -92,7 +92,7 @@ public function testRedirectWithOptions()

$this->provider->getAuthorizationUrl([
'scope' => ['scopeA'],
'optionA' => 'FOO'
'optionA' => 'FOO',
])
->willReturn('http://example.com');

Expand Down Expand Up @@ -169,7 +169,7 @@ public function testGetAccessTokenThrowsInvalidStateException()

/**
* @expectedException \KnpU\OAuth2ClientBundle\Exception\MissingAuthorizationCodeException
*/
*/
public function testGetAccessTokenThrowsMissingAuthCodeException()
{
$this->request->query->set('state', 'ACTUAL_STATE');
Expand Down Expand Up @@ -205,7 +205,7 @@ public function testFetchUser()
'name' => 'testUser',
'first_name' => 'John',
'last_name' => 'Doe',
'email' => '[email protected]'
'email' => '[email protected]',
]);

$this->provider->getResourceOwner($actualToken)->willReturn($resourceOwner);
Expand Down
2 changes: 1 addition & 1 deletion tests/DependencyInjection/ConfigurationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* file that was distributed with this source code.
*/

namespace KnpU\OAuth2ClientBundle\Tests\DependencyInjection;
namespace KnpU\OAuth2ClientBundle\tests\DependencyInjection;

use KnpU\OAuth2ClientBundle\DependencyInjection\Configuration;
use Symfony\Component\Config\Definition\Processor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* file that was distributed with this source code.
*/

namespace KnpU\OAuth2ClientBundle\Tests\DependencyInjection;
namespace KnpU\OAuth2ClientBundle\tests\DependencyInjection;

use KnpU\OAuth2ClientBundle\DependencyInjection\KnpUOAuth2ClientExtension;
use KnpU\OAuth2ClientBundle\DependencyInjection\Providers\ProviderConfiguratorInterface;
Expand Down
2 changes: 1 addition & 1 deletion tests/FunctionalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* file that was distributed with this source code.
*/

namespace KnpU\OAuth2ClientBundle\Tests;
namespace KnpU\OAuth2ClientBundle\tests;

use KnpU\OAuth2ClientBundle\Tests\app\TestKernel;

Expand Down
10 changes: 9 additions & 1 deletion tests/Security/Exception/FinishRegistrationExceptionTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
<?php

namespace KnpU\OAuth2ClientBundle\Tests\Security\Exception;
/*
* OAuth2 Client Bundle
* Copyright (c) KnpUniversity <http://knpuniversity.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace KnpU\OAuth2ClientBundle\tests\Security\Exception;

use KnpU\OAuth2ClientBundle\Security\Exception\FinishRegistrationException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
<?php

namespace KnpU\OAuth2ClientBundle\Tests\Security\Exception;
/*
* OAuth2 Client Bundle
* Copyright (c) KnpUniversity <http://knpuniversity.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace KnpU\OAuth2ClientBundle\tests\Security\Exception;

use KnpU\OAuth2ClientBundle\Security\Exception\NoAuthCodeAuthenticationException;

Expand Down
10 changes: 9 additions & 1 deletion tests/Security/Helper/FinishRegistrationBehaviorTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
<?php

namespace KnpU\OAuth2ClientBundle\Tests\Security\Helper;
/*
* OAuth2 Client Bundle
* Copyright (c) KnpUniversity <http://knpuniversity.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace KnpU\OAuth2ClientBundle\tests\Security\Helper;

use Symfony\Component\HttpFoundation\Session\Session;

Expand Down
10 changes: 9 additions & 1 deletion tests/Security/Helper/PreviousUrlHelperTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
<?php

namespace KnpU\OAuth2ClientBundle\Tests\Security\Helper;
/*
* OAuth2 Client Bundle
* Copyright (c) KnpUniversity <http://knpuniversity.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace KnpU\OAuth2ClientBundle\tests\Security\Helper;

use Symfony\Component\HttpFoundation\Session\Session;

Expand Down
2 changes: 1 addition & 1 deletion tests/app/TestKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* file that was distributed with this source code.
*/

namespace KnpU\OAuth2ClientBundle\Tests\app;
namespace KnpU\OAuth2ClientBundle\tests\app;

use KnpU\OAuth2ClientBundle\KnpUOAuth2ClientBundle;
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
Expand Down

0 comments on commit 3473596

Please sign in to comment.