Completed
Push — master ( cc70d1...92c773 )
by Thibaud
02:31
created
src/Archive/Archive.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -117,12 +117,12 @@
 block discarded – undo
117 117
     /**
118 118
      * @inheritdoc
119 119
      */
120
-     public function extract($toDirectory)
121
-     {
120
+        public function extract($toDirectory)
121
+        {
122 122
         $this->adapter->extract($this->resource, $toDirectory);
123 123
 
124 124
         return $this;
125
-     }
125
+        }
126 126
 
127 127
     /**
128 128
      * @inheritdoc
Please login to merge, or discard this patch.
src/Archive/Member.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
      */
133 133
     public function extract($to = null, $overwrite = false)
134 134
     {
135
-        $this->adapter->extractMembers($this->resource, $this->location, $to, (bool)$overwrite);
135
+        $this->adapter->extractMembers($this->resource, $this->location, $to, (bool) $overwrite);
136 136
 
137 137
         return new \SplFileInfo(sprintf('%s%s', rtrim(null === $to ? getcwd() : $to, '/'), $this->location));
138 138
     }
Please login to merge, or discard this patch.
src/Parser/BSDTarOutputParser.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
                 throw new RuntimeException(sprintf('Failed to parse mtime date from %s', $line));
79 79
             }
80 80
 
81
-             $members[] = array(
81
+                $members[] = array(
82 82
                 'location'  => $chunks[7],
83 83
                 'size'      => $chunks[5],
84 84
                 'mtime'     => $date,
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -44,13 +44,13 @@
 block discarded – undo
44 44
             // drw-rw-r--  0 toto titi     0 Jan  3  1980 practice/
45 45
             // -rw-rw-r--  0 toto titi     10240 Jan 22 13:31 practice/records
46 46
             if (!preg_match_all("#" .
47
-                self::PERMISSIONS   . "\s+" .   // match (drw-r--r--)
48
-                self::HARD_LINK     . "\s+" .   // match (1)
49
-                self::OWNER         . "\s" .    // match (toto)
50
-                self::GROUP         . "\s+" .   // match (titi)
51
-                self::FILESIZE      . "\s+" .   // match (0)
52
-                self::DATE          . "\s+" .   // match (Jan  3  1980)
53
-                self::FILENAME      .           // match (practice)
47
+                self::PERMISSIONS . "\s+" . // match (drw-r--r--)
48
+                self::HARD_LINK . "\s+" . // match (1)
49
+                self::OWNER . "\s" . // match (toto)
50
+                self::GROUP . "\s+" . // match (titi)
51
+                self::FILESIZE . "\s+" . // match (0)
52
+                self::DATE . "\s+" . // match (Jan  3  1980)
53
+                self::FILENAME . // match (practice)
54 54
                 "#", $line, $matches, PREG_SET_ORDER
55 55
             )) {
56 56
                 continue;
Please login to merge, or discard this patch.
src/Parser/GNUTarOutputParser.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -36,13 +36,13 @@
 block discarded – undo
36 36
             $matches = array();
37 37
 
38 38
             // -rw-r--r-- gray/staff    62373 2006-06-09 12:06 apple
39
-            if (!preg_match_all("#".
40
-                self::PERMISSIONS       . "\s+" . // match (-rw-r--r--)
41
-                self::OWNER             . "/"   . // match (gray)
42
-                self::GROUP             . "\s+" . // match (staff)
43
-                self::FILESIZE          . "\s+" . // match (62373)
44
-                self::ISO_DATE          . "\s+" . // match (2006-06-09 12:06)
45
-                self::FILENAME          .         // match (apple)
39
+            if (!preg_match_all("#" .
40
+                self::PERMISSIONS . "\s+" . // match (-rw-r--r--)
41
+                self::OWNER . "/" . // match (gray)
42
+                self::GROUP . "\s+" . // match (staff)
43
+                self::FILESIZE . "\s+" . // match (62373)
44
+                self::ISO_DATE . "\s+" . // match (2006-06-09 12:06)
45
+                self::FILENAME . // match (apple)
46 46
                 "#",
47 47
                 $line, $matches, PREG_SET_ORDER
48 48
             )) {
Please login to merge, or discard this patch.
src/Parser/ZipOutputParser.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,9 +71,9 @@
 block discarded – undo
71 71
         return $members;
72 72
     }
73 73
 
74
-      /**
75
-     * @inheritdoc
76
-     */
74
+        /**
75
+         * @inheritdoc
76
+         */
77 77
     public function parseInflatorVersion($output)
78 78
     {
79 79
         $lines = array_values(array_filter(explode("\n", $output, 3)));
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,10 +44,10 @@
 block discarded – undo
44 44
             $matches = array();
45 45
 
46 46
             // 785  2012-10-24 10:39  file
47
-            if (!preg_match_all("#".
48
-                self::LENGTH    . "\s+" . // match (785)
49
-                self::ISO_DATE  . "\s+" . // match (2012-10-24 10:39)
50
-                self::FILENAME  .         // match (file)
47
+            if (!preg_match_all("#" .
48
+                self::LENGTH . "\s+" . // match (785)
49
+                self::ISO_DATE . "\s+" . // match (2012-10-24 10:39)
50
+                self::FILENAME . // match (file)
51 51
                 "#",
52 52
                 $line, $matches, PREG_SET_ORDER
53 53
             )) {
Please login to merge, or discard this patch.
src/ProcessBuilder/ProcessBuilderFactoryInterface.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
 
17 17
 interface ProcessBuilderFactoryInterface
18 18
 {
19
-     /**
20
-     * Returns a new instance of Symfony ProcessBuilder
21
-     *
22
-     * @return ProcessBuilder
23
-     *
24
-     * @throws InvalidArgumentException
25
-     */
19
+        /**
20
+         * Returns a new instance of Symfony ProcessBuilder
21
+         *
22
+         * @return ProcessBuilder
23
+         *
24
+         * @throws InvalidArgumentException
25
+         */
26 26
     public function create();
27 27
 
28 28
     /**
Please login to merge, or discard this patch.
src/Resource/ResourceCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      */
28 28
     public function __construct($context, array $elements, $temporary)
29 29
     {
30
-        array_walk($elements, function ($element) {
30
+        array_walk($elements, function($element) {
31 31
             if (!$element instanceof Resource) {
32 32
                 throw new InvalidArgumentException('ResourceCollection only accept Resource elements');
33 33
             }
Please login to merge, or discard this patch.
src/Resource/Teleporter/AbstractTeleporter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     {
32 32
         $target = $this->getTarget($context, $resource);
33 33
 
34
-        if (! file_exists(dirname($target)) && false === mkdir(dirname($target))) {
34
+        if (!file_exists(dirname($target)) && false === mkdir(dirname($target))) {
35 35
             throw new IOException(sprintf('Could not create parent directory %s', dirname($target)));
36 36
         }
37 37
 
Please login to merge, or discard this patch.
src/Resource/Teleporter/GuzzleTeleporter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
     {
62 62
         $client = new Client();
63 63
 
64
-        $client->getEventDispatcher()->addListener('request.error', function (Event $event) {
64
+        $client->getEventDispatcher()->addListener('request.error', function(Event $event) {
65 65
             // override guzzle default behavior of throwing exceptions
66 66
             // when 4xx & 5xx responses are encountered
67 67
             $event->stopPropagation();
Please login to merge, or discard this patch.