@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | if (!empty($this->encryption)) { |
156 | 156 | if ($this->comments) { |
157 | 157 | $this->spacer() |
158 | - ->comment('Our PGP key'); |
|
158 | + ->comment('Our PGP key'); |
|
159 | 159 | } |
160 | 160 | |
161 | 161 | $this->line('Encryption: ' . trim($this->encryption)); |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | if (!empty($this->disclosure)) { |
165 | 165 | if ($this->comments) { |
166 | 166 | $this->spacer() |
167 | - ->comment('Our disclosure policy'); |
|
167 | + ->comment('Our disclosure policy'); |
|
168 | 168 | } |
169 | 169 | |
170 | 170 | $this->line('Disclosure: ' . trim(ucfirst($this->disclosure))); |
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | if (!empty($this->acknowledgement)) { |
174 | 174 | if ($this->comments) { |
175 | 175 | $this->spacer() |
176 | - ->comment('Our public acknowledgement'); |
|
176 | + ->comment('Our public acknowledgement'); |
|
177 | 177 | } |
178 | 178 | |
179 | 179 | $this->line('Acknowledgement: ' . trim($this->acknowledgement)); |
@@ -181,19 +181,19 @@ discard block |
||
181 | 181 | |
182 | 182 | if ($this->debug) { |
183 | 183 | $this->spacer() |
184 | - ->comment() |
|
185 | - ->comment( |
|
186 | - 'Generated by "' . (defined('LARAVEL_SECURITY_TXT_VERSION') ? 'laravel' : (defined('WORDPRESS_SECURITY_TXT_VERSION') ? 'wordpress' : 'php')) . '-security-txt"' . |
|
187 | - (defined('LARAVEL_SECURITY_TXT_VERSION') ? ' v' . LARAVEL_SECURITY_TXT_VERSION : (defined('WORDPRESS_SECURITY_TXT_VERSION') ? ' v' . WORDPRESS_SECURITY_TXT_VERSION : (defined('PHP_SECURITY_TXT_VERSION') ? ' v' . PHP_SECURITY_TXT_VERSION : ''))) . |
|
188 | - ' (https://github.com/austinheap/' . (defined('LARAVEL_SECURITY_TXT_VERSION') ? 'laravel' : (defined('WORDPRESS_SECURITY_TXT_VERSION') ? 'wordpress' : 'php')) . '-security-txt' . (defined('LARAVEL_SECURITY_TXT_VERSION') ? '/releases/tag/v' . LARAVEL_SECURITY_TXT_VERSION : (defined('WORDPRESS_SECURITY_TXT_VERSION') ? '/releases/tag/v' . WORDPRESS_SECURITY_TXT_VERSION : (defined('PHP_SECURITY_TXT_VERSION') ? '/releases/tag/v' . PHP_SECURITY_TXT_VERSION : ''))) . ')'); |
|
184 | + ->comment() |
|
185 | + ->comment( |
|
186 | + 'Generated by "' . (defined('LARAVEL_SECURITY_TXT_VERSION') ? 'laravel' : (defined('WORDPRESS_SECURITY_TXT_VERSION') ? 'wordpress' : 'php')) . '-security-txt"' . |
|
187 | + (defined('LARAVEL_SECURITY_TXT_VERSION') ? ' v' . LARAVEL_SECURITY_TXT_VERSION : (defined('WORDPRESS_SECURITY_TXT_VERSION') ? ' v' . WORDPRESS_SECURITY_TXT_VERSION : (defined('PHP_SECURITY_TXT_VERSION') ? ' v' . PHP_SECURITY_TXT_VERSION : ''))) . |
|
188 | + ' (https://github.com/austinheap/' . (defined('LARAVEL_SECURITY_TXT_VERSION') ? 'laravel' : (defined('WORDPRESS_SECURITY_TXT_VERSION') ? 'wordpress' : 'php')) . '-security-txt' . (defined('LARAVEL_SECURITY_TXT_VERSION') ? '/releases/tag/v' . LARAVEL_SECURITY_TXT_VERSION : (defined('WORDPRESS_SECURITY_TXT_VERSION') ? '/releases/tag/v' . WORDPRESS_SECURITY_TXT_VERSION : (defined('PHP_SECURITY_TXT_VERSION') ? '/releases/tag/v' . PHP_SECURITY_TXT_VERSION : ''))) . ')'); |
|
189 | 189 | if (defined('LARAVEL_SECURITY_TXT_VERSION') || defined('WORDPRESS_SECURITY_TXT_VERSION')) { |
190 | 190 | $this->comment( |
191 | 191 | 'using "php-security-txt"' . (defined('PHP_SECURITY_TXT_VERSION') ? ' v' . PHP_SECURITY_TXT_VERSION : '') . |
192 | 192 | ' (https://github.com/austinheap/php-security-txt' . (defined('PHP_SECURITY_TXT_VERSION') ? '/releases/tag/v' . PHP_SECURITY_TXT_VERSION : '') . ')'); |
193 | 193 | } |
194 | 194 | $this->comment('in ' . round((microtime(true) - $time) * 1000, 6) . ' seconds on ' . date('c') . '.') |
195 | - ->comment() |
|
196 | - ->spacer(); |
|
195 | + ->comment() |
|
196 | + ->spacer(); |
|
197 | 197 | } |
198 | 198 | |
199 | 199 | $output = implode(PHP_EOL, $this->lines); |