Completed
Push — master ( fd88a6...8479c6 )
by Naveen
15:14 queued 06:42
created
vendor/symfony/yaml/Tests/DumperTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     {
40 40
         $this->parser = new Parser();
41 41
         $this->dumper = new Dumper();
42
-        $this->path = __DIR__.'/Fixtures';
42
+        $this->path = __DIR__ . '/Fixtures';
43 43
     }
44 44
 
45 45
     protected function tearDown()
@@ -78,9 +78,9 @@  discard block
 block discarded – undo
78 78
 
79 79
     public function testSpecifications()
80 80
     {
81
-        $files = $this->parser->parse(file_get_contents($this->path.'/index.yml'));
81
+        $files = $this->parser->parse(file_get_contents($this->path . '/index.yml'));
82 82
         foreach ($files as $file) {
83
-            $yamls = file_get_contents($this->path.'/'.$file.'.yml');
83
+            $yamls = file_get_contents($this->path . '/' . $file . '.yml');
84 84
 
85 85
             // split YAMLs documents
86 86
             foreach (preg_split('/^---( %YAML\:1\.0)?/m', $yamls) as $yaml) {
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
                 } elseif (isset($test['todo']) && $test['todo']) {
95 95
                     // TODO
96 96
                 } else {
97
-                    eval('$expected = '.trim($test['php']).';');
97
+                    eval('$expected = ' . trim($test['php']) . ';');
98 98
                     $this->assertSame($expected, $this->parser->parse($this->dumper->dump($expected, 10)), $test['test']);
99 99
                 }
100 100
             }
Please login to merge, or discard this patch.
vendor/symfony/yaml/Tests/InlineTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
         try {
54 54
             $requiredLocales = array('fr_FR.UTF-8', 'fr_FR.UTF8', 'fr_FR.utf-8', 'fr_FR.utf8', 'French_France.1252');
55 55
             if (false === setlocale(LC_NUMERIC, $requiredLocales)) {
56
-                $this->markTestSkipped('Could not set any of required locales: '.implode(', ', $requiredLocales));
56
+                $this->markTestSkipped('Could not set any of required locales: ' . implode(', ', $requiredLocales));
57 57
             }
58 58
 
59 59
             $this->assertEquals('1.2', Inline::dump(1.2));
Please login to merge, or discard this patch.
vendor/symfony/yaml/Tests/ParserTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -39,12 +39,12 @@  discard block
 block discarded – undo
39 39
     public function getDataFormSpecifications()
40 40
     {
41 41
         $parser = new Parser();
42
-        $path = __DIR__.'/Fixtures';
42
+        $path = __DIR__ . '/Fixtures';
43 43
 
44 44
         $tests = array();
45
-        $files = $parser->parse(file_get_contents($path.'/index.yml'));
45
+        $files = $parser->parse(file_get_contents($path . '/index.yml'));
46 46
         foreach ($files as $file) {
47
-            $yamls = file_get_contents($path.'/'.$file.'.yml');
47
+            $yamls = file_get_contents($path . '/' . $file . '.yml');
48 48
 
49 49
             // split YAMLs documents
50 50
             foreach (preg_split('/^---( %YAML\:1\.0)?/m', $yamls) as $yaml) {
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
                 if (isset($test['todo']) && $test['todo']) {
57 57
                     // TODO
58 58
                 } else {
59
-                    eval('$expected = '.trim($test['php']).';');
59
+                    eval('$expected = ' . trim($test['php']) . ';');
60 60
 
61 61
                     $tests[] = array($file, var_export($expected, true), $test['yaml'], $test['test']);
62 62
                 }
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
                 $this->fail('YAML files must not contain tabs');
84 84
             } catch (\Exception $e) {
85 85
                 $this->assertInstanceOf('\Exception', $e, 'YAML files must not contain tabs');
86
-                $this->assertEquals('A YAML file cannot contain tabs as indentation at line 2 (near "'.strpbrk($yaml, "\t").'").', $e->getMessage(), 'YAML files must not contain tabs');
86
+                $this->assertEquals('A YAML file cannot contain tabs as indentation at line 2 (near "' . strpbrk($yaml, "\t") . '").', $e->getMessage(), 'YAML files must not contain tabs');
87 87
             }
88 88
         }
89 89
     }
Please login to merge, or discard this patch.
vendor/symfony/yaml/Unescaper.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -49,12 +49,12 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public function unescapeDoubleQuotedString($value)
51 51
     {
52
-        $callback = function ($match) {
52
+        $callback = function($match) {
53 53
             return $this->unescapeCharacter($match[0]);
54 54
         };
55 55
 
56 56
         // evaluate the string
57
-        return preg_replace_callback('/'.self::REGEX_ESCAPED_CHARACTER.'/u', $callback, $value);
57
+        return preg_replace_callback('/' . self::REGEX_ESCAPED_CHARACTER . '/u', $callback, $value);
58 58
     }
59 59
 
60 60
     /**
@@ -131,12 +131,12 @@  discard block
 block discarded – undo
131 131
             return chr($c);
132 132
         }
133 133
         if (0x800 > $c) {
134
-            return chr(0xC0 | $c >> 6).chr(0x80 | $c & 0x3F);
134
+            return chr(0xC0 | $c >> 6) . chr(0x80 | $c & 0x3F);
135 135
         }
136 136
         if (0x10000 > $c) {
137
-            return chr(0xE0 | $c >> 12).chr(0x80 | $c >> 6 & 0x3F).chr(0x80 | $c & 0x3F);
137
+            return chr(0xE0 | $c >> 12) . chr(0x80 | $c >> 6 & 0x3F) . chr(0x80 | $c & 0x3F);
138 138
         }
139 139
 
140
-        return chr(0xF0 | $c >> 18).chr(0x80 | $c >> 12 & 0x3F).chr(0x80 | $c >> 6 & 0x3F).chr(0x80 | $c & 0x3F);
140
+        return chr(0xF0 | $c >> 18) . chr(0x80 | $c >> 12 & 0x3F) . chr(0x80 | $c >> 6 & 0x3F) . chr(0x80 | $c & 0x3F);
141 141
     }
142 142
 }
Please login to merge, or discard this patch.
reflection-docblock/tests/phpDocumentor/Reflection/DocBlock/TagTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@
 block discarded – undo
207 207
             $this->markTestSkipped('"data" URIs for includes are required.');
208 208
         }
209 209
 
210
-        include 'data:text/plain;base64,'. base64_encode(
210
+        include 'data:text/plain;base64,' . base64_encode(
211 211
             <<<DOCBLOCK_EXTENSION
212 212
 <?php
213 213
 class MyReflectionDocBlock extends \phpDocumentor\Reflection\DocBlock {
Please login to merge, or discard this patch.
vendor/phpunit/php-code-coverage/tests/_files/source_with_namespace.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
  */
12 12
 function &foo($bar)
13 13
 {
14
-    $baz = function () {};
14
+    $baz = function() {};
15 15
     $a   = true ? true : false;
16 16
     $b   = "{$a}";
17 17
     $c   = "${b}";
Please login to merge, or discard this patch.