Skip to content

Commit

Permalink
Running php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfzdotnet committed Feb 28, 2014
1 parent dadc395 commit c2bef1d
Show file tree
Hide file tree
Showing 357 changed files with 1,999 additions and 1,572 deletions.
2 changes: 1 addition & 1 deletion build/phpmd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
<rule ref="rulesets/codesize.xml" />
<rule ref="rulesets/naming.xml" />

</ruleset>
</ruleset>
2 changes: 1 addition & 1 deletion build/phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@
yui="true" highlight="true"
lowUpperBound="35" highLowerBound="70"/>
</logging>
</phpunit>
</phpunit>
6 changes: 3 additions & 3 deletions examples/account/api/account.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* @copyright (c) 2013, Michael Roterman
* @version 0.0.1
*/
require_once('../../../vendor/autoload.php');
require_once('../../../apikey.php');
require_once '../../../vendor/autoload.php';
require_once '../../../apikey.php';

$token = new \Tmdb\ApiToken(TMDB_API_KEY);
$client = new \Tmdb\Client($token);
Expand All @@ -21,4 +21,4 @@

$account = $client->getAccountApi()->getAccount();

var_dump($account);
var_dump($account);
6 changes: 3 additions & 3 deletions examples/account/api/favorite.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* @copyright (c) 2013, Michael Roterman
* @version 0.0.1
*/
require_once('../../../vendor/autoload.php');
require_once('../../../apikey.php');
require_once '../../../vendor/autoload.php';
require_once '../../../apikey.php';

$token = new \Tmdb\ApiToken(TMDB_API_KEY);
$client = new \Tmdb\Client($token);
Expand All @@ -21,4 +21,4 @@

$favorite = $client->getAccountApi()->favorite(TMDB_ACCOUNT_ID, 97020, true);

var_dump($favorite);
var_dump($favorite);
6 changes: 3 additions & 3 deletions examples/account/api/favorite_movies.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* @copyright (c) 2013, Michael Roterman
* @version 0.0.1
*/
require_once('../../../vendor/autoload.php');
require_once('../../../apikey.php');
require_once '../../../vendor/autoload.php';
require_once '../../../apikey.php';

$token = new \Tmdb\ApiToken(TMDB_API_KEY);
$client = new \Tmdb\Client($token);
Expand All @@ -21,4 +21,4 @@

$favorite_movies = $client->getAccountApi()->getFavoriteMovies(TMDB_ACCOUNT_ID);

var_dump($favorite_movies);
var_dump($favorite_movies);
6 changes: 3 additions & 3 deletions examples/account/api/lists.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* @copyright (c) 2013, Michael Roterman
* @version 0.0.1
*/
require_once('../../../vendor/autoload.php');
require_once('../../../apikey.php');
require_once '../../../vendor/autoload.php';
require_once '../../../apikey.php';

$token = new \Tmdb\ApiToken(TMDB_API_KEY);
$client = new \Tmdb\Client($token);
Expand All @@ -21,4 +21,4 @@

$lists = $client->getAccountApi()->getLists(TMDB_ACCOUNT_ID);

var_dump($lists);
var_dump($lists);
6 changes: 3 additions & 3 deletions examples/account/api/rated_movies.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* @copyright (c) 2013, Michael Roterman
* @version 0.0.1
*/
require_once('../../../vendor/autoload.php');
require_once('../../../apikey.php');
require_once '../../../vendor/autoload.php';
require_once '../../../apikey.php';

$token = new \Tmdb\ApiToken(TMDB_API_KEY);
$client = new \Tmdb\Client($token);
Expand All @@ -21,4 +21,4 @@

$rated_movies = $client->getAccountApi()->getRatedMovies(TMDB_ACCOUNT_ID);

var_dump($rated_movies);
var_dump($rated_movies);
6 changes: 3 additions & 3 deletions examples/account/api/watchlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* @copyright (c) 2013, Michael Roterman
* @version 0.0.1
*/
require_once('../../../vendor/autoload.php');
require_once('../../../apikey.php');
require_once '../../../vendor/autoload.php';
require_once '../../../apikey.php';

$token = new \Tmdb\ApiToken(TMDB_API_KEY);
$client = new \Tmdb\Client($token);
Expand All @@ -21,4 +21,4 @@

$watchlist = $client->getAccountApi()->watchlist(TMDB_ACCOUNT_ID, 97020, true);

var_dump($watchlist);
var_dump($watchlist);
6 changes: 3 additions & 3 deletions examples/account/api/watchlist_movies.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* @copyright (c) 2013, Michael Roterman
* @version 0.0.1
*/
require_once('../../../vendor/autoload.php');
require_once('../../../apikey.php');
require_once '../../../vendor/autoload.php';
require_once '../../../apikey.php';

