Completed
Push — master ( 002363...169c8d )
by Tim
02:09
created
Classes/Domain/Model/Voucher.php 1 patch
Indentation   +42 added lines, -42 removed lines patch added patch discarded remove patch
@@ -15,52 +15,52 @@
 block discarded – undo
15 15
 class Voucher extends AbstractModel
16 16
 {
17 17
 
18
-    /**
19
-     * Code
20
-     *
21
-     * @var string
22
-     * @db
23
-     */
24
-    protected $code;
18
+	/**
19
+	 * Code
20
+	 *
21
+	 * @var string
22
+	 * @db
23
+	 */
24
+	protected $code;
25 25
 
26
-    /**
27
-     * Expires
28
-     *
29
-     * @var \DateTime
30
-     * @db
31
-     */
32
-    protected $expires;
26
+	/**
27
+	 * Expires
28
+	 *
29
+	 * @var \DateTime
30
+	 * @db
31
+	 */
32
+	protected $expires;
33 33
 
34
-    /**
35
-     * @return string
36
-     */
37
-    public function getCode()
38
-    {
39
-        return $this->code;
40
-    }
34
+	/**
35
+	 * @return string
36
+	 */
37
+	public function getCode()
38
+	{
39
+		return $this->code;
40
+	}
41 41
 
42
-    /**
43
-     * @param string $code
44
-     */
45
-    public function setCode($code)
46
-    {
47
-        $this->code = $code;
48
-    }
42
+	/**
43
+	 * @param string $code
44
+	 */
45
+	public function setCode($code)
46
+	{
47
+		$this->code = $code;
48
+	}
49 49
 
50
-    /**
51
-     * @return \DateTime
52
-     */
53
-    public function getExpires()
54
-    {
55
-        return $this->expires;
56
-    }
50
+	/**
51
+	 * @return \DateTime
52
+	 */
53
+	public function getExpires()
54
+	{
55
+		return $this->expires;
56
+	}
57 57
 
58
-    /**
59
-     * @param \DateTime $expires
60
-     */
61
-    public function setExpires($expires)
62
-    {
63
-        $this->expires = $expires;
64
-    }
58
+	/**
59
+	 * @param \DateTime $expires
60
+	 */
61
+	public function setExpires($expires)
62
+	{
63
+		$this->expires = $expires;
64
+	}
65 65
 
66 66
 }
Please login to merge, or discard this patch.
Tests/Unit/Domain/Model/VoucherTest.php 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -14,28 +14,28 @@
 block discarded – undo
14 14
 class VoucherTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
15 15
 {
16 16
 
17
-    /**
18
-     * @var Voucher
19
-     */
20
-    protected $fileDomainModelInstance;
17
+	/**
18
+	 * @var Voucher
19
+	 */
20
+	protected $fileDomainModelInstance;
21 21
 
22
-    /**
23
-     * Setup
24
-     *
25
-     * @return void
26
-     */
27
-    protected function setUp()
28
-    {
29
-        $this->fileDomainModelInstance = new Voucher();
30
-    }
22
+	/**
23
+	 * Setup
24
+	 *
25
+	 * @return void
26
+	 */
27
+	protected function setUp()
28
+	{
29
+		$this->fileDomainModelInstance = new Voucher();
30
+	}
31 31
 
32
-    /**
33
-     * @test
34
-     */
35
-    public function codeCanBeSet()
36
-    {
37
-        $code = 'a6g87fg0na98sdf';
38
-        $this->fileDomainModelInstance->setCode($code);
39
-        $this->assertEquals($code, $this->fileDomainModelInstance->getCode());
40
-    }
32
+	/**
33
+	 * @test
34
+	 */
35
+	public function codeCanBeSet()
36
+	{
37
+		$code = 'a6g87fg0na98sdf';
38
+		$this->fileDomainModelInstance->setCode($code);
39
+		$this->assertEquals($code, $this->fileDomainModelInstance->getCode());
40
+	}
41 41
 }
Please login to merge, or discard this patch.
ext_emconf.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -8,18 +8,18 @@
 block discarded – undo
8 8
  */
9 9
 
