[PSR] Fixed Tests

- Using `php-cs-fixer` tool.
This commit is contained in:
Jay Patel
2016-07-14 13:08:18 -05:00
parent 1401d5563d
commit cffa2463b1
88 changed files with 94 additions and 131 deletions

View File

@@ -10,7 +10,6 @@ $authorization = require 'AuthorizePayment.php';
$authorizationId = '1BF65516U6866543H'; // $authorization->getId();
use PayPal\Api\Authorization;
// ### VoidAuthorization
// You can void a previously authorized payment
// by invoking the $authorization->void method
@@ -24,7 +23,7 @@ try {
$voidedAuth = $authorization->void($apiContext);
} catch (Exception $ex) {
// NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY
ResultPrinter::printError("Void Authorization", "Authorization", null, null, $ex);
ResultPrinter::printError("Void Authorization", "Authorization", null, null, $ex);
exit(1);
}