Completed
Push — develop ( 8dee05 )
by Dmytro
20:08
created
core/vendor/tracy/tracy/examples/warning.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,5 +20,5 @@
 block discarded – undo
20 20
 
21 21
 
22 22
 if (Debugger::$productionMode) {
23
-	echo '<p><b>For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.</b></p>';
23
+    echo '<p><b>For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.</b></p>';
24 24
 }
Please login to merge, or discard this patch.
core/vendor/tracy/tracy/examples/firelogger.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -13,26 +13,26 @@
 block discarded – undo
13 13
 
14 14
 function first($arg1, $arg2)
15 15
 {
16
-	second(true, false);
16
+    second(true, false);
17 17
 }
18 18
 
19 19
 
20 20
 function second($arg1, $arg2)
21 21
 {
22
-	third([1, 2, 3]);
22
+    third([1, 2, 3]);
23 23
 }
24 24
 
25 25
 
26 26
 function third($arg1)
27 27
 {
28
-	throw new Exception('The my exception', 123);
28
+    throw new Exception('The my exception', 123);
29 29
 }
30 30
 
31 31
 
32 32
 try {
33
-	first(10, 'any string');
33
+    first(10, 'any string');
34 34
 } catch (Exception $e) {
35
-	Debugger::fireLog($e);
35
+    Debugger::fireLog($e);
36 36
 }
37 37
 
38 38
 ?>
Please login to merge, or discard this patch.
core/vendor/tracy/tracy/examples/redirect.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -13,9 +13,9 @@  discard block
 block discarded – undo
13 13
 
14 14
 
15 15
 if (empty($_GET['redirect'])) {
16
-	Debugger::barDump('before redirect');
17
-	header('Location: ' . $_SERVER['REQUEST_URI'] . '?&redirect=1');
18
-	exit;
16
+    Debugger::barDump('before redirect');
17
+    header('Location: ' . $_SERVER['REQUEST_URI'] . '?&redirect=1');
18
+    exit;
19 19
 }
20 20
 
21 21
 Debugger::barDump('after redirect');
@@ -28,5 +28,5 @@  discard block
 block discarded – undo
28 28
 
29 29
 <?php
30 30
 if (Debugger::$productionMode) {
31
-	echo '<p><b>For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.</b></p>';
31
+    echo '<p><b>For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.</b></p>';
32 32
 }
Please login to merge, or discard this patch.
core/vendor/tracy/tracy/examples/exception.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -17,34 +17,34 @@
 block discarded – undo
17 17
 
18 18
 class DemoClass
19 19
 {
20
-	public function first($arg1, $arg2)
21
-	{
22
-		$this->second(true, false);
23
-	}
20
+    public function first($arg1, $arg2)
21
+    {
22
+        $this->second(true, false);
23
+    }
24 24
 
25 25
 
26
-	public function second($arg1, $arg2)
27
-	{
28
-		self::third([1, 2, 3]);
29
-	}
26
+    public function second($arg1, $arg2)
27
+    {
28
+        self::third([1, 2, 3]);
29
+    }
30 30
 
31 31
 
32
-	public static function third($arg1)
33
-	{
34
-		throw new Exception('The my exception', 123);
35
-	}
32
+    public static function third($arg1)
33
+    {
34
+        throw new Exception('The my exception', 123);
35
+    }
36 36
 }
37 37
 
38 38
 
39 39
 function demo($a, $b)
40 40
 {
41
-	$demo = new DemoClass;
42
-	$demo->first($a, $b);
41
+    $demo = new DemoClass;
42
+    $demo->first($a, $b);
43 43
 }
44 44
 
45 45
 
46 46
 if (Debugger::$productionMode) {
47
-	echo '<p><b>For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.</b></p>';
47
+    echo '<p><b>For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.</b></p>';
48 48
 }
49 49
 
50 50
 demo(10, 'any string');
