@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -require_once __DIR__ . '/ApiFilter.php'; |
|
3 | +require_once __DIR__.'/ApiFilter.php'; |
|
4 | 4 | |
5 | 5 | use allejo\Sami\ApiFilter; |
6 | 6 | use Sami\RemoteRepository\GitHubRemoteRepository; |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | $iterator = Finder::create() |
12 | 12 | ->files() |
13 | 13 | ->name('*.php') |
14 | - ->in($dir = __DIR__ . '/../src') |
|
14 | + ->in($dir = __DIR__.'/../src') |
|
15 | 15 | ; |
16 | 16 | |
17 | 17 | // generate documentation for all 0.* branches and the master branch |
@@ -24,8 +24,8 @@ discard block |
||
24 | 24 | $sami = new Sami($iterator, array( |
25 | 25 | 'versions' => $versions, |
26 | 26 | 'title' => 'PhpSoda API', |
27 | - 'build_dir' => __DIR__ . '/api/build/PhpSoda/%version%', |
|
28 | - 'cache_dir' => __DIR__ . '/api/cache/PhpSoda/%version%', |
|
27 | + 'build_dir' => __DIR__.'/api/build/PhpSoda/%version%', |
|
28 | + 'cache_dir' => __DIR__.'/api/cache/PhpSoda/%version%', |
|
29 | 29 | 'remote_repository' => new GitHubRemoteRepository('allejo/PhpSoda', dirname($dir)), |
30 | 30 | 'default_opened_level' => 2, |
31 | 31 | )); |
@@ -34,7 +34,8 @@ |
||
34 | 34 | * Include this section if you want sami to document |
35 | 35 | * private and protected functions/properties |
36 | 36 | */ |
37 | -$sami['filter'] = function () { |
|
37 | +$sami['filter'] = function () |
|
38 | +{ |
|
38 | 39 | return new ApiFilter(); |
39 | 40 | }; |
40 | 41 |