10 10
 $EM_CONF[$_EXTKEY] = array(
11
-    'title'            => 'Shopize',
12
-    'description'      => 'Create a structure for buyable tables/models and one plugin for the different output of shop views. The extension is shipped with one default product table, but the aim of the extension is to "shopize" every table/model. It is completely independent and configurable! Use your own models as product items in this shop. We need feedback about the concept! Development on https://github.com/lochmueller/shopize',
13
-    'category'         => 'fe',
14
-    'version'          => '0.1.0',
15
-    'state'            => 'beta',
16
-    'clearcacheonload' => 1,
17
-    'author'           => 'Tim Lochmüller',
18
-    'author_email'     => '[email protected]',
19
-    'constraints'      => array(
20
-        'depends' => array(
21
-            'typo3'      => '6.2.0-8.1.99',
22
-            'autoloader' => '2.0.0-0.0.0',
23
-        ),
24
-    ),
11
+	'title'            => 'Shopize',
12
+	'description'      => 'Create a structure for buyable tables/models and one plugin for the different output of shop views. The extension is shipped with one default product table, but the aim of the extension is to "shopize" every table/model. It is completely independent and configurable! Use your own models as product items in this shop. We need feedback about the concept! Development on https://github.com/lochmueller/shopize',
13
+	'category'         => 'fe',
14
+	'version'          => '0.1.0',
15
+	'state'            => 'beta',
16
+	'clearcacheonload' => 1,
17
+	'author'           => 'Tim Lochmüller',
18
+	'author_email'     => '[email protected]',
19
+	'constraints'      => array(
20
+		'depends' => array(
21
+			'typo3'      => '6.2.0-8.1.99',
22
+			'autoloader' => '2.0.0-0.0.0',
23
+		),
24
+	),
25 25
 );
Please login to merge, or discard this patch.
ext_localconf.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 if (!defined('TYPO3_MODE')) {
4
-    die('Access denied.');
4
+	die('Access denied.');
5 5
 }
6 6
 
7 7
 \FRUIT\Autoloader\Loader::extLocalconf('FRUIT', 'shopize');
@@ -9,9 +9,9 @@  discard block
 block discarded – undo
9 9
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('FRUIT.shopize', 'Basket', array('Basket' => 'list,add,remove'), array('Basket' => 'list,add,remove'));
10 10
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('FRUIT.shopize', 'Checkout', array('Checkout' => '...'), array('Checkout' => '...'));
11 11
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('FRUIT.shopize', 'Shop', array(
12
-    'Shop'   => 'list,detail',
13
-    'Basket' => 'add'
12
+	'Shop'   => 'list,detail',
13
+	'Basket' => 'add'
14 14
 ), array(
15
-    'Shop'   => 'list,detail',
16
-    'Basket' => 'add'
15
+	'Shop'   => 'list,detail',
16
+	'Basket' => 'add'
17 17
 ));
Please login to merge, or discard this patch.
ext_tables.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 if (!defined('TYPO3_MODE')) {
4
-    die('Access denied.');
4
+	die('Access denied.');
5 5
 }
6 6
 
7 7
 \FRUIT\Autoloader\Loader::extTables('FRUIT', 'shopize');
Please login to merge, or discard this patch.
Classes/Domain/Repository/BasketRepository.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -18,15 +18,15 @@
 block discarded – undo
18 18
 class BasketRepository extends AbstractRepository
19 19
 {
20 20
 
21
-    /**
22
-     * Find the current basket
23
-     *
24
-     * @return Basket
25
-     */
26
-    public function findCurrent()
27
-    {
28
-        DebuggerUtility::var_dump('get current Basket');
29
-        $basket = new Basket();
30
-        return $basket;
31
-    }
21
+	/**
22
+	 * Find the current basket
23
+	 *
24
+	 * @return Basket
25
+	 */
26
+	public function findCurrent()
27
+	{
28
+		DebuggerUtility::var_dump('get current Basket');
29
+		$basket = new Basket();
30
+		return $basket;
31
+	}
32 32
 }
Please login to merge, or discard this patch.
Classes/Domain/Model/Basket.php 1 patch
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -15,31 +15,31 @@
 block discarded – undo
15 15
 class Basket extends AbstractModel
