Passed
Push — develop ( 9169a6...9bdfa7 )
by nguereza
01:33
created
src/PlatineTestCase.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -264,7 +264,7 @@
 block discarded – undo
264 264
      */
265 265
     public function assertCommandOutput(string $expected, string $output): void
266 266
     {
267
-        if(DIRECTORY_SEPARATOR === '/'){
267
+        if (DIRECTORY_SEPARATOR === '/') {
268 268
             $this->assertEquals($expected, $output);
269 269
         } else {
270 270
             $expected = str_replace("\n", "\r\n", str_replace("\r", '', $expected));
Please login to merge, or discard this patch.
Braces   +4 added lines, -7 removed lines patch added patch discarded remove patch
@@ -60,8 +60,7 @@  discard block
 block discarded – undo
60 60
  * @class PlatineTestCase
61 61
  * @package Platine\Dev
62 62
  */
63
-class PlatineTestCase extends TestCase
64
-{
63
+class PlatineTestCase extends TestCase {
65 64
     /**
66 65
      * Method to test private & protected method
67 66
      *
@@ -236,8 +235,7 @@  discard block
 block discarded – undo
236 235
      * @param string $name
237 236
      * @return mixed
238 237
      */
239
-    public function getPropertyValue(string $class, object $instance, string $name)
240
-    {
238
+    public function getPropertyValue(string $class, object $instance, string $name) {
241 239
         $reflection = $this->getPrivateProtectedAttribute($class, $name);
242 240
         return $reflection->getValue($instance);
243 241
     }
@@ -250,8 +248,7 @@  discard block
 block discarded – undo
250 248
      * @param mixed $value
251 249
      * @return void
252 250
      */
253
-    public function setPropertyValue(string $class, object $instance, string $name, $value)
254
-    {
251
+    public function setPropertyValue(string $class, object $instance, string $name, $value) {
255 252
         $reflection = $this->getPrivateProtectedAttribute($class, $name);
256 253
         $reflection->setValue($instance, $value);
257 254
     }
@@ -264,7 +261,7 @@  discard block
 block discarded – undo
264 261
      */
265 262
     public function assertCommandOutput(string $expected, string $output): void
266 263
     {
267
-        if(DIRECTORY_SEPARATOR === '/'){
264
+        if(DIRECTORY_SEPARATOR === '/') {
268 265
             $this->assertEquals($expected, $output);
269 266
         } else {
270 267
             $expected = str_replace("\n", "\r\n", str_replace("\r", '', $expected));
Please login to merge, or discard this patch.