Completed
Push — master ( db937b...bb9c1e )
by Tim
14:24
created
Classes/Controller/CheckoutController.php 1 patch
Indentation   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -17,54 +17,54 @@
 block discarded – undo
17 17
 class CheckoutController extends AbstractController
18 18
 {
19 19
 
20
-    /**
21
-     * @var \FRUIT\Shopize\Service\PaymentService
22
-     * @inject
23
-     */
24
-    protected $paymentService;
20
+	/**
21
+	 * @var \FRUIT\Shopize\Service\PaymentService
22
+	 * @inject
23
+	 */
24
+	protected $paymentService;
25 25
 
26
-    /**
27
-     * Billing action
28
-     */
29
-    public function billingAction()
30
-    {
31
-    }
26
+	/**
27
+	 * Billing action
28
+	 */
29
+	public function billingAction()
30
+	{
31
+	}
32 32
 
33
-    /**
34
-     * Shipment action
35
-     */
36
-    public function shipmentAction()
37
-    {
38
-    }
33
+	/**
34
+	 * Shipment action
35
+	 */
36
+	public function shipmentAction()
37
+	{
38
+	}
39 39
 
40
-    /**
41
-     * Payment action
42
-     */
43
-    public function paymentAction()
44
-    {
45
-        $this->view->assign('paymentPossibilities', $this->paymentService->getPaymentPossibilities());
46
-    }
40
+	/**
41
+	 * Payment action
42
+	 */
43
+	public function paymentAction()
44
+	{
45
+		$this->view->assign('paymentPossibilities', $this->paymentService->getPaymentPossibilities());
46
+	}
47 47
 
48
-    /**
49
-     * Confirm action
50
-     */
51
-    public function confirmAction()
52
-    {
53
-    }
48
+	/**
49
+	 * Confirm action
50
+	 */
51
+	public function confirmAction()
52
+	{
53
+	}
54 54
 
55
-    /**
56
-     * Check action
57
-     */
58
-    public function checkAction()
59
-    {
60
-        // @todo run checks here
61
-        $this->forward('finish');
62
-    }
55
+	/**
56
+	 * Check action
57
+	 */
58
+	public function checkAction()
59
+	{
60
+		// @todo run checks here
61
+		$this->forward('finish');
62
+	}
63 63
 
64
-    /**
65
-     * Finish action
66
-     */
67
-    public function finishAction()
68
-    {
69
-    }
64
+	/**
65
+	 * Finish action
66
+	 */
67
+	public function finishAction()
68
+	{
69
+	}
70 70
 }
Please login to merge, or discard this patch.
Classes/Utility/ComposerUtility.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -17,21 +17,21 @@
 block discarded – undo
17 17
 class ComposerUtility
18 18
 {
19 19
 
20
-    static public function checkContribLibs()
21
-    {
22
-        // avoid diuble class
23
-        static $done = false;
24
-        if ($done === true) {
25
-            return;
26
-        }
27
-        $done = true;
20
+	static public function checkContribLibs()
21
+	{
22
+		// avoid diuble class
23
+		static $done = false;
24
+		if ($done === true) {
25
+			return;
26
+		}
27
+		$done = true;
28 28
 
29
-        // start check
30
-        #if (!class_exists(Omnipay::class)) {
31
-        #    // Install composer?
32
-        #    return;
33
-        #}
34
-        GeneralUtility::requireFile(ExtensionManagementUtility::extPath('shopize',
35
-            'Resources/Private/Contrib/vendor/autoload.php'));
36
-    }
29
+		// start check
30
+		#if (!class_exists(Omnipay::class)) {
31
+		#    // Install composer?
32
+		#    return;
33
+		#}
34
+		GeneralUtility::requireFile(ExtensionManagementUtility::extPath('shopize',
35
+			'Resources/Private/Contrib/vendor/autoload.php'));
36
+	}
37 37
 }
Please login to merge, or discard this patch.
Classes/Service/PaymentService.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -17,23 +17,23 @@
 block discarded – undo
17 17
 class PaymentService
18 18
 {
19 19
 
20
-    /**
21
-     * PaymentService constructor.
22
-     */
23
-    public function __construct()
24
-    {
25
-        ComposerUtility::checkContribLibs();
26
-        // @todo check SSL connection here and drop a error (disable for debugging)
27
-    }
20
+	/**
21
+	 * PaymentService constructor.
22
+	 */
23
+	public function __construct()
24
+	{
25
+		ComposerUtility::checkContribLibs();
26
+		// @todo check SSL connection here and drop a error (disable for debugging)
27
+	}
28 28
 
29
-    public function getPaymentPossibilities()
30
-    {
31
-        $gatewayFactory = Omnipay::getFactory();
29
+	public function getPaymentPossibilities()
30
+	{
31
+		$gatewayFactory = Omnipay::getFactory();
32 32
 
33
-        return [
34
-            $gatewayFactory->create('Dummy'),
35
-            $gatewayFactory->create('PayPal_Express'),
36
-        ];
37
-    }
33
+		return [
34
+			$gatewayFactory->create('Dummy'),
35
+			$gatewayFactory->create('PayPal_Express'),
36
+		];
37
+	}
38 38
 
39 39
 }
Please login to merge, or discard this patch.