Completed
Push — master ( 5c483b...1bc905 )
by
unknown
18:36
created
system/library/version.php 1 patch
Indentation   +72 added lines, -72 removed lines patch added patch discarded remove patch
@@ -17,76 +17,76 @@
 block discarded – undo
17 17
 final class Version extends Object
18 18
 {
19 19
 
20
-    protected $name = 'Arastta';
21
-
22
-    protected $code = 'Tianjin';
23
-
24
-    protected $major = '1';
25
-
26
-    protected $minor = '6';
27
-
28
-    protected $patch = '1';
29
-
30
-    protected $build = '';
31
-
32
-    protected $status = 'Stable';
33
-
34
-    protected $date = '19-April-2017';
35
-
36
-    protected $time = '15:30';
37
-
38
-    protected $zone = 'GMT +3';
39
-
40
-    /**
41
-     * Compares two a "PHP standardized" version number against the current Arastta version.
42
-     *
43
-     * @param   string  $minimum  The minimum version of the Arastta which is compatible.
44
-     *
45
-     * @return  bool    True if the version is compatible.
46
-     *
47
-     * @see     http://www.php.net/version_compare
48
-     * @since   1.0
49
-     */
50
-    public function isCompatible($minimum)
51
-    {
52
-        return version_compare($this->getShortVersion(), $minimum, 'ge');
53
-    }
54
-
55
-    /**
56
-     * Gets a "PHP standardized" version string for the current Arastta.
57
-     *
58
-     * @return  string  Version string.
59
-     *
60
-     * @since   1.0
61
-     */
62
-    public function getReleaseVersion()
63
-    {
64
-        return $this->get('major') . '.' . $this->get('minor');
65
-    }
66
-
67
-    /**
68
-     * Gets a "PHP standardized" version string for the current Arastta.
69
-     *
70
-     * @return  string  Version string.
71
-     *
72
-     * @since   1.0
73
-     */
74
-    public function getShortVersion()
75
-    {
76
-        return $this->getReleaseVersion() . '.' . $this->get('patch');
77
-    }
78
-
79
-    /**
80
-     * Gets a version string for the current Arastta with all release information.
81
-     *
82
-     * @return  string  Complete version string.
83
-     *
84
-     * @since   1.0
85
-     */
86
-    public function getLongVersion()
87
-    {
88
-        return $this->get('name') . ' ' . $this->getShortVersion() . ' '
89
-        . $this->get('status') . ' [ ' . $this->get('code') . ' ] ' . $this->get('date') . ' '
90
-        . $this->get('time') . ' ' . $this->get('zone');
91
-    }
20
+	protected $name = 'Arastta';
21
+
22
+	protected $code = 'Tianjin';
23
+
24
+	protected $major = '1';
25
+
26
+	protected $minor = '6';
27
+
28
+	protected $patch = '1';
29
+
30
+	protected $build = '';
31
+
32
+	protected $status = 'Stable';
33
+
34
+	protected $date = '19-April-2017';
35
+
36
+	protected $time = '15:30';
37
+
38
+	protected $zone = 'GMT +3';
39
+
40
+	/**
41
+	 * Compares two a "PHP standardized" version number against the current Arastta version.
42
+	 *
43
+	 * @param   string  $minimum  The minimum version of the Arastta which is compatible.
44
+	 *
45
+	 * @return  bool    True if the version is compatible.
46
+	 *
47
+	 * @see     http://www.php.net/version_compare
48
+	 * @since   1.0
49
+	 */
50
+	public function isCompatible($minimum)
51
+	{
52
+		return version_compare($this->getShortVersion(), $minimum, 'ge');
53
+	}
54
+
55
+	/**
56
+	 * Gets a "PHP standardized" version string for the current Arastta.
57
+	 *
58
+	 * @return  string  Version string.
59
+	 *
60
+	 * @since   1.0
61
+	 */
62
+	public function getReleaseVersion()
63
+	{
64
+		return $this->get('major') . '.' . $this->get('minor');
65
+	}
66
+
67
+	/**
68
+	 * Gets a "PHP standardized" version string for the current Arastta.
69
+	 *
70
+	 * @return  string  Version string.
71
+	 *
72
+	 * @since   1.0
73
+	 */
74
+	public function getShortVersion()
75
+	{
76
+		return $this->getReleaseVersion() . '.' . $this->get('patch');
77
+	}
78
+
79
+	/**
80
+	 * Gets a version string for the current Arastta with all release information.
81
+	 *
82
+	 * @return  string  Complete version string.
83
+	 *
84
+	 * @since   1.0
85
+	 */
86
+	public function getLongVersion()
87
+	{
88
+		return $this->get('name') . ' ' . $this->getShortVersion() . ' '
89
+		. $this->get('status') . ' [ ' . $this->get('code') . ' ] ' . $this->get('date') . ' '
90
+		. $this->get('time') . ' ' . $this->get('zone');
91
+	}
92 92
 }
Please login to merge, or discard this patch.