16 16
 {
17 17
 
18
-    /**
19
-     * Session identifier
20
-     *
21
-     * @var string
22
-     * @db
23
-     */
24
-    protected $sessionIdentifier;
18
+	/**
19
+	 * Session identifier
20
+	 *
21
+	 * @var string
22
+	 * @db
23
+	 */
24
+	protected $sessionIdentifier;
25 25
 
26
-    /**
27
-     * Get session identifier
28
-     *
29
-     * @return string
30
-     */
31
-    public function getSessionIdentifier()
32
-    {
33
-        return $this->sessionIdentifier;
34
-    }
26
+	/**
27
+	 * Get session identifier
28
+	 *
29
+	 * @return string
30
+	 */
31
+	public function getSessionIdentifier()
32
+	{
33
+		return $this->sessionIdentifier;
34
+	}
35 35
 
36
-    /**
37
-     * Set session identifier
38
-     *
39
-     * @param string $sessionIdentifier
40
-     */
41
-    public function setSessionIdentifier($sessionIdentifier)
42
-    {
43
-        $this->sessionIdentifier = $sessionIdentifier;
44
-    }
36
+	/**
37
+	 * Set session identifier
38
+	 *
39
+	 * @param string $sessionIdentifier
40
+	 */
41
+	public function setSessionIdentifier($sessionIdentifier)
42
+	{
43
+		$this->sessionIdentifier = $sessionIdentifier;
44
+	}
45 45
 }
Please login to merge, or discard this patch.
Classes/Controller/BasketController.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -15,33 +15,33 @@
 block discarded – undo
15 15
 class BasketController extends AbstractController
16 16
 {
17 17
 
18
-    /**
19
-     * Basket repository
20
-     *
21
-     * @var \FRUIT\Shopize\Domain\Repository\BasketRepository
22
-     * @inject
23
-     */
24
-    protected $basketRepository;
18
+	/**
19
+	 * Basket repository
20
+	 *
21
+	 * @var \FRUIT\Shopize\Domain\Repository\BasketRepository
22
+	 * @inject
23
+	 */
24
+	protected $basketRepository;
25 25
 
26
-    /**
27
-     * List action
28
-     */
29
-    public function listAction()
30
-    {
31
-        $this->view->assign('basket', $this->basketRepository->findCurrent());
32
-    }
26
+	/**
27
+	 * List action
28
+	 */
29
+	public function listAction()
30
+	{
31
+		$this->view->assign('basket', $this->basketRepository->findCurrent());
32
+	}
33 33
 
34
-    /**
35
-     * Add action
36
-     */
37
-    public function addAction()
38
-    {
39
-    }
34
+	/**
35
+	 * Add action
36
+	 */
37
+	public function addAction()
38
+	{
39
+	}
40 40
 
41
-    /**
42
-     * remove action
43
-     */
44
-    public function removeAction()
45
-    {
46
-    }
41
+	/**
42
+	 * remove action
43
+	 */
44
+	public function removeAction()
45
+	{
46
+	}
47 47
 }
Please login to merge, or discard this patch.
Classes/Controller/CheckoutController.php 1 patch
Indentation   +41 added lines, -41 removed lines patch added patch discarded remove patch
@@ -15,45 +15,45 @@
 block discarded – undo
15 15
 class CheckoutController extends AbstractController
16 16
 {
17 17
 
18
-    /**
19
-     * Billing action
20
-     */
21
-    public function billingAction()
22
-    {
23
-    }
24
-
25
-    /**
26
-     * Shipment action
27
-     */
28
-    public function shipmentAction()
29
-    {
30
-    }
31
-
32
-    /**
33
-     * Payment action
34
-     */
35
-    public function paymentAction()
36
-    {
37
-    }
38
-
39
-    /**
40
-     * Confirm action
41
-     */
42
-    public function confirmAction()
43
-    {
44
-    }
45
-
46
-    /**
47
-     * Check action
48
-     */
49
-    public function checkAction()
50
-    {
51
-    }
52
-
53
-    /**
54
-     * Finish action
55
-     */
56
-    public function finishAction()
57
-    {
58
-    }
18
+	/**
19
+	 * Billing action
20
+	 */
21
+	public function billingAction()
22
+	{
23
+	}
24
+
25
+	/**
26
+	 * Shipment action
27
+	 */
28
+	public function shipmentAction()
29
+	{
30
+	}
31
+
32
+	/**
33
+	 * Payment action
34
+	 */
35
+	public function paymentAction()
36
+	{
37
+	}
38
+
39
+	/**
40
+	 * Confirm action
41
+	 */
42
+	public function confirmAction()
43
+	{
44
+	}
45
+
46
+	/**
47
+	 * Check action
48
+	 */
49
+	public function checkAction()
50
+	{
51
+	}
52
+
53
+	/**
54
+	 * Finish action
55
+	 */
56
+	public function finishAction()
57
+	{
58
+	}
59 59
 }
Please login to merge, or discard this patch.