Completed
Push — master ( c457a1...f0fda6 )
by Lukáš
02:41
created
app/Providers/SatisServiceProvider.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         return '&> ' . escapeshellarg($logFile);
20 20
     }
21 21
 
22
-	/**
22
+    /**
23 23
      * @return string
24 24
      */
25 25
     public function getShouldUnlockOnCompletion() {
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -55,12 +55,12 @@  discard block
 block discarded – undo
55 55
                     'json',
56 56
                     function(VisitorInterface $visitor, Collection $collection, array $type, Context $context) {
57 57
                         $output = [];
58
-                        foreach($collection->values() as $package) {
58
+                        foreach ($collection->values() as $package) {
59 59
                             /** @var Package $package */
60 60
 
61 61
                             $output[$package->getName()] = $package->getVersion();
62 62
                         }
63
-                        if(!$output){
63
+                        if (!$output) {
64 64
                             return null;   
65 65
                         }
66 66
 
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
                         $repositories = $visitor->visitArray($data, $type, $context);
81 81
 
82 82
                         $collection = new RepositoryCollection();
83
-                        foreach($repositories as $repository) {
83
+                        foreach ($repositories as $repository) {
84 84
                             $collection->put($repository->getId(), $repository);
85 85
                         }
86 86
 
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
                     'json',
95 95
                     function(VisitorInterface $visitor, array $data, array $type, Context $context) {
96 96
                         $temp = [];
97
-                        foreach($data as $name => $version) {
97
+                        foreach ($data as $name => $version) {
98 98
                             $temp[] = ['name' => $name, 'version' => $version];
99 99
                         }
100 100
 
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
                         $packages = $visitor->visitArray($temp, $type, $context);
103 103
 
104 104
                         $collection = new PackageCollection();
105
-                        foreach($packages as $package) {
105
+                        foreach ($packages as $package) {
106 106
                             $collection->put($package->getId(), $package);
107 107
                         }
108 108
 
Please login to merge, or discard this patch.
app/Satis/BuildContext.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         return '&> ' . escapeshellarg($logFile);
20 20
     }
21 21
 
22
-	/**
22
+    /**
23 23
      * @return string
24 24
      */
25 25
     public function getShouldUnlockOnCompletion() {
Please login to merge, or discard this patch.
app/Satis/CommandContextInterface.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         return '&> ' . escapeshellarg($logFile);
20 20
     }
21 21
 
22
-	/**
22
+    /**
23 23
      * @return string
24 24
      */
25 25
     public function getShouldUnlockOnCompletion() {
Please login to merge, or discard this patch.
app/Satis/ConfigMirror.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,14 +9,14 @@
 block discarded – undo
9 9
  * @author Lukas Homza <[email protected]>
10 10
  */
11 11
 class PrivateRepository extends BuildContext {
12
-	/**
12
+    /**
13 13
      * @return int
14 14
      */
15 15
     public function getType() {
16 16
         return ConfigBuilder::PRIVATE_REPOSITORY;
17 17
     }
18 18
 
19
-	/**
19
+    /**
20 20
      * @return string
21 21
      */
22 22
     public function getConfigFile() {
Please login to merge, or discard this patch.