Passed
Push — master ( 870c71...79b41e )
by Simon
02:11
created
ext_emconf.php 1 patch
Indentation   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -22,33 +22,33 @@
 block discarded – undo
22 22
  */
23 23
 
24 24
 $EM_CONF[$_EXTKEY] = [
25
-    'title' => 'GS Library',
26
-    'description' => 'GS Library is a collection of utility functions, base classes and other templates for the usage in other extensions.',
27
-    'version' => '0.0.3',
28
-    'category' => 'misc',
29
-    'constraints' => [
30
-        'depends' => [
31
-            'php' => '5.6.0-0.0.0',
32
-            'typo3' => '6.2.0-8.9.99'
33
-        ],
34
-        'conflicts' => [],
35
-        'suggests' => []
36
-    ],
37
-    'state' => 'alpha',
38
-    'uploadfolder' => 0,
39
-    'createDirs' => '',
40
-    'clearCacheOnLoad' => 0,
41
-    'author' => 'Simon Gilli',
42
-    'author_email' => '[email protected]',
43
-    'author_company' => 'Gilbertsoft',
44
-    'autoload' => [
45
-        'psr-4' => [
46
-            'Gilbertsoft\\Lib\\' => 'Classes'
47
-        ]
48
-    ],
49
-    'autoload-dev' => [
50
-        'psr-4' => [
51
-            'Gilbertsoft\\Lib\\Tests\\' => 'Tests'
52
-        ]
53
-    ]
25
+	'title' => 'GS Library',
26
+	'description' => 'GS Library is a collection of utility functions, base classes and other templates for the usage in other extensions.',
27
+	'version' => '0.0.3',
28
+	'category' => 'misc',
29
+	'constraints' => [
30
+		'depends' => [
31
+			'php' => '5.6.0-0.0.0',
32
+			'typo3' => '6.2.0-8.9.99'
33
+		],
34
+		'conflicts' => [],
35
+		'suggests' => []
36
+	],
37
+	'state' => 'alpha',
38
+	'uploadfolder' => 0,
39
+	'createDirs' => '',
40
+	'clearCacheOnLoad' => 0,
41
+	'author' => 'Simon Gilli',
42
+	'author_email' => '[email protected]',
43
+	'author_company' => 'Gilbertsoft',
44
+	'autoload' => [
45
+		'psr-4' => [
46
+			'Gilbertsoft\\Lib\\' => 'Classes'
47
+		]
48
+	],
49
+	'autoload-dev' => [
50
+		'psr-4' => [
51
+			'Gilbertsoft\\Lib\\Tests\\' => 'Tests'
52
+		]
53
+	]
54 54
 ];
55 55
\ No newline at end of file
Please login to merge, or discard this patch.
Classes/Extension/AbstractConfigurator.php 1 patch
Indentation   +65 added lines, -65 removed lines patch added patch discarded remove patch
@@ -37,77 +37,77 @@
 block discarded – undo
37 37
  */
38 38
 abstract class AbstractConfigurator implements ConfiguratorInterface
