Skip to content

Commit d163430

Browse files
committed
Optimize imports and clean tabs
1 parent 89b9fc9 commit d163430

File tree

45 files changed

+1060
-1072
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1060
-1072
lines changed

composer.json

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
{
2-
"name": "featherbb/featherbb",
3-
"type": "project",
4-
"license": "GNU General Public Licence",
5-
"description": "Lighter than a feather.",
6-
"keywords": ["forum", "lightweight", "featherbb"],
7-
"homepage": "http://featherbb.org/",
8-
"authors": [{
9-
"name": "adaur",
10-
"role": "Project Leader"
11-
}, {
12-
"name": "capkokoon",
13-
"role": "Contributor"
14-
}, {
15-
"name": "beaver",
16-
"role": "Contributor"
17-
}],
18-
"autoload": {
2+
"name": "featherbb/featherbb",
3+
"type": "project",
4+
"license": "GNU General Public Licence",
5+
"description": "Lighter than a feather.",
6+
"keywords": ["forum", "lightweight", "featherbb"],
7+
"homepage": "http://featherbb.org/",
8+
"authors": [{
9+
"name": "adaur",
10+
"role": "Project Leader"
11+
}, {
12+
"name": "capkokoon",
13+
"role": "Contributor"
14+
}, {
15+
"name": "beaver",
16+
"role": "Contributor"
17+
}],
18+
"autoload": {
1919
"classmap": ["featherbb/Core/pomo/MO.php"],
20-
"psr-4": {
21-
"Plugins\\": "plugins/",
22-
"FeatherBB\\": "featherbb/",
23-
"": ""
24-
}
25-
},
26-
"require": {
27-
"php": ">=5.3",
28-
"slim/slim": "^2.6"
29-
},
30-
"support": {
31-
"email": "[email protected]",
32-
"issues": "https://github.com/featherbb/featherbb/issues"
33-
}
20+
"psr-4": {
21+
"Plugins\\": "plugins/",
22+
"FeatherBB\\": "featherbb/",
23+
"": ""
24+
}
25+
},
26+
"require": {
27+
"php": ">=5.3",
28+
"slim/slim": "^2.6"
29+
},
30+
"support": {
31+
"email": "[email protected]",
32+
"issues": "https://github.com/featherbb/featherbb/issues"
33+
}
3434
}

extern.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@
5656
-----------------------------------------------------------------------------*/
5757

5858
namespace FeatherBB;
59-
use FeatherBB\Core\DB;
6059
use FeatherBB\Core\Cache;
60+
use FeatherBB\Core\DB;
6161
use FeatherBB\Core\Url;
6262
use FeatherBB\Core\Utils;
6363

featherbb/Controller/Admin/Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function display()
8383
case 1: // case 1 similar to case 2 so fall through...
8484
case 2: throw new Error($lang_admin_parser['upload_err_2'], 400); // File exceeds MAX_FILE_SIZE.
8585
case 3: throw new Error($lang_admin_parser['upload_err_5'], 400); // File only partially uploaded.
86-
// case 4: break; // No error. Normal response when this form element left empty
86+
// case 4: break; // No error. Normal response when this form element left empty
8787
case 4: throw new Error($lang_admin_parser['upload_err_6'], 400); // No filename.
8888
case 6: throw new Error($lang_admin_parser['upload_err_7'], 500); // No temp folder.
8989
case 7: throw new Error($lang_admin_parser['upload_err_8'], 500); // Cannot write to disk.

featherbb/Controller/Admin/Plugins.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
namespace FeatherBB\Controller\Admin;
1111

1212
use FeatherBB\Core\AdminUtils;
13-
use FeatherBB\Core\Lister;
1413
use FeatherBB\Core\Error;
15-
use FeatherBB\Core\Utils;
14+
use FeatherBB\Core\Lister;
1615
use FeatherBB\Core\Url;
16+
use FeatherBB\Core\Utils;
1717

1818
class Plugins
1919
{

featherbb/Controller/Admin/Reports.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
namespace FeatherBB\Controller\Admin;
1111

1212
use FeatherBB\Core\AdminUtils;
13-
use FeatherBB\Core\Utils;
1413
use FeatherBB\Core\Url;
14+
use FeatherBB\Core\Utils;
1515

1616
class Reports
1717
{

featherbb/Controller/Forum.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99

1010
namespace FeatherBB\Controller;
1111

12-
use FeatherBB\Core\Url;
13-
use FeatherBB\Core\Utils;
1412
use FeatherBB\Core\Error;
1513
use FeatherBB\Core\Track;
14+
use FeatherBB\Core\Url;
15+
use FeatherBB\Core\Utils;
1616

1717
class Forum
1818
{

featherbb/Controller/Index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99

1010
namespace FeatherBB\Controller;
1111

12+
use FeatherBB\Core\Error;
1213
use FeatherBB\Core\Track;
1314
use FeatherBB\Core\Url;
1415
use FeatherBB\Core\Utils;
15-
use FeatherBB\Core\Error;
1616
use FeatherBB\Model\Auth;
1717

1818
class Index

featherbb/Controller/Install.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99

1010
namespace FeatherBB\Controller;
1111

12-
use FeatherBB\Core\Url;
13-
use FeatherBB\Core\Utils;
1412
use FeatherBB\Core\Lister;
1513
use FeatherBB\Core\Random;
14+
use FeatherBB\Core\Url;
15+
use FeatherBB\Core\Utils;
1616
use FeatherBB\Middleware\Core;
1717

1818
class Install

featherbb/Controller/Topic.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99

1010
namespace FeatherBB\Controller;
1111

12+
use FeatherBB\Core\Error;
1213
use FeatherBB\Core\Track;
1314
use FeatherBB\Core\Url;
1415
use FeatherBB\Core\Utils;
15-
use FeatherBB\Core\Error;
1616

1717
class Topic
1818
{

featherbb/Core/DB.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@
3838
*/
3939

4040
namespace FeatherBB\Core;
41-
use FeatherBB\Core\Error;
4241
use ArrayAccess;
4342
use ArrayIterator;
4443
use Countable;
4544
use IteratorAggregate;
46-
use Serializable;
4745
use PDO;
48-
{
46+
use Serializable;
47+
48+
{
4949

5050
class DB implements ArrayAccess
5151
{

0 commit comments

Comments
 (0)