Passed
Push — master ( 52ecf5...abf332 )
by Nikolaos
02:34
created
src/Http/Message/Response.php 1 patch
Spacing   +83 added lines, -83 removed lines patch added patch discarded remove patch
@@ -156,93 +156,93 @@
 block discarded – undo
156 156
     private function getPhrases(): array
157 157
     {
158 158
         return [
159
-            100 => "Continue",                                         // Information - RFC 7231, 6.2.1
160
-            101 => "Switching Protocols",                              // Information - RFC 7231, 6.2.2
161
-            102 => "Processing",                                       // Information - RFC 2518, 10.1
159
+            100 => "Continue", // Information - RFC 7231, 6.2.1
160
+            101 => "Switching Protocols", // Information - RFC 7231, 6.2.2
161
+            102 => "Processing", // Information - RFC 2518, 10.1
162 162
             103 => "Early Hints",
163
-            200 => "OK",                                               // Success - RFC 7231, 6.3.1
164
-            201 => "Created",                                          // Success - RFC 7231, 6.3.2
165
-            202 => "Accepted",                                         // Success - RFC 7231, 6.3.3
166
-            203 => "Non-Authoritative Information",                    // Success - RFC 7231, 6.3.4
167
-            204 => "No Content",                                       // Success - RFC 7231, 6.3.5
168
-            205 => "Reset Content",                                    // Success - RFC 7231, 6.3.6
169
-            206 => "Partial Content",                                  // Success - RFC 7233, 4.1
170
-            207 => "Multi-status",                                     // Success - RFC 4918, 11.1
171
-            208 => "Already Reported",                                 // Success - RFC 5842, 7.1
172
-            218 => "This is fine",                                     // Unofficial - Apache Web Server
173
-            419 => "Page Expired",                                     // Unofficial - Laravel Framework
174
-            226 => "IM Used",                                          // Success - RFC 3229, 10.4.1
175
-            300 => "Multiple Choices",                                 // Redirection - RFC 7231, 6.4.1
176
-            301 => "Moved Permanently",                                // Redirection - RFC 7231, 6.4.2
177
-            302 => "Found",                                            // Redirection - RFC 7231, 6.4.3
178
-            303 => "See Other",                                        // Redirection - RFC 7231, 6.4.4
179
-            304 => "Not Modified",                                     // Redirection - RFC 7232, 4.1
180
-            305 => "Use Proxy",                                        // Redirection - RFC 7231, 6.4.5
181
-            306 => "Switch Proxy",                                     // Redirection - RFC 7231, 6.4.6 (Deprecated)
182
-            307 => "Temporary Redirect",                               // Redirection - RFC 7231, 6.4.7
183
-            308 => "Permanent Redirect",                               // Redirection - RFC 7538, 3
184
-            400 => "Bad Request",                                      // Client Error - RFC 7231, 6.5.1
185
-            401 => "Unauthorized",                                     // Client Error - RFC 7235, 3.1
186
-            402 => "Payment Required",                                 // Client Error - RFC 7231, 6.5.2
187
-            403 => "Forbidden",                                        // Client Error - RFC 7231, 6.5.3
188
-            404 => "Not Found",                                        // Client Error - RFC 7231, 6.5.4
189
-            405 => "Method Not Allowed",                               // Client Error - RFC 7231, 6.5.5
190
-            406 => "Not Acceptable",                                   // Client Error - RFC 7231, 6.5.6
191
-            407 => "Proxy Authentication Required",                    // Client Error - RFC 7235, 3.2
192
-            408 => "Request Time-out",                                 // Client Error - RFC 7231, 6.5.7
193
-            409 => "Conflict",                                         // Client Error - RFC 7231, 6.5.8
194
-            410 => "Gone",                                             // Client Error - RFC 7231, 6.5.9
195
-            411 => "Length Required",                                  // Client Error - RFC 7231, 6.5.10
196
-            412 => "Precondition Failed",                              // Client Error - RFC 7232, 4.2
197
-            413 => "Request Entity Too Large",                         // Client Error - RFC 7231, 6.5.11
198
-            414 => "Request-URI Too Large",                            // Client Error - RFC 7231, 6.5.12
199
-            415 => "Unsupported Media Type",                           // Client Error - RFC 7231, 6.5.13
200
-            416 => "Requested range not satisfiable",                  // Client Error - RFC 7233, 4.4
201
-            417 => "Expectation Failed",                               // Client Error - RFC 7231, 6.5.14
202
-            418 => "I'm a teapot",                                     // Client Error - RFC 7168, 2.3.3
203
-            420 => "Method Failure",                                   // Unofficial - Spring Framework
163
+            200 => "OK", // Success - RFC 7231, 6.3.1
164
+            201 => "Created", // Success - RFC 7231, 6.3.2
165
+            202 => "Accepted", // Success - RFC 7231, 6.3.3
166
+            203 => "Non-Authoritative Information", // Success - RFC 7231, 6.3.4
167
+            204 => "No Content", // Success - RFC 7231, 6.3.5
168
+            205 => "Reset Content", // Success - RFC 7231, 6.3.6
169
+            206 => "Partial Content", // Success - RFC 7233, 4.1
170
+            207 => "Multi-status", // Success - RFC 4918, 11.1
171
+            208 => "Already Reported", // Success - RFC 5842, 7.1
172
+            218 => "This is fine", // Unofficial - Apache Web Server
173
+            419 => "Page Expired", // Unofficial - Laravel Framework
174
+            226 => "IM Used", // Success - RFC 3229, 10.4.1
175
+            300 => "Multiple Choices", // Redirection - RFC 7231, 6.4.1
176
+            301 => "Moved Permanently", // Redirection - RFC 7231, 6.4.2
177
+            302 => "Found", // Redirection - RFC 7231, 6.4.3
178
+            303 => "See Other", // Redirection - RFC 7231, 6.4.4
179
+            304 => "Not Modified", // Redirection - RFC 7232, 4.1
180
+            305 => "Use Proxy", // Redirection - RFC 7231, 6.4.5
181
+            306 => "Switch Proxy", // Redirection - RFC 7231, 6.4.6 (Deprecated)
182
+            307 => "Temporary Redirect", // Redirection - RFC 7231, 6.4.7
183
+            308 => "Permanent Redirect", // Redirection - RFC 7538, 3
184
+            400 => "Bad Request", // Client Error - RFC 7231, 6.5.1
185
+            401 => "Unauthorized", // Client Error - RFC 7235, 3.1
186
+            402 => "Payment Required", // Client Error - RFC 7231, 6.5.2
187
+            403 => "Forbidden", // Client Error - RFC 7231, 6.5.3
188
+            404 => "Not Found", // Client Error - RFC 7231, 6.5.4
189
+            405 => "Method Not Allowed", // Client Error - RFC 7231, 6.5.5
190
+            406 => "Not Acceptable", // Client Error - RFC 7231, 6.5.6
191
+            407 => "Proxy Authentication Required", // Client Error - RFC 7235, 3.2
192
+            408 => "Request Time-out", // Client Error - RFC 7231, 6.5.7
193
+            409 => "Conflict", // Client Error - RFC 7231, 6.5.8
194
+            410 => "Gone", // Client Error - RFC 7231, 6.5.9
195
+            411 => "Length Required", // Client Error - RFC 7231, 6.5.10
196
+            412 => "Precondition Failed", // Client Error - RFC 7232, 4.2
197
+            413 => "Request Entity Too Large", // Client Error - RFC 7231, 6.5.11
198
+            414 => "Request-URI Too Large", // Client Error - RFC 7231, 6.5.12
199
+            415 => "Unsupported Media Type", // Client Error - RFC 7231, 6.5.13
200
+            416 => "Requested range not satisfiable", // Client Error - RFC 7233, 4.4
201
+            417 => "Expectation Failed", // Client Error - RFC 7231, 6.5.14
202
+            418 => "I'm a teapot", // Client Error - RFC 7168, 2.3.3
203
+            420 => "Method Failure", // Unofficial - Spring Framework
204 204
             421 => "Misdirected Request",
205
-            422 => "Unprocessable Entity",                             // Client Error - RFC 4918, 11.2
206
-            423 => "Locked",                                           // Client Error - RFC 4918, 11.3
207
-            424 => "Failed Dependency",                                // Client Error - RFC 4918, 11.4
205
+            422 => "Unprocessable Entity", // Client Error - RFC 4918, 11.2
206
+            423 => "Locked", // Client Error - RFC 4918, 11.3
207
+            424 => "Failed Dependency", // Client Error - RFC 4918, 11.4
208 208
             425 => "Unordered Collection",
209
-            426 => "Upgrade Required",                                 // Client Error - RFC 7231, 6.5.15
210
-            428 => "Precondition Required",                            // Client Error - RFC 6585, 3
211
-            429 => "Too Many Requests",                                // Client Error - RFC 6585, 4
212
-            431 => "Request Header Fields Too Large",                  // Client Error - RFC 6585, 5
213
-            440 => "Login Time-out",                                   // Unofficial - IIS
214
-            444 => "No Response",                                      // Unofficial - nginx
215
-            449 => "Retry With",                                       // Unofficial - IIS
216
-            494 => "Request header too large",                         // Unofficial - nginx
217
-            495 => "SSL Certificate Error",                            // Unofficial - nginx
218
-            496 => "SSL Certificate Required",                         // Unofficial - nginx
219
-            497 => "HTTP Request Sent to HTTPS Port",                  // Unofficial - nginx
220
-            499 => "Client Closed Request",                            // Unofficial - nginx
209
+            426 => "Upgrade Required", // Client Error - RFC 7231, 6.5.15
210
+            428 => "Precondition Required", // Client Error - RFC 6585, 3
211
+            429 => "Too Many Requests", // Client Error - RFC 6585, 4
212
+            431 => "Request Header Fields Too Large", // Client Error - RFC 6585, 5
213
+            440 => "Login Time-out", // Unofficial - IIS
214
+            444 => "No Response", // Unofficial - nginx
215
+            449 => "Retry With", // Unofficial - IIS
216
+            494 => "Request header too large", // Unofficial - nginx
217
+            495 => "SSL Certificate Error", // Unofficial - nginx
218
+            496 => "SSL Certificate Required", // Unofficial - nginx
219
+            497 => "HTTP Request Sent to HTTPS Port", // Unofficial - nginx
220
+            499 => "Client Closed Request", // Unofficial - nginx
221 221
             450 => "Blocked by Windows Parental Controls (Microsoft)", // Unofficial - nginx
222
-            451 => "Unavailable For Legal Reasons",                    // Client Error - RFC 7725, 3
223
-            498 => "Invalid Token (Esri)",                             // Unofficial - ESRI
224
-            500 => "Internal Server Error",                            // Server Error - RFC 7231, 6.6.1
225
-            501 => "Not Implemented",                                  // Server Error - RFC 7231, 6.6.2
226
-            502 => "Bad Gateway",                                      // Server Error - RFC 7231, 6.6.3
227
-            503 => "Service Unavailable",                              // Server Error - RFC 7231, 6.6.4
228
-            504 => "Gateway Time-out",                                 // Server Error - RFC 7231, 6.6.5
229
-            505 => "HTTP Version not supported",                       // Server Error - RFC 7231, 6.6.6
230
-            506 => "Variant Also Negotiates",                          // Server Error - RFC 2295, 8.1
231
-            507 => "Insufficient Storage",                             // Server Error - RFC 4918, 11.5
232
-            508 => "Loop Detected",                                    // Server Error - RFC 5842, 7.2
233
-            509 => "Bandwidth Limit Exceeded",                         // Unofficial - Apache/cPanel
234
-            510 => "Not Extended",                                     // Server Error - RFC 2774, 7
235
-            511 => "Network Authentication Required",                  // Server Error - RFC 6585, 6
236
-            520 => "Unknown Error",                                    // Unofficial - Cloudflare
237
-            521 => "Web Server Is Down",                               // Unofficial - Cloudflare
238
-            522 => "Connection Timed Out",                             // Unofficial - Cloudflare
239
-            523 => "Origin Is Unreachable",                            // Unofficial - Cloudflare
240
-            524 => "A Timeout Occurred",                               // Unofficial - Cloudflare
241
-            525 => "SSL Handshake Failed",                             // Unofficial - Cloudflare
242
-            526 => "Invalid SSL Certificate",                          // Unofficial - Cloudflare
243
-            527 => "Railgun Error",                                    // Unofficial - Cloudflare
244
-            530 => "Origin DNS Error",                                 // Unofficial - Cloudflare
245
-            598 => "Network read timeout error",                       // Unofficial
222
+            451 => "Unavailable For Legal Reasons", // Client Error - RFC 7725, 3
223
+            498 => "Invalid Token (Esri)", // Unofficial - ESRI
224
+            500 => "Internal Server Error", // Server Error - RFC 7231, 6.6.1
225
+            501 => "Not Implemented", // Server Error - RFC 7231, 6.6.2
226
+            502 => "Bad Gateway", // Server Error - RFC 7231, 6.6.3
227
+            503 => "Service Unavailable", // Server Error - RFC 7231, 6.6.4
228
+            504 => "Gateway Time-out", // Server Error - RFC 7231, 6.6.5
229
+            505 => "HTTP Version not supported", // Server Error - RFC 7231, 6.6.6
230
+            506 => "Variant Also Negotiates", // Server Error - RFC 2295, 8.1
231
+            507 => "Insufficient Storage", // Server Error - RFC 4918, 11.5
232
+            508 => "Loop Detected", // Server Error - RFC 5842, 7.2
233
+            509 => "Bandwidth Limit Exceeded", // Unofficial - Apache/cPanel
234
+            510 => "Not Extended", // Server Error - RFC 2774, 7
235
+            511 => "Network Authentication Required", // Server Error - RFC 6585, 6
236
+            520 => "Unknown Error", // Unofficial - Cloudflare
237
+            521 => "Web Server Is Down", // Unofficial - Cloudflare
238
+            522 => "Connection Timed Out", // Unofficial - Cloudflare
239
+            523 => "Origin Is Unreachable", // Unofficial - Cloudflare
240
+            524 => "A Timeout Occurred", // Unofficial - Cloudflare
241
+            525 => "SSL Handshake Failed", // Unofficial - Cloudflare
242
+            526 => "Invalid SSL Certificate", // Unofficial - Cloudflare
243
+            527 => "Railgun Error", // Unofficial - Cloudflare
244
+            530 => "Origin DNS Error", // Unofficial - Cloudflare
245
+            598 => "Network read timeout error", // Unofficial
246 246
             599 => "Network Connect Timeout Error"                     // Server Error - RFC 6585, 6
247 247
         ];
248 248
     }
Please login to merge, or discard this patch.