Please login to merge, or discard this patch.
core/vendor/tracy/tracy/examples/notice.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 
20 20
 function foo($from)
21 21
 {
22
-	echo $form;
22
+    echo $form;
23 23
 }
24 24
 
25 25
 
@@ -27,5 +27,5 @@  discard block
 block discarded – undo
27 27
 
28 28
 
29 29
 if (Debugger::$productionMode) {
30
-	echo '<p><b>For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.</b></p>';
30
+    echo '<p><b>For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.</b></p>';
31 31
 }
Please login to merge, or discard this patch.
core/vendor/tracy/tracy/examples/preloading.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -13,9 +13,9 @@  discard block
 block discarded – undo
13 13
 
14 14
 
15 15
 if (isset($_GET['sleep'])) {
16
-	header('Content-Type: application/javascript');
17
-	sleep(10);
18
-	exit;
16
+    header('Content-Type: application/javascript');
17
+    sleep(10);
18
+    exit;
19 19
 }
20 20
 
21 21
 ?>
@@ -31,5 +31,5 @@  discard block
 block discarded – undo
31 31
 <?php
32 32
 
33 33
 if (Debugger::$productionMode) {
34
-	echo '<p><b>For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.</b></p>';
34
+    echo '<p><b>For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.</b></p>';
35 35
 }
Please login to merge, or discard this patch.
core/vendor/tracy/tracy/examples/ajax.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -13,15 +13,15 @@  discard block
 block discarded – undo
13 13
 
14 14
 
15 15
 if (isset($_SERVER['HTTP_X_REQUESTED_WITH'])) { // AJAX request
16
-	Debugger::barDump('AJAX request');
17
-	if (!empty($_GET['error'])) {
18
-		this_is_fatal_error();
19
-	}
20
-	$data = [rand(), rand(), rand()];
21
-	header('Content-Type: application/json');
22
-	header('Cache-Control: no-cache');
23
-	echo json_encode($data);
24
-	exit;
16
+    Debugger::barDump('AJAX request');
17
+    if (!empty($_GET['error'])) {
18
+        this_is_fatal_error();
19
+    }
20
+    $data = [rand(), rand(), rand()];
21
+    header('Content-Type: application/json');
22
+    header('Cache-Control: no-cache');
23
+    echo json_encode($data);
24
+    exit;
25 25
 }
26 26
 
27 27
 Debugger::barDump('classic request');
@@ -71,5 +71,5 @@  discard block
 block discarded – undo
71 71
 <?php
72 72
 
73 73
 if (Debugger::$productionMode) {
74
-	echo '<p><b>For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.</b></p>';
74
+    echo '<p><b>For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.</b></p>';
75 75
 }
Please login to merge, or discard this patch.
core/vendor/tracy/tracy/examples/dump.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,11 +17,11 @@  discard block
 block discarded – undo
17 17
 
18 18
 class Test
19 19
 {
20
-	public $x = [10, null];
20
+    public $x = [10, null];
21 21
 
22
-	protected $z = 30;
22
+    protected $z = 30;
23 23
 
24
-	private $y = 'hello';
24
+    private $y = 'hello';
25 25
 }
26 26
 
27 27
 $arr = [10, 20.2, true, null, 'hello', (object) null, [], fopen(__FILE__, 'r')];
@@ -44,5 +44,5 @@  discard block
 block discarded – undo
44 44
 
45 45
 
46 46
 if (Debugger::$productionMode) {
47
-	echo '<p><b>For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.</b></p>';
47
+    echo '<p><b>For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.</b></p>';
48 48
 }
Please login to merge, or discard this patch.
core/vendor/tracy/tracy/examples/barDump.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,5 +26,5 @@
 block discarded – undo
26 26
 
27 27
 
28 28
 if (Debugger::$productionMode) {
29
-	echo '<p><b>For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.</b></p>';
29
+    echo '<p><b>For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.</b></p>';
30 30
 }
Please login to merge, or discard this patch.