Completed
Push — master ( 5ff605...a3d61d )
by Vladimir
02:22
created
tests/PulseUnitTestCase.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
     const SecondUser = 361981;
12 12
     const BoardId = 3844236;
13 13
 
14
-    public function setUp()
14
+    public function setUp ()
15 15
     {
16 16
         $cassette = (getenv('TRAVIS') == 'true') ? 'PhpPulseVCR-sanitized' : 'PhpPulseVCR';
17 17
 
@@ -25,44 +25,44 @@  discard block
 block discarded – undo
25 25
         VCR::turnOff();
26 26
     }
27 27
 
28
-    protected function assertIsInt($expected, $message = "")
28
+    protected function assertIsInt ($expected, $message = "")
29 29
     {
30 30
         $this->assertTrue(is_int($expected), $message);
31 31
     }
32 32
 
33
-    protected function assertIsString($expected, $message = "")
33
+    protected function assertIsString ($expected, $message = "")
34 34
     {
35 35
         $this->assertTrue(is_string($expected), $message);
36 36
     }
37 37
 
38
-    protected function assertIsArray($expected, $message = "")
38
+    protected function assertIsArray ($expected, $message = "")
39 39
     {
40 40
         $this->assertTrue(is_array($expected), $message);
41 41
     }
42 42
 
43
-    protected function assertCountEqual($expected, $actual, $message = "")
43
+    protected function assertCountEqual ($expected, $actual, $message = "")
44 44
     {
45 45
         $this->assertEquals($expected, count($actual), $message);
46 46
     }
47 47
 
48
-    protected function assertCountLessThan($expected, $actual, $message = "")
48
+    protected function assertCountLessThan ($expected, $actual, $message = "")
49 49
     {
50 50
         $this->assertLessThan($expected, count($actual), $message);
51 51
     }
52 52
 
53
-    protected function assertCountGreaterThan($expected, $actual, $message = "")
53
+    protected function assertCountGreaterThan ($expected, $actual, $message = "")
54 54
     {
55 55
         $this->assertGreaterThan($expected, count($actual), $message);
56 56
     }
57 57
 
58
-    protected function assertPulseObjectType($instanceName, $actual, $message = "")
58
+    protected function assertPulseObjectType ($instanceName, $actual, $message = "")
59 59
     {
60
-        $instanceOf = "allejo\\DaPulse\\" . $instanceName;
60
+        $instanceOf = "allejo\\DaPulse\\".$instanceName;
61 61
 
62 62
         $this->assertInstanceOf($instanceOf, $actual, $message);
63 63
     }
64 64
 
65
-    protected function assertPulseArrayContains($needle, $haystack, $message = "")
65
+    protected function assertPulseArrayContains ($needle, $haystack, $message = "")
66 66
     {
67 67
         $resultFound = false;
68 68
 
Please login to merge, or discard this patch.
tests/bootstrap.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 use VCR\VCR;
12 12
 
13 13
 VCR::configure()
14
-   ->setMode('none')
14
+    ->setMode('none')
15 15
 ;
16 16
 
17 17
 $authClient = new AuthenticatedClient('phpunit-auth.json');
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  * @license   https://github.com/allejo/PhpPulse/blob/master/LICENSE.md MIT
5 5
  */
6 6
 
7
-require __DIR__ . '/../vendor/autoload.php';
7
+require __DIR__.'/../vendor/autoload.php';
8 8
 
9 9
 use allejo\DaPulse\PulseBoard;
10 10
 use allejo\DaPulse\Tests\Utilities\AuthenticatedClient;
Please login to merge, or discard this patch.