Passed
Branch master (48a4b2)
by Vincent
05:12
created
Category
src/Messages.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     const COMPOUND_DOCUMENT_ONLY_ONE_RESOURCE = 'A compound document MUST NOT include more than one resource object for each "type" and "id" pair.';
52 52
     const CONTAINS_AT_LEAST_ONE = 'contains at least one element of "%s"';
53 53
     const JSONAPI_VERSION_IS_NOT_STRING = 'If present, the value of the version member MUST be a string.';
54
-    const LINK_OBJECT_IS_NOT_ARRAY ='A link MUST be represented as either a null value, a string or an object.';
54
+    const LINK_OBJECT_IS_NOT_ARRAY = 'A link MUST be represented as either a null value, a string or an object.';
55 55
     const MUST_NOT_BE_ARRAY_OF_OBJECTS = 'Failed asserting that an array is not an array of objects.';
56 56
     const MUST_BE_ARRAY_OF_OBJECTS = 'Failed asserting that an array is an array of objects.';
57 57
 }
Please login to merge, or discard this patch.
src/Asserts/AssertBase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@
 block discarded – undo
232 232
 
233 233
         try {
234 234
             call_user_func_array($fn, $args);
235
-        } catch(ExpectationFailedException $e) {
235
+        } catch (ExpectationFailedException $e) {
236 236
             if (!is_null($expectedFailureMessage)) {
237 237
                 PHPUnit::assertStringContainsString($expectedFailureMessage, $e->getMessage());
238 238
             }
Please login to merge, or discard this patch.