$token = new \Tmdb\ApiToken(TMDB_API_KEY);
$client = new \Tmdb\Client($token);
Expand All @@ -21,4 +21,4 @@

$watchlist_movies = $client->getAccountApi()->getMovieWatchlist(TMDB_ACCOUNT_ID);

var_dump($watchlist_movies);
var_dump($watchlist_movies);
5 changes: 2 additions & 3 deletions examples/account/model/account.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* @copyright (c) 2013, Michael Roterman
* @version 0.0.1
*/
require_once('../../../vendor/autoload.php');
require_once('../../../apikey.php');
require_once '../../../vendor/autoload.php';
require_once '../../../apikey.php';

$token = new \Tmdb\ApiToken(TMDB_API_KEY);
$client = new \Tmdb\Client($token);
Expand All @@ -23,4 +23,3 @@
$account = $accountRepository->getAccount();

var_dump($account);

5 changes: 2 additions & 3 deletions examples/account/model/favorite.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* @copyright (c) 2013, Michael Roterman
* @version 0.0.1
*/
require_once('../../../vendor/autoload.php');
require_once('../../../apikey.php');
require_once '../../../vendor/autoload.php';
require_once '../../../apikey.php';

$token = new \Tmdb\ApiToken(TMDB_API_KEY);
$client = new \Tmdb\Client($token);
Expand All @@ -26,4 +26,3 @@
$lists = $accountRepository->favorite(TMDB_ACCOUNT_ID, 150);

var_dump($lists);

5 changes: 2 additions & 3 deletions examples/account/model/favorite_movies.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* @copyright (c) 2013, Michael Roterman
* @version 0.0.1
*/
require_once('../../../vendor/autoload.php');
require_once('../../../apikey.php');
require_once '../../../vendor/autoload.php';
require_once '../../../apikey.php';

$token = new \Tmdb\ApiToken(TMDB_API_KEY);
$client = new \Tmdb\Client($token);
Expand All @@ -26,4 +26,3 @@
$lists = $accountRepository->getFavoriteMovies(TMDB_ACCOUNT_ID);

var_dump($lists);

5 changes: 2 additions & 3 deletions examples/account/model/lists.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* @copyright (c) 2013, Michael Roterman
* @version 0.0.1
*/
require_once('../../../vendor/autoload.php');
require_once('../../../apikey.php');
require_once '../../../vendor/autoload.php';
require_once '../../../apikey.php';

$token = new \Tmdb\ApiToken(TMDB_API_KEY);
$client = new \Tmdb\Client($token);
Expand All @@ -26,4 +26,3 @@
$lists = $accountRepository->getLists(TMDB_ACCOUNT_ID);

var_dump($lists);

5 changes: 2 additions & 3 deletions examples/account/model/movie_watchlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* @copyright (c) 2013, Michael Roterman
* @version 0.0.1
*/
require_once('../../../vendor/autoload.php');
require_once('../../../apikey.php');
require_once '../../../vendor/autoload.php';
require_once '../../../apikey.php';

$token = new \Tmdb\ApiToken(TMDB_API_KEY);
$client = new \Tmdb\Client($token);
Expand All @@ -26,4 +26,3 @@
$lists = $accountRepository->getMovieWatchlist(TMDB_ACCOUNT_ID);

var_dump($lists);

5 changes: 2 additions & 3 deletions examples/account/model/rated_movies.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* @copyright (c) 2013, Michael Roterman
* @version 0.0.1
*/
require_once('../../../vendor/autoload.php');
require_once('../../../apikey.php');
require_once '../../../vendor/autoload.php';
require_once '../../../apikey.php';

$token = new \Tmdb\ApiToken(TMDB_API_KEY);
$client = new \Tmdb\Client($token);
Expand All @@ -26,4 +26,3 @@
$lists = $accountRepository->getRatedMovies(TMDB_ACCOUNT_ID);

var_dump($lists);

5 changes: 2 additions & 3 deletions examples/account/model/watchlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* @copyright (c) 2013, Michael Roterman
* @version 0.0.1
*/
require_once('../../../vendor/autoload.php');
require_once('../../../apikey.php');
require_once '../../../vendor/autoload.php';
require_once '../../../apikey.php';

$token = new \Tmdb\ApiToken(TMDB_API_KEY);
$client = new \Tmdb\Client($token);
Expand All @@ -26,4 +26,3 @@
$lists = $accountRepository->watchlist(TMDB_ACCOUNT_ID, 49047);

var_dump($lists);

6 changes: 3 additions & 3 deletions examples/authentication/api/authenticate-token.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
* @copyright (c) 2013, Michael Roterman
* @version 0.0.1
*/
require_once('../../../vendor/autoload.php');
require_once('../../../apikey.php');
require_once '../../../vendor/autoload.php';
require_once '../../../apikey.php';

