Passed
Branch master (4e0786)
by Gino
06:36
created
Category
src/NanoHttpStatusInterface.php 1 patch
Spacing   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -18,65 +18,65 @@
 block discarded – undo
18 18
      */
19 19
     const HTTP_CONTINUE = 100;
20 20
     const HTTP_SWITCHING_PROTOCOLS = 101;
21
-    const HTTP_PROCESSING = 102;                        // RFC2518
22
-    const HTTP_EARLY_HINTS = 103;                       // RFC-ietf-httpbis-early-hints-05
21
+    const HTTP_PROCESSING = 102; // RFC2518
22
+    const HTTP_EARLY_HINTS = 103; // RFC-ietf-httpbis-early-hints-05
23 23
     const HTTP_OK = 200;
24 24
     const HTTP_CREATED = 201;
25 25
     const HTTP_ACCEPTED = 202;
26 26
     const HTTP_NON_AUTHORITATIVE_INFORMATION = 203;
27 27
     const HTTP_NO_CONTENT = 204;
28 28
     const HTTP_RESET_CONTENT = 205;
29
-    const HTTP_PARTIAL_CONTENT = 206;                   // RFC7233
30
-    const HTTP_MULTI_STATUS = 207;                      // RFC4918
31
-    const HTTP_ALREADY_REPORTED = 208;                  // RFC5842
32
-    const HTTP_IM_USED = 226;                           // RFC3229
29
+    const HTTP_PARTIAL_CONTENT = 206; // RFC7233
30
+    const HTTP_MULTI_STATUS = 207; // RFC4918
31
+    const HTTP_ALREADY_REPORTED = 208; // RFC5842
32
+    const HTTP_IM_USED = 226; // RFC3229
33 33
     const HTTP_MULTIPLE_CHOICES = 300;
34 34
     const HTTP_MOVED_PERMANENTLY = 301;
35 35
     const HTTP_FOUND = 302;
36 36
     const HTTP_SEE_OTHER = 303;
37
-    const HTTP_NOT_MODIFIED = 304;                      // RFC7232
37
+    const HTTP_NOT_MODIFIED = 304; // RFC7232
38 38
     const HTTP_USE_PROXY = 305;
39 39
     const HTTP_TEMPORARY_REDIRECT = 307;
40
-    const HTTP_PERMANENTLY_REDIRECT = 308;              // RFC7238
40
+    const HTTP_PERMANENTLY_REDIRECT = 308; // RFC7238
41 41
     const HTTP_BAD_REQUEST = 400;
42
-    const HTTP_UNAUTHORIZED = 401;                      // RFC7235
42
+    const HTTP_UNAUTHORIZED = 401; // RFC7235
43 43
     const HTTP_PAYMENT_REQUIRED = 402;
44 44
     const HTTP_FORBIDDEN = 403;
45 45
     const HTTP_NOT_FOUND = 404;
46 46
     const HTTP_METHOD_NOT_ALLOWED = 405;
47 47
     const HTTP_NOT_ACCEPTABLE = 406;
48
-    const HTTP_PROXY_AUTHENTICATION_REQUIRED = 407;     //RFC7235
48
+    const HTTP_PROXY_AUTHENTICATION_REQUIRED = 407; //RFC7235
49 49
     const HTTP_REQUEST_TIMEOUT = 408;
50 50
     const HTTP_CONFLICT = 409;
51 51
     const HTTP_GONE = 410;
52 52
     const HTTP_LENGTH_REQUIRED = 411;
53
-    const HTTP_PRECONDITION_FAILED = 412;               //RFC7232
53
+    const HTTP_PRECONDITION_FAILED = 412; //RFC7232
54 54
     const HTTP_PAYLOAD_TOO_LARGE = 413;
55 55
     const HTTP_URI_TOO_LONG = 414;
56 56
     const HTTP_UNSUPPORTED_MEDIA_TYPE = 415;
57
-    const HTTP_RANGE_NOT_SATISFIABLE = 416;             //RFC7233
57
+    const HTTP_RANGE_NOT_SATISFIABLE = 416; //RFC7233
58 58
     const HTTP_EXPECTATION_FAILED = 417;
59
-    const HTTP_I_AM_A_TEAPOT = 418;                     // RFC2324
60
-    const HTTP_MISDIRECTED_REQUEST = 421;               // RFC7540
61
-    const HTTP_UNPROCESSABLE_ENTITY = 422;              // RFC4918
62
-    const HTTP_LOCKED = 423;                            // RFC4918
63
-    const HTTP_FAILED_DEPENDENCY = 424;                 // RFC4918
64
-    const HTTP_UPGRADE_REQUIRED = 426;                  // RFC2817
65
-    const HTTP_PRECONDITION_REQUIRED = 428;             // RFC6585
66
-    const HTTP_TOO_MANY_REQUESTS = 429;                 // RFC6585
67
-    const HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE = 431;   // RFC6585
68
-    const HTTP_UNAVAILABLE_FOR_LEGAL_REASONS = 451;     // RFC7725
59
+    const HTTP_I_AM_A_TEAPOT = 418; // RFC2324
60
+    const HTTP_MISDIRECTED_REQUEST = 421; // RFC7540
61
+    const HTTP_UNPROCESSABLE_ENTITY = 422; // RFC4918
62
+    const HTTP_LOCKED = 423; // RFC4918
63
+    const HTTP_FAILED_DEPENDENCY = 424; // RFC4918
64
+    const HTTP_UPGRADE_REQUIRED = 426; // RFC2817
65
+    const HTTP_PRECONDITION_REQUIRED = 428; // RFC6585
66
+    const HTTP_TOO_MANY_REQUESTS = 429; // RFC6585
67
+    const HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE = 431; // RFC6585
68
+    const HTTP_UNAVAILABLE_FOR_LEGAL_REASONS = 451; // RFC7725
69 69
     const HTTP_INTERNAL_SERVER_ERROR = 500;
70 70
     const HTTP_NOT_IMPLEMENTED = 501;
71 71
     const HTTP_BAD_GATEWAY = 502;
72 72
     const HTTP_SERVICE_UNAVAILABLE = 503;
73 73
     const HTTP_GATEWAY_TIMEOUT = 504;
74 74
     const HTTP_VERSION_NOT_SUPPORTED = 505;
75
-    const HTTP_VARIANT_ALSO_NEGOTIATES = 506;           // RFC2295
76
-    const HTTP_INSUFFICIENT_STORAGE = 507;              // RFC4918
77
-    const HTTP_LOOP_DETECTED = 508;                     // RFC5842
78
-    const HTTP_NOT_EXTENDED = 510;                      // RFC2774
79
-    const HTTP_NETWORK_AUTHENTICATION_REQUIRED = 511;   // RFC6585
75
+    const HTTP_VARIANT_ALSO_NEGOTIATES = 506; // RFC2295
76
+    const HTTP_INSUFFICIENT_STORAGE = 507; // RFC4918
77
+    const HTTP_LOOP_DETECTED = 508; // RFC5842
78
+    const HTTP_NOT_EXTENDED = 510; // RFC2774
79
+    const HTTP_NETWORK_AUTHENTICATION_REQUIRED = 511; // RFC6585
80 80
 
81 81
     /**
82 82
      * The list of possible classes of status codes
Please login to merge, or discard this patch.