@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | - /* |
|
3 | + /* |
|
4 | 4 | |-------------------------------------------------------------------------- |
5 | 5 | | Torchlight |
6 | 6 | |-------------------------------------------------------------------------- |
@@ -57,13 +57,13 @@ |
||
57 | 57 | view()->share('currentPage', ''); |
58 | 58 | |
59 | 59 | $this->assertStringContainsString('foo bar', |
60 | - Blade::render(' |
|
60 | + Blade::render(' |
|
61 | 61 | @push("styles") |
62 | 62 | foo bar |
63 | 63 | @endpush |
64 | 64 | |
65 | 65 | @include("hyde::layouts.styles")' |
66 | - ) |
|
66 | + ) |
|
67 | 67 | ); |
68 | 68 | } |
69 | 69 |
@@ -107,7 +107,7 @@ |
||
107 | 107 | { |
108 | 108 | if (! Features::enabled(Features::torchlight())) { |
109 | 109 | return $result->skip('Check a Torchlight API token is set') |
110 | - ->withTip('Torchlight is an API for code syntax highlighting. You can enable it in the Hyde config.'); |
|
110 | + ->withTip('Torchlight is an API for code syntax highlighting. You can enable it in the Hyde config.'); |
|
111 | 111 | } |
112 | 112 | |
113 | 113 | if (config('torchlight.token') !== null) { |
@@ -57,13 +57,13 @@ |
||
57 | 57 | view()->share('currentPage', ''); |
58 | 58 | |
59 | 59 | $this->assertStringContainsString('foo bar', |
60 | - Blade::render(' |
|
60 | + Blade::render(' |
|
61 | 61 | @push("scripts") |
62 | 62 | foo bar |
63 | 63 | @endpush |
64 | 64 | |
65 | 65 | @include("hyde::layouts.scripts")' |
66 | - ) |
|
66 | + ) |
|
67 | 67 | ); |
68 | 68 | } |
69 | 69 | } |
@@ -277,7 +277,7 @@ discard block |
||
277 | 277 | <?php |
278 | 278 | $documentation = DiscoveryService::getDocumentationPageList(); |
279 | 279 | $posts = DiscoveryService::getMarkdownPostList(); |
280 | - ?> |
|
280 | + ?> |
|
281 | 281 | <h3 class="h5">Your Pages</h3> |
282 | 282 | <table class="table"> |
283 | 283 | <thead class="table-secondary"> |
@@ -379,7 +379,7 @@ discard block |
||
379 | 379 | return file_get_contents($this->filepath); |
380 | 380 | } |
381 | 381 | }; |
382 | - ?> |
|
382 | + ?> |
|
383 | 383 | |
384 | 384 | <section class="col-12 col-xl-10 col-xxl-8"> |
385 | 385 | <h3 class="h6 my-3">Showing file <code><?= e($editor->contentpath) ?></code></h3> |
@@ -456,10 +456,10 @@ discard block |
||
456 | 456 | |
457 | 457 | <?php |
458 | 458 | } catch (\Throwable $th) { |
459 | - echo '<h1>Error</h1>'; |
|
460 | - echo '<p>An error occurred while processing your request.</p>'; |
|
461 | - echo '<pre><code>'.$th->getMessage().'</code></pre>'; |
|
462 | - echo '<p>Extra information:</p>'; |
|
463 | - echo '<pre><code>'.$th->getTraceAsString().print_r($th, true).'</code></pre>'; |
|
464 | - exit($th->getCode()); |
|
465 | - } |
|
459 | + echo '<h1>Error</h1>'; |
|
460 | + echo '<p>An error occurred while processing your request.</p>'; |
|
461 | + echo '<pre><code>'.$th->getMessage().'</code></pre>'; |
|
462 | + echo '<p>Extra information:</p>'; |
|
463 | + echo '<pre><code>'.$th->getTraceAsString().print_r($th, true).'</code></pre>'; |
|
464 | + exit($th->getCode()); |
|
465 | + } |