Skip to content

Commit 0194f85

Browse files
Whitespace cleanup
1 parent e4f9adb commit 0194f85

File tree

11 files changed

+13
-13
lines changed

11 files changed

+13
-13
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ A contribution must follow the following guidelines:
1313
- Docs must be updated for new features
1414
- Changelog must be updated (bug fix are not required to be added to the changelog)
1515
- ensure that examples in demo/ folder are still working
16-
16+
1717
Javascript code convention:
1818

1919
- based on: http://javascript.crockford.com/code.html

docs/data_collectors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,4 @@ Example:
107107
'js' => 'widgets/sqlqueries/widget.js'
108108
);
109109
}
110-
}
110+
}

docs/data_formatter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ format data.
66
The default instance is `DebugBar\DataFormatter\DataFormatter`. This can be modified
77
using `DebugBar\DataCollector\DataCollector::setDefaultDataFormatter()`.
88

9-
You can use a custom formater for each collector using `DataCollector::setDataFormatter()`.
9+
You can use a custom formater for each collector using `DataCollector::setDataFormatter()`.

src/DebugBar/Bridge/SwiftMailer/SwiftMailCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function collect()
5050
protected function formatTo($to)
5151
{
5252
if (!$to) return '';
53-
53+
5454
$f = array();
5555
foreach ($to as $k => $v) {
5656
$f[] = (empty($v) ? '' : "$v ") . "<$k>";

src/DebugBar/DataCollector/LocalizationCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ public function getWidgets()
6363
)
6464
);
6565
}
66-
}
66+
}

src/DebugBar/DataFormatter/DataFormatter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function formatBytes($size, $precision = 2)
3636
$suffixes = array('B', 'KB', 'MB', 'GB', 'TB');
3737
return round(pow(1024, $base - floor($base)), $precision) . $suffixes[floor($base)];
3838
}
39-
39+
4040
/**
4141
* lightweight version of Kint::dump(). Uses whitespace for formatting instead of html
4242
* sadly not DRY yet
@@ -170,4 +170,4 @@ protected function kintLite(&$var, $level = 0)
170170
return gettype( $var ) . htmlspecialchars( var_export( $var, true ), ENT_NOQUOTES );
171171
}
172172
}
173-
}
173+
}

src/DebugBar/DataFormatter/DataFormatterInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ function formatDuration($seconds);
3939
* @return string
4040
*/
4141
function formatBytes($size, $precision = 2);
42-
}
42+
}

src/DebugBar/DebugBar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ public function collect()
214214
foreach ($this->collectors as $name => $collector) {
215215
$this->data[$name] = $collector->collect();
216216
}
217-
217+
218218
// Remove all invalid (non UTF-8) characters
219219
array_walk_recursive($this->data, function(&$item){
220220
if (is_string($item) && !mb_check_encoding($item, 'UTF-8')) {

src/DebugBar/JavascriptRenderer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -768,9 +768,9 @@ public function replaceTagInBuffer($here = true, $initialize = true, $renderStac
768768

769769
/**
770770
* Returns the code needed to display the debug bar
771-
*
771+
*
772772
* AJAX request should not render the initialization code.
773-
*
773+
*
774774
* @param boolean $initialize Whether to render the de bug bar initialization code
775775
* @return string
776776
*/

src/DebugBar/Storage/MemcachedStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,4 @@ protected function createKey($id)
8888
{
8989
return md5("{$this->keyNamespace}.$id");
9090
}
91-
}
91+
}

0 commit comments

Comments
 (0)