Passed
Push — master ( c9aaf6...870c71 )
by Simon
01:45
created
Classes/Utility/Typo3Provider.php 1 patch
Indentation   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -32,45 +32,45 @@
 block discarded – undo
32 32
  */
33 33
 class Typo3Provider
34 34
 {
35
-    /**
36
-     * @var string $name
37
-     */
38
-    private static $name = null;
35
+	/**
36
+	 * @var string $name
37
+	 */
38
+	private static $name = null;
39 39
 
40
-    /**
41
-     * Returns the trimmed and lowered provider name loaded by getenv.
42
-     *
43
-     * @return string
44
-     * @api
45
-     */
46
-    public static function getName()
47
-    {
48
-        if (is_null(self::$name)) {
49
-            self::$name = trim(mb_strtolower(getenv('TYPO3_PROVIDER') ?: (getenv('REDIRECT_TYPO3_PROVIDER') ?: '')));
50
-        }
40
+	/**
41
+	 * Returns the trimmed and lowered provider name loaded by getenv.
42
+	 *
43
+	 * @return string
44
+	 * @api
45
+	 */
46
+	public static function getName()
47
+	{
48
+		if (is_null(self::$name)) {
49
+			self::$name = trim(mb_strtolower(getenv('TYPO3_PROVIDER') ?: (getenv('REDIRECT_TYPO3_PROVIDER') ?: '')));
50
+		}
51 51
 
52
-        return self::$name;
53
-    }
52
+		return self::$name;
53
+	}
54 54
 
55
-    /**
56
-     * Returns TRUE if $providerName equals the loaded name.
57
-     *
58
-     * @return bool
59
-     * @api
60
-     */
61
-    public static function isProvider($providerName)
62
-    {
63
-        return self::getName() === trim(mb_strtolower($providerName));
64
-    }
55
+	/**
56
+	 * Returns TRUE if $providerName equals the loaded name.
57
+	 *
58
+	 * @return bool
59
+	 * @api
60
+	 */
61
+	public static function isProvider($providerName)
62
+	{
63
+		return self::getName() === trim(mb_strtolower($providerName));
64
+	}
65 65
 
66
-    /**
67
-     * Returns TRUE if the provider is Gilbertsoft
68
-     *
69
-     * @return bool
70
-     * @api
71
-     */
72
-    public static function isGilbertsoft()
73
-    {
74
-        return self::isProvider('Gilbertsoft');
75
-    }
66
+	/**
67
+	 * Returns TRUE if the provider is Gilbertsoft
68
+	 *
69
+	 * @return bool
70
+	 * @api
71
+	 */
72
+	public static function isGilbertsoft()
73
+	{
74
+		return self::isProvider('Gilbertsoft');
75
+	}
76 76
 }
Please login to merge, or discard this patch.
Classes/Extension/ConfiguratorInterface.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -32,19 +32,19 @@
 block discarded – undo
32 32
  */
33 33
 interface ConfiguratorInterface
34 34
 {
35
-    /**
36
-     * Called from ext_localconf.php
37
-     *
38
-     * @return void
39
-     * @api
40
-     */
41
-    public static function localconf($extKey);
35
+	/**
36
+	 * Called from ext_localconf.php
37
+	 *
38
+	 * @return void
39
+	 * @api
40
+	 */
41
+	public static function localconf($extKey);
42 42
 
43
-    /**
44
-     * Called from ext_tables.php
45
-     *
46
-     * @return void
47
-     * @api
48
-     */
49
-    public static function tables($extKey);
43
+	/**
44
+	 * Called from ext_tables.php
45
+	 *
46
+	 * @return void
47
+	 * @api
48
+	 */
49
+	public static function tables($extKey);
50 50
 }
Please login to merge, or discard this patch.
Classes/Extension/AbstractConfigurator.php 1 patch
Indentation   +42 added lines, -42 removed lines patch added patch discarded remove patch
@@ -37,51 +37,51 @@
 block discarded – undo
37 37
  */
38 38
 abstract class AbstractConfigurator implements ConfiguratorInterface
39 39
 {
40
-    /**
41
-     * @see Typo3Mode::isBackend()
42
-     */
43
-    protected static function isBackend()
44
-    {
45
-        return Typo3Mode::isBackend();
46
-    }
40
+	/**
41
+	 * @see Typo3Mode::isBackend()
42
+	 */
43
+	protected static function isBackend()
44
+	{
45
+		return Typo3Mode::isBackend();
46
+	}
47 47
 
48
-    /**
49
-     * @see Typo3Mode::isFrontend()
50
-     */
51
-    protected static function isFrontend()
52
-    {
53
-        return Typo3Mode::isFrontend();
54
-    }
48
+	/**
49
+	 * @see Typo3Mode::isFrontend()
50
+	 */
51
+	protected static function isFrontend()
52
+	{
53
+		return Typo3Mode::isFrontend();
54
+	}
55 55
 
56
-    /**
57
-     * @see Typo3Version::isVersion()
58
-     */
59
-    protected static function isVersion($branchNumberStr)
60
-    {
61
-        return Typo3Version::isVersion($branchNumberStr);
62
-    }
56
+	/**
57
+	 * @see Typo3Version::isVersion()
58
+	 */
59
+	protected static function isVersion($branchNumberStr)
60
+	{
61
+		return Typo3Version::isVersion($branchNumberStr);
62
+	}
63 63
 
64
-    /**
65
-     * @see Typo3Version::isCompatVersion()
66
-     */
67
-    protected static function isCompatVersion($branchNumberStr)
68
-    {
69
-        return Typo3Version::isCompatVersion($branchNumberStr);
70
-    }
64
+	/**
65
+	 * @see Typo3Version::isCompatVersion()
66
+	 */
67
+	protected static function isCompatVersion($branchNumberStr)
68
+	{
69
+		return Typo3Version::isCompatVersion($branchNumberStr);
70
+	}
71 71
 
72
-    /**
73
-     * Called from ext_localconf.php, to be implemented in derrived classes.
74
-     *
75
-     * @return void
76
-     * @api
77
-     */
78
-    abstract public static function localconf($extKey);
72
+	/**
73
+	 * Called from ext_localconf.php, to be implemented in derrived classes.
74
+	 *
75
+	 * @return void
76
+	 * @api
77
+	 */
78
+	abstract public static function localconf($extKey);
79 79
 
80
-    /**
81
-     * Called from ext_tables.php, to be implemented in derrived classes.
82
-     *
83
-     * @return void
84
-     * @api
85
-     */
86
-    abstract public static function tables($extKey);
80
+	/**
81
+	 * Called from ext_tables.php, to be implemented in derrived classes.
82
+	 *
83
+	 * @return void
84
+	 * @api
85
+	 */
86
+	abstract public static function tables($extKey);
87 87
 }
Please login to merge, or discard this patch.