Passed
Push — develop ( ca5759...96efe9 )
by Jens
02:44
created
src/install/_index.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,5 +25,5 @@
 block discarded – undo
25 25
 \CloudControl\Cms\CloudControl::run();
26 26
 
27 27
 if (php_sapi_name() != "cli") {
28
-    ob_end_flush();
28
+	ob_end_flush();
29 29
 }
30 30
\ No newline at end of file
Please login to merge, or discard this patch.
src/images/methods/Watermark.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@
 block discarded – undo
12 12
 namespace CloudControl\Cms\images\methods
13 13
 {
14 14
 
15
-    use CloudControl\Cms\images\Image;
16
-    use CloudControl\Cms\images\IMethod;
15
+	use CloudControl\Cms\images\Image;
16
+	use CloudControl\Cms\images\IMethod;
17 17
 
18
-    class Watermark extends IMethod
18
+	class Watermark extends IMethod
19 19
 	{
20 20
 		protected $_x = 0;
21 21
 		protected $_y = 0;
Please login to merge, or discard this patch.
src/images/methods/Crop.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@  discard block
 block discarded – undo
11 11
 namespace CloudControl\Cms\images\methods
12 12
 {
13 13
 
14
-    use CloudControl\Cms\images\IMethod;
14
+	use CloudControl\Cms\images\IMethod;
15 15
 
16
-    class Crop extends IMethod
16
+	class Crop extends IMethod
17 17
 	{
18 18
 		protected $_width;
19 19
 		protected $_height;
@@ -116,8 +116,8 @@  discard block
 block discarded – undo
116 116
 
117 117
 			// Preserve transparency
118 118
 			imagecolortransparent($new, imagecolorallocatealpha($new, 0, 0, 0, 127));
119
-            imagealphablending($new, false);
120
-            imagesavealpha($new, true);
119
+			imagealphablending($new, false);
120
+			imagesavealpha($new, true);
121 121
 			
122 122
 			imagecopyresampled($new, $imageResource, $this->_destX, $this->_destY, $this->_x, $this->_y, $this->_destWidth, $this->_destHeight, $this->_destWidth, $this->_destHeight);
123 123
 			
Please login to merge, or discard this patch.
src/images/methods/Resize.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
 namespace CloudControl\Cms\images\methods
12 12
 {
13 13
 
14
-    use CloudControl\Cms\images\IMethod;
14
+	use CloudControl\Cms\images\IMethod;
15 15
 
16
-    class Resize extends IMethod
16
+	class Resize extends IMethod
17 17
 	{
18 18
 		protected $_width;
19 19
 		protected $_height;
Please login to merge, or discard this patch.
src/images/methods/SmartCrop.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,8 +62,8 @@
 block discarded – undo
62 62
 
63 63
 			// Preserve transparency
64 64
 			imagecolortransparent($new, imagecolorallocatealpha($new, 0, 0, 0, 127));
65
-            imagealphablending($new, false);
66
-            imagesavealpha($new, true);
65
+			imagealphablending($new, false);
66
+			imagesavealpha($new, true);
67 67
 			
68 68
 			imagecopyresampled($new, $imageResource, $this->_destX, $this->_destY, $this->_x, $this->_y, $this->_destWidth, $this->_destHeight, $originalWidth, $originalHeight);
69 69
 			
Please login to merge, or discard this patch.
src/images/methods/BoxCrop.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 		/**
18 18
 		 * @param resource $imageResource
19 19
 		 * @return resource
20
-         */
20
+		 */
21 21
 		public function Execute($imageResource)
22 22
 		{
23 23
 			// Define the origial width and height
Please login to merge, or discard this patch.
src/images/methods/Grayscale.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,9 +9,9 @@
 block discarded – undo
9 9
 namespace CloudControl\Cms\images\methods
10 10
 {
11 11
 
12
-    use CloudControl\Cms\images\IMethod;
12
+	use CloudControl\Cms\images\IMethod;
13 13
 
14
-    class Grayscale extends IMethod
14
+	class Grayscale extends IMethod
15 15
 	{		
16 16
 		public function Execute($imageResource)
17 17
 		{			
Please login to merge, or discard this patch.
src/images/ImageResizer.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 namespace CloudControl\Cms\images
3 3
 {
4 4
 
5
-    use CloudControl\Cms\cc\StringUtil;
5
+	use CloudControl\Cms\cc\StringUtil;
6 6
 
7
-    /**
7
+	/**
8 8
 	 * Class ImageResizer
9 9
 	 * @package CloudControl\Cms\images
10 10
 	 */
Please login to merge, or discard this patch.
src/cc/Request.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 namespace CloudControl\Cms\cc
3 3
 {
4
-    /**
5
-     * Class Request
6
-     * @package CloudControl\Cms\cc
7
-     */
4
+	/**
5
+	 * Class Request
6
+	 * @package CloudControl\Cms\cc
7
+	 */
8 8
 	class Request {
9 9
 
10 10
 		/**
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 		 */
46 46
 		public function __construct() 
47 47
 		{
48
-            $rootPath = str_replace('\\', '/', realpath(str_replace('\\', '/', dirname(__FILE__)) . '/../../') . '/');
48
+			$rootPath = str_replace('\\', '/', realpath(str_replace('\\', '/', dirname(__FILE__)) . '/../../') . '/');
49 49
 			
50 50
 			self::$subfolders = '/' . str_replace('//', '/', str_replace(str_replace('\\', '/', $_SERVER['DOCUMENT_ROOT']), "", $rootPath));
51 51
 			self::$subfolders = str_replace('//', '/', self::$subfolders);
Please login to merge, or discard this patch.