|
@@ -63,7 +63,7 @@ discard block |
|
|
block discarded – undo |
|
63
|
63
|
|
|
64
|
64
|
public function check_documentation_site_has_an_index_page(Result $result): Result |
|
65
|
65
|
{ |
|
66
|
|
- if (! Features::hasDocumentationPages()) { |
|
|
66
|
+ if (!Features::hasDocumentationPages()) { |
|
67
|
67
|
return $result->skip('Does documentation site have an index page?') |
|
68
|
68
|
->withTip('Skipped because: The documentation page feature is disabled in config'); |
|
69
|
69
|
} |
|
@@ -108,7 +108,7 @@ discard block |
|
|
block discarded – undo |
|
108
|
108
|
|
|
109
|
109
|
public function check_a_torchlight_api_token_is_set(Result $result): Result |
|
110
|
110
|
{ |
|
111
|
|
- if (! Features::enabled(Features::torchlight())) { |
|
|
111
|
+ if (!Features::enabled(Features::torchlight())) { |
|
112
|
112
|
return $result->skip('Check a Torchlight API token is set') |
|
113
|
113
|
->withTip('Torchlight is an API for code syntax highlighting. You can enable it in the Hyde config.'); |
|
114
|
114
|
} |
Please login to merge, or discard this patch.