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