$token = new \Tmdb\ApiToken(TMDB_API_KEY);
$client = new \Tmdb\Client($token);

$requestToken = new \Tmdb\RequestToken(TMDB_REQUEST_TOKEN);

$client->getAuthenticationApi()->authenticateRequestToken($requestToken->getToken());
$client->getAuthenticationApi()->authenticateRequestToken($requestToken->getToken());
6 changes: 3 additions & 3 deletions examples/authentication/api/get-guest-session.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
* @copyright (c) 2013, Michael Roterman
* @version 0.0.1
*/
require_once('../../../vendor/autoload.php');
require_once('../../../apikey.php');
require_once '../../../vendor/autoload.php';
require_once '../../../apikey.php';

$token = new \Tmdb\ApiToken(TMDB_API_KEY);
$client = new \Tmdb\Client($token);

$sessionToken = $client->getAuthenticationApi()->getNewGuestSession();

var_dump($sessionToken);
var_dump($sessionToken);
6 changes: 3 additions & 3 deletions examples/authentication/api/get-session.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* @copyright (c) 2013, Michael Roterman
* @version 0.0.1
*/
require_once('../../../vendor/autoload.php');
require_once('../../../apikey.php');
require_once '../../../vendor/autoload.php';
require_once '../../../apikey.php';

$token = new \Tmdb\ApiToken(TMDB_API_KEY);
$client = new \Tmdb\Client($token);
Expand All @@ -20,4 +20,4 @@

$sessionToken = $client->getAuthenticationApi()->getNewSession($requestToken->getToken());

var_dump($sessionToken);
var_dump($sessionToken);
6 changes: 3 additions & 3 deletions examples/authentication/api/get-token.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
* @copyright (c) 2013, Michael Roterman
* @version 0.0.1
*/
require_once('../../../vendor/autoload.php');
require_once('../../../apikey.php');
require_once '../../../vendor/autoload.php';
require_once '../../../apikey.php';

$token = new \Tmdb\ApiToken(TMDB_API_KEY);
$client = new \Tmdb\Client($token);

$requestToken = $client->getAuthenticationApi()->getNewToken();

var_dump($requestToken);
var_dump($requestToken);
4 changes: 2 additions & 2 deletions examples/authentication/model/authenticate_request_token.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* @copyright (c) 2013, Michael Roterman
* @version 0.0.1
*/
require_once('../../../vendor/autoload.php');
require_once('../../../apikey.php');
require_once '../../../vendor/autoload.php';
require_once '../../../apikey.php';

$token = new \Tmdb\ApiToken(TMDB_API_KEY);
$client = new \Tmdb\Client($token);
Expand Down
4 changes: 2 additions & 2 deletions examples/authentication/model/guest_session_token.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* @copyright (c) 2013, Michael Roterman
* @version 0.0.1
*/
require_once('../../../vendor/autoload.php');
require_once('../../../apikey.php');
require_once '../../../vendor/autoload.php';
require_once '../../../apikey.php';

$token = new \Tmdb\ApiToken(TMDB_API_KEY);
$client = new \Tmdb\Client($token);
Expand Down
5 changes: 2 additions & 3 deletions examples/authentication/model/request_token.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* @copyright (c) 2013, Michael Roterman
* @version 0.0.1
*/
require_once('../../../vendor/autoload.php');
require_once('../../../apikey.php');
require_once '../../../vendor/autoload.php';
require_once '../../../apikey.php';

$token = new \Tmdb\ApiToken(TMDB_API_KEY);
$client = new \Tmdb\Client($token);
Expand All @@ -20,4 +20,3 @@
$requestToken = $authenticationRepository->getRequestToken();

var_dump($requestToken);

5 changes: 2 additions & 3 deletions examples/authentication/model/session_token.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* @copyright (c) 2013, Michael Roterman
* @version 0.0.1
*/
require_once('../../../vendor/autoload.php');
require_once('../../../apikey.php');
require_once '../../../vendor/autoload.php';
require_once '../../../apikey.php';

$token = new \Tmdb\ApiToken(TMDB_API_KEY);
$client = new \Tmdb\Client($token);
Expand All @@ -22,4 +22,3 @@
$sessionToken = $authenticationRepository->getSessionToken($requestToken);

var_dump($sessionToken);

6 changes: 3 additions & 3 deletions examples/certifications/api/get.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
* @copyright (c) 2013, Michael Roterman
* @version 0.0.1
*/
require_once('../../../vendor/autoload.php');
require_once('../../../apikey.php');
require_once '../../../vendor/autoload.php';
require_once '../../../apikey.php';

$token = new \Tmdb\ApiToken(TMDB_API_KEY);
$client = new \Tmdb\Client($token);

$credit = $client->getCertificationsApi()->getMovieList();

var_dump($credit);
var_dump($credit);
Loading

0 comments on commit c2bef1d

Please sign in to comment.