39 39
 {
40
-    /**
41
-     * @see Typo3Mode::isFrontend()
42
-     */
43
-    protected static function isFrontend()
44
-    {
45
-        return Typo3Mode::isFrontend();
46
-    }
40
+	/**
41
+	 * @see Typo3Mode::isFrontend()
42
+	 */
43
+	protected static function isFrontend()
44
+	{
45
+		return Typo3Mode::isFrontend();
46
+	}
47 47
 
48
-    /**
49
-     * @see Typo3Mode::isBackend()
50
-     */
51
-    protected static function isBackend()
52
-    {
53
-        return Typo3Mode::isBackend();
54
-    }
48
+	/**
49
+	 * @see Typo3Mode::isBackend()
50
+	 */
51
+	protected static function isBackend()
52
+	{
53
+		return Typo3Mode::isBackend();
54
+	}
55 55
 
56
-    /**
57
-     * @see Typo3Mode::isCli()
58
-     */
59
-    protected static function isCli()
60
-    {
61
-        return Typo3Mode::isCli();
62
-    }
56
+	/**
57
+	 * @see Typo3Mode::isCli()
58
+	 */
59
+	protected static function isCli()
60
+	{
61
+		return Typo3Mode::isCli();
62
+	}
63 63
 
64
-    /**
65
-     * @see Typo3Mode::isAjax()
66
-     */
67
-    protected static function isAjax()
68
-    {
69
-        return Typo3Mode::isAjax();
70
-    }
64
+	/**
65
+	 * @see Typo3Mode::isAjax()
66
+	 */
67
+	protected static function isAjax()
68
+	{
69
+		return Typo3Mode::isAjax();
70
+	}
71 71
 
72
-    /**
73
-     * @see Typo3Mode::isInstall()
74
-     */
75
-    protected static function isInstall()
76
-    {
77
-        return Typo3Mode::isInstall();
78
-    }
72
+	/**
73
+	 * @see Typo3Mode::isInstall()
74
+	 */
75
+	protected static function isInstall()
76
+	{
77
+		return Typo3Mode::isInstall();
78
+	}
79 79
 
80
-    /**
81
-     * @see Typo3Version::isVersion()
82
-     */
83
-    protected static function isVersion($branchNumberStr)
84
-    {
85
-        return Typo3Version::isVersion($branchNumberStr);
86
-    }
80
+	/**
81
+	 * @see Typo3Version::isVersion()
82
+	 */
83
+	protected static function isVersion($branchNumberStr)
84
+	{
85
+		return Typo3Version::isVersion($branchNumberStr);
86
+	}
87 87
 
88
-    /**
89
-     * @see Typo3Version::isCompatVersion()
90
-     */
91
-    protected static function isCompatVersion($branchNumberStr)
92
-    {
93
-        return Typo3Version::isCompatVersion($branchNumberStr);
94
-    }
88
+	/**
89
+	 * @see Typo3Version::isCompatVersion()
90
+	 */
91
+	protected static function isCompatVersion($branchNumberStr)
92
+	{
93
+		return Typo3Version::isCompatVersion($branchNumberStr);
94
+	}
95 95
 
96
-    /**
97
-     * Called from ext_localconf.php, to be implemented in derrived classes.
98
-     *
99
-     * @param string $extensionKey Extension key
100
-     * @return void
101
-     * @api
102
-     */
103
-    abstract public static function localconf($extensionKey);
96
+	/**
97
+	 * Called from ext_localconf.php, to be implemented in derrived classes.
98
+	 *
99
+	 * @param string $extensionKey Extension key
100
+	 * @return void
101
+	 * @api
102
+	 */
103
+	abstract public static function localconf($extensionKey);
104 104
 
105
-    /**
106
-     * Called from ext_tables.php, to be implemented in derrived classes.
107
-     *
108
-     * @param string $extensionKey Extension key
109
-     * @return void
110
-     * @api
111
-     */
112
-    abstract public static function tables($extensionKey);
105
+	/**
106
+	 * Called from ext_tables.php, to be implemented in derrived classes.
107
+	 *
108
+	 * @param string $extensionKey Extension key
109
+	 * @return void
110
+	 * @api
111
+	 */
112
+	abstract public static function tables($extensionKey);
113 113
 }
Please login to merge, or discard this patch.
Classes/Extension/ConfiguratorInterface.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -32,21 +32,21 @@
 block discarded – undo
32 32
  */
33 33
 interface ConfiguratorInterface
34 34
 {
35
-    /**
36
-     * Called from ext_localconf.php
37
-     *
38
-     * @param string $extensionKey Extension key
39
-     * @return void
40
-     * @api
41
-     */
42
-    public static function localconf($extensionKey);
35
+	/**
36
+	 * Called from ext_localconf.php
37
+	 *
38
+	 * @param string $extensionKey Extension key
39
+	 * @return void
40
+	 * @api
41
+	 */
42
+	public static function localconf($extensionKey);
43 43
 
44
-    /**
45
-     * Called from ext_tables.php
46
-     *
47
-     * @param string $extensionKey Extension key
48
-     * @return void
49
-     * @api
50
-     */
51
-    public static function tables($extensionKey);
44
+	/**
45
+	 * Called from ext_tables.php
46
+	 *
47
+	 * @param string $extensionKey Extension key
48
+	 * @return void
49
+	 * @api
50
+	 */
51
+	public static function tables($extensionKey);
52 52
 }
Please login to merge, or discard this patch.
Classes/Service/AbstractInstallService.php 1 patch
Indentation   +71 added lines, -71 removed lines patch added patch discarded remove patch
@@ -34,83 +34,83 @@
 block discarded – undo
34 34
  */
35 35
 abstract class AbstractInstallService
