|
@@ -76,7 +76,7 @@ discard block |
|
|
block discarded – undo |
|
76
|
76
|
|
|
77
|
77
|
public function check_documentation_site_has_an_index_page(Result $result): Result |
|
78
|
78
|
{ |
|
79
|
|
- if (! Features::hasDocumentationPages()) { |
|
|
79
|
+ if (!Features::hasDocumentationPages()) { |
|
80
|
80
|
return $result->skip('Does documentation site have an index page?') |
|
81
|
81
|
->withTip('Skipped because: The documentation page feature is disabled in config'); |
|
82
|
82
|
} |
|
@@ -122,7 +122,7 @@ discard block |
|
|
block discarded – undo |
|
122
|
122
|
|
|
123
|
123
|
public function check_a_torchlight_api_token_is_set(Result $result): Result |
|
124
|
124
|
{ |
|
125
|
|
- if (! Features::enabled(Feature::Torchlight)) { |
|
|
125
|
+ if (!Features::enabled(Feature::Torchlight)) { |
|
126
|
126
|
return $result->skip('Check a Torchlight API token is set') |
|
127
|
127
|
->withTip('Torchlight is an API for code syntax highlighting. You can enable it in the Hyde config.'); |
|
128
|
128
|
} |
Please login to merge, or discard this patch.