Completed
Push — master ( 9a6b8f...ebbbc9 )
by Marco
85:35 queued 50:32
created
tests/DontTest/Exception/NonSettableObjectTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@
 block discarded – undo
28 28
         self::assertInstanceOf(LogicException::class, $exception);
29 29
         self::assertInstanceOf(ExceptionInterface::class, $exception);
30 30
 
31
-        $expected = 'The given object ' . get_class($object)
32
-            . '#' . spl_object_hash($object) . " is not designed to allow any undefined or inaccessible properties to be written to.\n\n"
33
-            . 'You tried to write to a property called "propertyName".' . "\n\n"
31
+        $expected = 'The given object '.get_class($object)
32
+            . '#'.spl_object_hash($object)." is not designed to allow any undefined or inaccessible properties to be written to.\n\n"
33
+            . 'You tried to write to a property called "propertyName".'."\n\n"
34 34
             . 'Perhaps you made a typo in the property name, or tried to write to an inaccessible property?';
35 35
 
36 36
         self::assertSame($expected, $exception->getMessage());
Please login to merge, or discard this patch.
tests/DontTest/Exception/NonGettableObjectTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@
 block discarded – undo
28 28
         self::assertInstanceOf(LogicException::class, $exception);
29 29
         self::assertInstanceOf(ExceptionInterface::class, $exception);
30 30
 
31
-        $expected = 'The given object ' . get_class($object)
32
-            . '#' . spl_object_hash($object) . " is not designed to allow any undefined or inaccessible properties to be read from.\n\n"
33
-            . 'You tried to access a property called "propertyName".' . "\n\n"
31
+        $expected = 'The given object '.get_class($object)
32
+            . '#'.spl_object_hash($object)." is not designed to allow any undefined or inaccessible properties to be read from.\n\n"
33
+            . 'You tried to access a property called "propertyName".'."\n\n"
34 34
             . 'Perhaps you made a typo in the property name, or tried to access an inaccessible property?';
35 35
 
36 36
         self::assertSame($expected, $exception->getMessage());
Please login to merge, or discard this patch.