36 36
 {
37
-    /**
38
-     * @var string Extension key
39
-     */
40
-    protected $extensionKey;
37
+	/**
38
+	 * @var string Extension key
39
+	 */
40
+	protected $extensionKey;
41 41
 
42
-    /**
43
-     * Called from ext_localconf.php, to be implemented in derrived classes.
44
-     *
45
-     * @param string $extensionKey Extension key
46
-     * @return null | AbstractInstallService Instance of this class
47
-     */
48
-    public static function registerService($extensionKey)
49
-    {
50
-        if (Typo3Mode::isBackend()) {
51
-            $signalSlot = GeneralUtility::makeInstance(self, $extensionKey);
52
-            $signalSlotDispatcher = GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class);
53
-            $signalSlotDispatcher->connect(
54
-                \TYPO3\CMS\Extensionmanager\Utility\InstallUtility::class,
55
-                'afterExtensionInstall',
56
-                $signalSlot,
57
-                'afterInstall'
58
-            );
59
-            $signalSlotDispatcher->connect(
60
-                \TYPO3\CMS\Extensionmanager\Utility\InstallUtility::class,
61
-                'afterExtensionUninstall',
62
-                $signalSlot,
63
-                'afterUninstall'
64
-            );
42
+	/**
43
+	 * Called from ext_localconf.php, to be implemented in derrived classes.
44
+	 *
45
+	 * @param string $extensionKey Extension key
46
+	 * @return null | AbstractInstallService Instance of this class
47
+	 */
48
+	public static function registerService($extensionKey)
49
+	{
50
+		if (Typo3Mode::isBackend()) {
51
+			$signalSlot = GeneralUtility::makeInstance(self, $extensionKey);
52
+			$signalSlotDispatcher = GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class);
53
+			$signalSlotDispatcher->connect(
54
+				\TYPO3\CMS\Extensionmanager\Utility\InstallUtility::class,
55
+				'afterExtensionInstall',
56
+				$signalSlot,
57
+				'afterInstall'
58
+			);
59
+			$signalSlotDispatcher->connect(
60
+				\TYPO3\CMS\Extensionmanager\Utility\InstallUtility::class,
61
+				'afterExtensionUninstall',
62
+				$signalSlot,
63
+				'afterUninstall'
64
+			);
65 65
 
66
-            return $signalSlot;
67
-        }
66
+			return $signalSlot;
67
+		}
68 68
 
69
-        return null;
70
-    }
69
+		return null;
70
+	}
71 71
 
72
-    /**
73
-     * Initializes the install service
74
-     *
75
-     * @param string $extensionKey Extension key
76
-     * @throws InvalidArgumentException 
77
-     */
78
-    public function __construct($extensionKey)
79
-    {
80
-        if (!is_string($extensionKey) || empty($extensionKey)) {
81
-            throw new \InvalidArgumentException('$extensionKey must be a non empty string.', 1491494798);
82
-        }
72
+	/**
73
+	 * Initializes the install service
74
+	 *
75
+	 * @param string $extensionKey Extension key
76
+	 * @throws InvalidArgumentException 
77
+	 */
78
+	public function __construct($extensionKey)
79
+	{
80
+		if (!is_string($extensionKey) || empty($extensionKey)) {
81
+			throw new \InvalidArgumentException('$extensionKey must be a non empty string.', 1491494798);
82
+		}
83 83
 
84
-        $this->extensionKey = $extensionKey;
85
-    }
84
+		$this->extensionKey = $extensionKey;
85
+	}
86 86
 
87
-    /**
88
-     * Executes the setup tasks if extension is installed.
89
-     *
90
-     * @param string $extensionKey Installed extension key
91
-     * @return void
92
-     */
93
-    abstract public function afterInstall($extensionKey);
87
+	/**
88
+	 * Executes the setup tasks if extension is installed.
89
+	 *
90
+	 * @param string $extensionKey Installed extension key
91
+	 * @return void
92
+	 */
93
+	abstract public function afterInstall($extensionKey);
94 94
 
95
-    /**
96
-     * Executes the setup tasks if extension is uninstalled.
97
-     *
98
-     * @param string $extensionKey Uninstalled extension key
99
-     * @return void
100
-     */
101
-    abstract public function afterUninstall($extensionKey);
95
+	/**
96
+	 * Executes the setup tasks if extension is uninstalled.
97
+	 *
98
+	 * @param string $extensionKey Uninstalled extension key
99
+	 * @return void
100
+	 */
101
+	abstract public function afterUninstall($extensionKey);
102 102
 
103
-    /**
104
-     * Create a Flash Message and add it to the Queue
105
-     *
106
-     * @param string $message The message.
107
-     * @param string $title Optional message title.
108
-     * @param int $severity Optional severity, must be either of one of \TYPO3\CMS\Core\Messaging\FlashMessage constants
109
-     * @param bool $storeInSession Optional, defines whether the message should be stored in the session or only for one request (default)
110
-     * @return void
111
-     */
112
-    protected function showFlashMessage($message, $title = '', $severity = FlashMessage::OK, $storeInSession = true)
113
-    {
114
-        return FlashMessageUtility::showFlashMessage($this->extensionKey, $message, $title, $severity, $storeInSession);
115
-    }
103
+	/**
104
+	 * Create a Flash Message and add it to the Queue
105
+	 *
106
+	 * @param string $message The message.
107
+	 * @param string $title Optional message title.
108
+	 * @param int $severity Optional severity, must be either of one of \TYPO3\CMS\Core\Messaging\FlashMessage constants
109
+	 * @param bool $storeInSession Optional, defines whether the message should be stored in the session or only for one request (default)
110
+	 * @return void
111
+	 */
112
+	protected function showFlashMessage($message, $title = '', $severity = FlashMessage::OK, $storeInSession = true)
113
+	{
114
+		return FlashMessageUtility::showFlashMessage($this->extensionKey, $message, $title, $severity, $storeInSession);
115
+	}
116 116
 }
Please login to merge, or discard this patch.