Completed
Push — scrutinizer ( 84e9d0...6a9613 )
by Fabio
22:48
created
tests/test_tools/simpletest/mock_objects.php 1 patch
Spacing   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     /**
23 23
      * Default character simpletest will substitute for any value
24 24
      */
25
-    if (! defined('MOCK_ANYTHING')) {
25
+    if (!defined('MOCK_ANYTHING')) {
26 26
         define('MOCK_ANYTHING', '*');
27 27
     }
28 28
 
@@ -87,14 +87,14 @@  discard block
 block discarded – undo
87 87
          *    @access public
88 88
          */
89 89
         function test($parameters) {
90
-            if (! is_array($this->_expected)) {
90
+            if (!is_array($this->_expected)) {
91 91
                 return true;
92 92
             }
93 93
             if (count($this->_expected) != count($parameters)) {
94 94
                 return false;
95 95
             }
96 96
             for ($i = 0; $i < count($this->_expected); $i++) {
97
-                if (! $this->_testParameter($parameters[$i], $this->_expected[$i])) {
97
+                if (!$this->_testParameter($parameters[$i], $this->_expected[$i])) {
98 98
                     return false;
99 99
                 }
100 100
             }
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
             $messages = array();
150 150
             for ($i = 0; $i < count($expected); $i++) {
151 151
                 $comparison = $this->_coerceToExpectation($expected[$i]);
152
-                if (! $comparison->test($parameters[$i])) {
152
+                if (!$comparison->test($parameters[$i])) {
153 153
                     $messages[] = "parameter " . ($i + 1) . " with [" .
154 154
                             $comparison->overlayMessage($parameters[$i]) . "]";
155 155
                 }
@@ -484,7 +484,7 @@  discard block
 block discarded – undo
484 484
          *    @access private
485 485
          */
486 486
         function _checkArgumentsIsArray($args, $task) {
487
-        	if (! is_array($args)) {
487
+        	if (!is_array($args)) {
488 488
         		trigger_error(
489 489
         			"Cannot $task as \$args parameter is not an array",
490 490
         			E_USER_ERROR);
@@ -499,7 +499,7 @@  discard block
 block discarded – undo
499 499
          *    @access protected
500 500
          */
501 501
         function _dieOnNoMethod($method, $task) {
502
-            if ($this->_is_strict && ! method_exists($this, $method)) {
502
+            if ($this->_is_strict && !method_exists($this, $method)) {
503 503
                 trigger_error(
504 504
                         "Cannot $task as no ${method}() in class " . get_class($this),
505 505
                         E_USER_ERROR);
@@ -548,7 +548,7 @@  discard block
 block discarded – undo
548 548
         function getCallCount($method) {
549 549
             $this->_dieOnNoMethod($method, "get call count");
550 550
             $method = strtolower($method);
551
-            if (! isset($this->_call_counts[$method])) {
551
+            if (!isset($this->_call_counts[$method])) {
552 552
                 return 0;
553 553
             }
554 554
             return $this->_call_counts[$method];
@@ -567,7 +567,7 @@  discard block
 block discarded – undo
567 567
             $this->_dieOnNoMethod($method, "set return value");
568 568
             $args = $this->_replaceWildcards($args);
569 569
             $method = strtolower($method);
570
-            if (! isset($this->_returns[$method])) {
570
+            if (!isset($this->_returns[$method])) {
571 571
                 $this->_returns[$method] = new CallMap();
572 572
             }
573 573
             $this->_returns[$method]->addValue($args, $value);
@@ -591,10 +591,10 @@  discard block
 block discarded – undo
591 591
             $this->_dieOnNoMethod($method, "set return value sequence");
592 592
             $args = $this->_replaceWildcards($args);
593 593
             $method = strtolower($method);
594
-            if (! isset($this->_return_sequence[$method])) {
594
+            if (!isset($this->_return_sequence[$method])) {
595 595
                 $this->_return_sequence[$method] = array();
596 596
             }
597
-            if (! isset($this->_return_sequence[$method][$timing])) {
597
+            if (!isset($this->_return_sequence[$method][$timing])) {
598 598
                 $this->_return_sequence[$method][$timing] = new CallMap();
599 599
             }
600 600
             $this->_return_sequence[$method][$timing]->addValue($args, $value);
@@ -613,7 +613,7 @@  discard block
 block discarded – undo
613 613
             $this->_dieOnNoMethod($method, "set return reference");
614 614
             $args = $this->_replaceWildcards($args);
615 615
             $method = strtolower($method);
616
-            if (! isset($this->_returns[$method])) {
616
+            if (!isset($this->_returns[$method])) {
617 617
                 $this->_returns[$method] = new CallMap();
618 618
             }
619 619
             $this->_returns[$method]->addReference($args, $reference);
@@ -637,10 +637,10 @@  discard block
 block discarded – undo
637 637
             $this->_dieOnNoMethod($method, "set return reference sequence");
638 638
             $args = $this->_replaceWildcards($args);
639 639
             $method = strtolower($method);
640
-            if (! isset($this->_return_sequence[$method])) {
640
+            if (!isset($this->_return_sequence[$method])) {
641 641
                 $this->_return_sequence[$method] = array();
642 642
             }
643
-            if (! isset($this->_return_sequence[$method][$timing])) {
643
+            if (!isset($this->_return_sequence[$method][$timing])) {
644 644
                 $this->_return_sequence[$method][$timing] = new CallMap();
645 645
             }
646 646
             $this->_return_sequence[$method][$timing]->addReference($args, $reference);
@@ -690,7 +690,7 @@  discard block
 block discarded – undo
690 690
             $this->_dieOnNoMethod($method, 'set expected arguments at time');
691 691
             $this->_checkArgumentsIsArray($args, 'set expected arguments at time');
692 692
             $args = $this->_replaceWildcards($args);
693
-            if (! isset($this->_expected_args_at[$timing])) {
693
+            if (!isset($this->_expected_args_at[$timing])) {
694 694
                 $this->_expected_args_at[$timing] = array();
695 695
             }
696 696
             $method = strtolower($method);
@@ -881,7 +881,7 @@  discard block
 block discarded – undo
881 881
          */
882 882
         function _checkExpectations($method, $args, $timing) {
883 883
             if (isset($this->_max_counts[$method])) {
884
-                if (! $this->_max_counts[$method]->test($timing + 1)) {
884
+                if (!$this->_max_counts[$method]->test($timing + 1)) {
885 885
                     $this->_assertTrue(
886 886
                             false,
887 887
                             $this->_max_counts[$method]->overlayMessage($timing + 1));
@@ -1021,10 +1021,10 @@  discard block
 block discarded – undo
1021 1021
          *    @access public
1022 1022
          */
1023 1023
         function generate($methods) {
1024
-            if (! $this->_reflection->classOrInterfaceExists()) {
1024
+            if (!$this->_reflection->classOrInterfaceExists()) {
1025 1025
                 return false;
1026 1026
             }
1027
-            if (! $this->_mock_class) {
1027
+            if (!$this->_mock_class) {
1028 1028
                 $this->_mock_class = 'Mock' . $this->_class;
1029 1029
             }
1030 1030
             $mock_reflection = new SimpleReflection($this->_mock_class);
@@ -1046,7 +1046,7 @@  discard block
 block discarded – undo
1046 1046
          *    @access public
1047 1047
          */
1048 1048
         function generatePartial($methods) {
1049
-            if (! $this->_reflection->classExists($this->_class)) {
1049
+            if (!$this->_reflection->classExists($this->_class)) {
1050 1050
                 return false;
1051 1051
             }
1052 1052
             $mock_reflection = new SimpleReflection($this->_mock_class);
Please login to merge, or discard this patch.
tests/test_tools/simpletest/page.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
          *    @access protected
76 76
          */
77 77
         function _createInputTag($attributes) {
78
-            if (! isset($attributes['type'])) {
78
+            if (!isset($attributes['type'])) {
79 79
                 return new SimpleTextTag($attributes);
80 80
             }
81 81
             $type = strtolower(trim($attributes['type']));
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
         function startElement($name, $attributes) {
190 190
             $factory = new SimpleTagBuilder();
191 191
             $tag = $factory->createTag($name, $attributes);
192
-            if (! $tag) {
192
+            if (!$tag) {
193 193
                 return true;
194 194
             }
195 195
             if ($tag->getTagName() == 'label') {
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
                 $this->_page->acceptFrame($tag);
210 210
                 return true;
211 211
             }
212
-            if ($tag->isPrivateContent() && ! isset($this->_private_content_tag)) {
212
+            if ($tag->isPrivateContent() && !isset($this->_private_content_tag)) {
213 213
                 $this->_private_content_tag = $tag;
214 214
             }
215 215
             if ($tag->expectEndTag()) {
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
          */
319 319
         function _openTag($tag) {
320 320
             $name = $tag->getTagName();
321
-            if (! in_array($name, array_keys($this->_tags))) {
321
+            if (!in_array($name, array_keys($this->_tags))) {
322 322
                 $this->_tags[$name] = array();
323 323
             }
324 324
             $this->_tags[$name][] = $tag;
@@ -426,7 +426,7 @@  discard block
 block discarded – undo
426 426
          *    @access public
427 427
          */
428 428
         function getText() {
429
-            if (! $this->_text) {
429
+            if (!$this->_text) {
430 430
                 $this->_text = SimpleHtmlSaxParser::normalise($this->_raw);
431 431
             }
432 432
             return $this->_text;
@@ -648,7 +648,7 @@  discard block
 block discarded – undo
648 648
          *    @access public
649 649
          */
650 650
         function acceptFramesetStart($tag) {
651
-            if (! $this->_isLoadingFrames()) {
651
+            if (!$this->_isLoadingFrames()) {
652 652
                 $this->_frameset = $tag;
653 653
             }
654 654
             $this->_frameset_nesting_level++;
@@ -685,7 +685,7 @@  discard block
 block discarded – undo
685 685
          *    @access private
686 686
          */
687 687
         function _isLoadingFrames() {
688
-            if (! $this->_frameset) {
688
+            if (!$this->_frameset) {
689 689
                 return false;
690 690
             }
691 691
             return ($this->_frameset_nesting_level > 0);
@@ -699,7 +699,7 @@  discard block
 block discarded – undo
699 699
          */
700 700
         function _linkIsAbsolute($url) {
701 701
             $parsed = new SimpleUrl($url);
702
-            return (boolean)($parsed->getScheme() && $parsed->getHost());
702
+            return (boolean) ($parsed->getScheme() && $parsed->getHost());
703 703
         }
704 704
 
705 705
         /**
@@ -735,7 +735,7 @@  discard block
 block discarded – undo
735 735
          *    @access public
736 736
          */
737 737
         function hasFrames() {
738
-            return (boolean)$this->_frameset;
738
+            return (boolean) $this->_frameset;
739 739
         }
740 740
 
741 741
         /**
@@ -748,7 +748,7 @@  discard block
 block discarded – undo
748 748
          *    @access public
749 749
          */
750 750
         function getFrameset() {
751
-            if (! $this->_frameset) {
751
+            if (!$this->_frameset) {
752 752
                 return false;
753 753
             }
754 754
             $urls = array();
@@ -794,7 +794,7 @@  discard block
 block discarded – undo
794 794
         function getRelativeUrls() {
795 795
             $all = array();
796 796
             foreach ($this->_links as $link) {
797
-                if (! $this->_linkIsAbsolute($link->getHref())) {
797
+                if (!$this->_linkIsAbsolute($link->getHref())) {
798 798
                     $all[] = $link->getHref();
799 799
                 }
800 800
             }
@@ -826,7 +826,7 @@  discard block
 block discarded – undo
826 826
          */
827 827
         function getUrlById($id) {
828 828
             foreach ($this->_links as $link) {
829
-                if ($link->getAttribute('id') === (string)$id) {
829
+                if ($link->getAttribute('id') === (string) $id) {
830 830
                     return $this->_getUrlFromLink($link);
831 831
                 }
832 832
             }
@@ -855,7 +855,7 @@  discard block
 block discarded – undo
855 855
          *    @access protected
856 856
          */
857 857
         function _makeAbsolute($url) {
858
-            if (! is_object($url)) {
858
+            if (!is_object($url)) {
859 859
                 $url = new SimpleUrl($url);
860 860
             }
861 861
             return $url->makeAbsolute($this->getUrl());
Please login to merge, or discard this patch.
tests/test_tools/simpletest/detached.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 			$shell = new SimpleShell();
57 57
 			$shell->execute($this->_command);
58 58
             $parser = $this->_createParser($reporter);
59
-            if (! $parser->parse($shell->getOutput())) {
59
+            if (!$parser->parse($shell->getOutput())) {
60 60
                 trigger_error('Cannot parse incoming XML from [' . $this->_command . ']');
61 61
                 return false;
62 62
             }
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 				$shell->execute($this->_dry_command);
75 75
                 $reporter = new SimpleReporter();
76 76
                 $parser = $this->_createParser($reporter);
77
-                if (! $parser->parse($shell->getOutput())) {
77
+                if (!$parser->parse($shell->getOutput())) {
78 78
                     trigger_error('Cannot parse incoming XML from [' . $this->_dry_command . ']');
79 79
                     return false;
80 80
                 }
Please login to merge, or discard this patch.
tests/test_tools/simpletest/scorer.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
          *    @access public
54 54
          */
55 55
         function shouldInvoke($test_case_name, $method) {
56
-            return ! $this->_is_dry_run;
56
+            return !$this->_is_dry_run;
57 57
         }
58 58
 
59 59
         /**
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
          *    @access public
249 249
          */
250 250
         function paintGroupStart($test_name, $size) {
251
-            if (! isset($this->_size)) {
251
+            if (!isset($this->_size)) {
252 252
                 $this->_size = $size;
253 253
             }
254 254
             if (count($this->_test_stack) == 0) {
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
          *    @access public
281 281
          */
282 282
         function paintCaseStart($test_name) {
283
-            if (! isset($this->_size)) {
283
+            if (!isset($this->_size)) {
284 284
                 $this->_size = 1;
285 285
             }
286 286
             if (count($this->_test_stack) == 0) {
@@ -600,7 +600,7 @@  discard block
 block discarded – undo
600 600
          */
601 601
         function getStatus() {
602 602
             for ($i = 0; $i < count($this->_reporters); $i++) {
603
-                if (! $this->_reporters[$i]->getStatus()) {
603
+                if (!$this->_reporters[$i]->getStatus()) {
604 604
                     return false;
605 605
                 }
606 606
             }
@@ -616,7 +616,7 @@  discard block
 block discarded – undo
616 616
          */
617 617
         function shouldInvoke($test_case_name, $method) {
618 618
             for ($i = 0; $i < count($this->_reporters); $i++) {
619
-                if (! $this->_reporters[$i]->shouldInvoke($test_case_name, $method)) {
619
+                if (!$this->_reporters[$i]->shouldInvoke($test_case_name, $method)) {
620 620
                     return false;
621 621
                 }
622 622
             }
Please login to merge, or discard this patch.
tests/test_tools/simpletest/expectation.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
          *    @access public
174 174
          */
175 175
         function test($compare) {
176
-            return ! parent::test($compare);
176
+            return !parent::test($compare);
177 177
         }
178 178
 
179 179
         /**
@@ -298,7 +298,7 @@  discard block
 block discarded – undo
298 298
          *    @access public
299 299
          */
300 300
         function test($compare) {
301
-            return ! parent::test($compare);
301
+            return !parent::test($compare);
302 302
         }
303 303
 
304 304
         /**
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
          *    @access public
310 310
          */
311 311
         function testMessage($compare) {
312
-            if (! $this->test($compare)) {
312
+            if (!$this->test($compare)) {
313 313
                 return $this->_withinMessage($compare);
314 314
             } else {
315 315
                 return $this->_outsideMessage($compare);
@@ -390,7 +390,7 @@  discard block
 block discarded – undo
390 390
          *    @access public
391 391
          */
392 392
         function test($compare) {
393
-            return ! parent::test($compare);
393
+            return !parent::test($compare);
394 394
         }
395 395
 
396 396
         /**
@@ -447,7 +447,7 @@  discard block
 block discarded – undo
447 447
          *    @access public
448 448
          */
449 449
         function test($compare) {
450
-            return (boolean)preg_match($this->_getPattern(), $compare);
450
+            return (boolean) preg_match($this->_getPattern(), $compare);
451 451
         }
452 452
 
453 453
         /**
@@ -520,7 +520,7 @@  discard block
 block discarded – undo
520 520
          *    @access public
521 521
          */
522 522
         function test($compare) {
523
-            return ! parent::test($compare);
523
+            return !parent::test($compare);
524 524
         }
525 525
 
526 526
         /**
@@ -653,7 +653,7 @@  discard block
 block discarded – undo
653 653
          *    @access public
654 654
          */
655 655
         function test($compare) {
656
-            return ! parent::test($compare);
656
+            return !parent::test($compare);
657 657
         }
658 658
 
659 659
         /**
@@ -697,7 +697,7 @@  discard block
 block discarded – undo
697 697
          *    @access public
698 698
          */
699 699
         function test($compare) {
700
-            return (boolean)(is_object($compare) && method_exists($compare, $this->_method));
700
+            return (boolean) (is_object($compare) && method_exists($compare, $this->_method));
701 701
         }
702 702
 
703 703
         /**
@@ -709,7 +709,7 @@  discard block
 block discarded – undo
709 709
          */
710 710
         function testMessage($compare) {
711 711
             $dumper = $this->_getDumper();
712
-            if (! is_object($compare)) {
712
+            if (!is_object($compare)) {
713 713
                 return 'No method on non-object [' . $dumper->describeValue($compare) . ']';
714 714
             }
715 715
             $method = $this->_method;
Please login to merge, or discard this patch.
tests/test_tools/simpletest/encoding.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
          *    @access public
200 200
          */
201 201
         function SimpleEncoding($query = false) {
202
-            if (! $query) {
202
+            if (!$query) {
203 203
                 $query = array();
204 204
             }
205 205
             $this->clear();
@@ -438,7 +438,7 @@  discard block
 block discarded – undo
438 438
          *    @access public
439 439
          */
440 440
         function writeHeadersTo($socket) {
441
-            $socket->write("Content-Length: " . (integer)strlen($this->_encode()) . "\r\n");
441
+            $socket->write("Content-Length: " . (integer) strlen($this->_encode()) . "\r\n");
442 442
             $socket->write("Content-Type: application/x-www-form-urlencoded\r\n");
443 443
         }
444 444
 
@@ -489,7 +489,7 @@  discard block
 block discarded – undo
489 489
          *    @access public
490 490
          */
491 491
         function writeHeadersTo($socket) {
492
-            $socket->write("Content-Length: " . (integer)strlen($this->_encode()) . "\r\n");
492
+            $socket->write("Content-Length: " . (integer) strlen($this->_encode()) . "\r\n");
493 493
             $socket->write("Content-Type: multipart/form-data, boundary=" . $this->_boundary . "\r\n");
494 494
         }
495 495
 
Please login to merge, or discard this patch.
tests/test_tools/simpletest/cookies.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
          *    @access public
155 155
          */
156 156
         function getExpiry() {
157
-            if (! $this->_expiry) {
157
+            if (!$this->_expiry) {
158 158
                 return false;
159 159
             }
160 160
             return gmdate("D, d M Y H:i:s", $this->_expiry) . " GMT";
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
          *    @access public
173 173
          */
174 174
         function isExpired($now) {
175
-            if (! $this->_expiry) {
175
+            if (!$this->_expiry) {
176 176
                 return true;
177 177
             }
178 178
             if (is_string($now)) {
@@ -245,10 +245,10 @@  discard block
 block discarded – undo
245 245
         function restartSession($date = false) {
246 246
             $surviving_cookies = array();
247 247
             for ($i = 0; $i < count($this->_cookies); $i++) {
248
-                if (! $this->_cookies[$i]->getValue()) {
248
+                if (!$this->_cookies[$i]->getValue()) {
249 249
                     continue;
250 250
                 }
251
-                if (! $this->_cookies[$i]->getExpiry()) {
251
+                if (!$this->_cookies[$i]->getExpiry()) {
252 252
                     continue;
253 253
                 }
254 254
                 if ($date && $this->_cookies[$i]->isExpired($date)) {
@@ -351,10 +351,10 @@  discard block
 block discarded – undo
351 351
             if ($cookie->getName() != $name) {
352 352
                 return false;
353 353
             }
354
-            if ($host && $cookie->getHost() && ! $cookie->isValidHost($host)) {
354
+            if ($host && $cookie->getHost() && !$cookie->isValidHost($host)) {
355 355
                 return false;
356 356
             }
357
-            if (! $cookie->isValidPath($path)) {
357
+            if (!$cookie->isValidPath($path)) {
358 358
                 return false;
359 359
             }
360 360
             return true;
Please login to merge, or discard this patch.
tests/test_tools/simpletest/xml.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
          *    @abstract
229 229
          */
230 230
         function paintHeader($test_name) {
231
-            if (! SimpleReporter::inCli()) {
231
+            if (!SimpleReporter::inCli()) {
232 232
                 header('Content-type: text/xml');
233 233
             }
234 234
             print "<?xml version=\"1.0\"";
@@ -428,7 +428,7 @@  discard block
 block discarded – undo
428 428
         function getSize() {
429 429
             $attributes = $this->_getAttributes();
430 430
             if (isset($attributes['SIZE'])) {
431
-                return (integer)$attributes['SIZE'];
431
+                return (integer) $attributes['SIZE'];
432 432
             }
433 433
             return 0;
434 434
         }
@@ -471,7 +471,7 @@  discard block
 block discarded – undo
471 471
          *    @access public
472 472
          */
473 473
         function parse($chunk) {
474
-            if (! xml_parse($this->_expat, $chunk)) {
474
+            if (!xml_parse($this->_expat, $chunk)) {
475 475
                 trigger_error('XML parse error with ' .
476 476
                         xml_error_string(xml_get_error_code($this->_expat)));
477 477
                 return false;
Please login to merge, or discard this patch.
tests/test_tools/simpletest/remote.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,12 +56,12 @@  discard block
 block discarded – undo
56 56
         function run($reporter) {
57 57
             $browser = $this->_createBrowser();
58 58
             $xml = $browser->get($this->_url);
59
-            if (! $xml) {
59
+            if (!$xml) {
60 60
                 trigger_error('Cannot read remote test URL [' . $this->_url . ']');
61 61
                 return false;
62 62
             }
63 63
             $parser = $this->_createParser($reporter);
64
-            if (! $parser->parse($xml)) {
64
+            if (!$parser->parse($xml)) {
65 65
                 trigger_error('Cannot parse incoming XML from [' . $this->_url . ']');
66 66
                 return false;
67 67
             }
@@ -97,13 +97,13 @@  discard block
 block discarded – undo
97 97
             if ($this->_size === false) {
98 98
                 $browser = $this->_createBrowser();
99 99
                 $xml = $browser->get($this->_dry_url);
100
-                if (! $xml) {
100
+                if (!$xml) {
101 101
                     trigger_error('Cannot read remote test URL [' . $this->_dry_url . ']');
102 102
                     return false;
103 103
                 }
104 104
                 $reporter = new SimpleReporter();
105 105
                 $parser = $this->_createParser($reporter);
106
-                if (! $parser->parse($xml)) {
106
+                if (!$parser->parse($xml)) {
107 107
                     trigger_error('Cannot parse incoming XML from [' . $this->_dry_url . ']');
108 108
                     return false;
109 109
                 }
Please login to merge, or discard this patch.