Skip to content

Commit 4f0a6bc

Browse files
committed
Whitespace fixes in lib/autoload.php.
* Use four spaces for indentation of "if" statements. * Add a space between parenthesis and braces, e.g. if (foo) {... * Remove spaces around the string concatenation operator (dot). This is consistent with its usage in Redmine/Client.php.
1 parent 1622985 commit 4f0a6bc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/autoload.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@
1616
* we look here first, so that we don't waste time searching for
1717
* test classes in the common case.
1818
*/
19-
$path = dirname(__FILE__) . '/' . $class . '.php';
20-
if (file_exists($path)){
21-
require_once($path);
19+
$path = dirname(__FILE__).'/'.$class.'.php';
20+
if (file_exists($path)) {
21+
require_once($path);
2222
}
2323

2424
/* If we didn't find what we're looking for already, maybe it's
2525
* a test class?
2626
*/
27-
$path = dirname(__FILE__) . '/../test/' . $class . '.php';
28-
if (file_exists($path)){
29-
require_once($path);
27+
$path = dirname(__FILE__).'/../test/'.$class.'.php';
28+
if (file_exists($path)) {
29+
require_once($path);
3030
}
3131
});

0 commit comments

Comments
 (0)