@@ -17,56 +17,56 @@ |
||
| 17 | 17 | class CheckoutController extends AbstractController |
| 18 | 18 | { |
| 19 | 19 | |
| 20 | - /** |
|
| 21 | - * Payment service |
|
| 22 | - * |
|
| 23 | - * @var \FRUIT\Shopize\Service\PaymentService |
|
| 24 | - * @inject |
|
| 25 | - */ |
|
| 26 | - protected $paymentService; |
|
| 20 | + /** |
|
| 21 | + * Payment service |
|
| 22 | + * |
|
| 23 | + * @var \FRUIT\Shopize\Service\PaymentService |
|
| 24 | + * @inject |
|
| 25 | + */ |
|
| 26 | + protected $paymentService; |
|
| 27 | 27 | |
| 28 | - /** |
|
| 29 | - * Billing action |
|
| 30 | - */ |
|
| 31 | - public function billingAction() |
|
| 32 | - { |
|
| 33 | - } |
|
| 28 | + /** |
|
| 29 | + * Billing action |
|
| 30 | + */ |
|
| 31 | + public function billingAction() |
|
| 32 | + { |
|
| 33 | + } |
|
| 34 | 34 | |
| 35 | - /** |
|
| 36 | - * Shipment action |
|
| 37 | - */ |
|
| 38 | - public function shipmentAction() |
|
| 39 | - { |
|
| 40 | - } |
|
| 35 | + /** |
|
| 36 | + * Shipment action |
|
| 37 | + */ |
|
| 38 | + public function shipmentAction() |
|
| 39 | + { |
|
| 40 | + } |
|
| 41 | 41 | |
| 42 | - /** |
|
| 43 | - * Payment action |
|
| 44 | - */ |
|
| 45 | - public function paymentAction() |
|
| 46 | - { |
|
| 47 | - $this->view->assign('paymentPossibilities', $this->paymentService->getPaymentPossibilities()); |
|
| 48 | - } |
|
| 42 | + /** |
|
| 43 | + * Payment action |
|
| 44 | + */ |
|
| 45 | + public function paymentAction() |
|
| 46 | + { |
|
| 47 | + $this->view->assign('paymentPossibilities', $this->paymentService->getPaymentPossibilities()); |
|
| 48 | + } |
|
| 49 | 49 | |
| 50 | - /** |
|
| 51 | - * Confirm action |
|
| 52 | - */ |
|
| 53 | - public function confirmAction() |
|
| 54 | - { |
|
| 55 | - } |
|
| 50 | + /** |
|
| 51 | + * Confirm action |
|
| 52 | + */ |
|
| 53 | + public function confirmAction() |
|
| 54 | + { |
|
| 55 | + } |
|
| 56 | 56 | |
| 57 | - /** |
|
| 58 | - * Check action |
|
| 59 | - */ |
|
| 60 | - public function checkAction() |
|
| 61 | - { |
|
| 62 | - // @todo run checks here |
|
| 63 | - $this->forward('finish'); |
|
| 64 | - } |
|
| 57 | + /** |
|
| 58 | + * Check action |
|
| 59 | + */ |
|
| 60 | + public function checkAction() |
|
| 61 | + { |
|
| 62 | + // @todo run checks here |
|
| 63 | + $this->forward('finish'); |
|
| 64 | + } |
|
| 65 | 65 | |
| 66 | - /** |
|
| 67 | - * Finish action |
|
| 68 | - */ |
|
| 69 | - public function finishAction() |
|
| 70 | - { |
|
| 71 | - } |
|
| 66 | + /** |
|
| 67 | + * Finish action |
|
| 68 | + */ |
|
| 69 | + public function finishAction() |
|
| 70 | + { |
|
| 71 | + } |
|
| 72 | 72 | } |
@@ -17,29 +17,29 @@ |
||
| 17 | 17 | class ComposerUtility |
| 18 | 18 | { |
| 19 | 19 | |
| 20 | - /** |
|
| 21 | - * @throws Exception |
|
| 22 | - */ |
|
| 23 | - public static function checkContribLibs() |
|
| 24 | - { |
|
| 25 | - // avoid diuble class |
|
| 26 | - static $done = false; |
|
| 27 | - if ($done === true) { |
|
| 28 | - return; |
|
| 29 | - } |
|
| 30 | - $done = true; |
|
| 20 | + /** |
|
| 21 | + * @throws Exception |
|
| 22 | + */ |
|
| 23 | + public static function checkContribLibs() |
|
| 24 | + { |
|
| 25 | + // avoid diuble class |
|
| 26 | + static $done = false; |
|
| 27 | + if ($done === true) { |
|
| 28 | + return; |
|
| 29 | + } |
|
| 30 | + $done = true; |
|
| 31 | 31 | |
| 32 | - // include libs loader |
|
| 33 | - $autoloaderFile = ExtensionManagementUtility::extPath( |
|
| 34 | - 'shopize', |
|
| 35 | - 'Resources/Private/Contrib/vendor/autoload.php' |
|
| 36 | - ); |
|
| 37 | - if (!is_file($autoloaderFile)) { |
|
| 38 | - throw new Exception( |
|
| 39 | - 'You have to run "cd typo3conf/ext/shopize/Resources/Private/Contrib/ && composer install"!', |
|
| 40 | - 12367812 |
|
| 41 | - ); |
|
| 42 | - } |
|
| 43 | - GeneralUtility::requireFile($autoloaderFile); |
|
| 44 | - } |
|
| 32 | + // include libs loader |
|
| 33 | + $autoloaderFile = ExtensionManagementUtility::extPath( |
|
| 34 | + 'shopize', |
|
| 35 | + 'Resources/Private/Contrib/vendor/autoload.php' |
|
| 36 | + ); |
|
| 37 | + if (!is_file($autoloaderFile)) { |
|
| 38 | + throw new Exception( |
|
| 39 | + 'You have to run "cd typo3conf/ext/shopize/Resources/Private/Contrib/ && composer install"!', |
|
| 40 | + 12367812 |
|
| 41 | + ); |
|
| 42 | + } |
|
| 43 | + GeneralUtility::requireFile($autoloaderFile); |
|
| 44 | + } |
|
| 45 | 45 | } |