Completed
Push — master ( d0b240...1c9124 )
by Lukáš
05:06
created
app/Satis/ConfigBuilder.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,10 +66,10 @@
 block discarded – undo
66 66
         $output = null;
67 67
         try {
68 68
             $output = $command->withCd(base_path())->run($this->asyncMode);
69
-        } catch(PackageBuildFailedException $e) {
69
+        } catch (PackageBuildFailedException $e) {
70 70
             $output = $e->getMessage();
71 71
         } finally {
72
-            if($this->asyncMode === false) {
72
+            if ($this->asyncMode === false) {
73 73
                 $this->configPersister->unlock($this->buildContext->getItemId());
74 74
             }
75 75
         }
Please login to merge, or discard this 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.
app/Satis/ConfigPersister.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
  */
12 12
 class ConfigPersister {
13 13
     /** @var \Illuminate\Filesystem\Filesystem $filesystem */
14
-	protected $filesystem;
14
+    protected $filesystem;
15 15
     /** @var \App\Satis\Model\ConfigLock */
16 16
     protected $configLock;
17 17
     /** @var \App\Satis\ConfigMirror */
@@ -56,14 +56,14 @@  discard block
 block discarded – undo
56 56
     public function __construct(Filesystem $filesystem, ConfigLock $configLock, ConfigMirror $configMirror,
57 57
         Serializer $serializer
58 58
     ) {
59
-		$this->filesystem = $filesystem;
59
+        $this->filesystem = $filesystem;
60 60
         $this->configLock = $configLock;
61 61
         $this->configMirror = $configMirror;
62 62
         $this->serializer = $serializer;
63 63
 
64 64
         $this->lockFilename = config('satis.lock');
65 65
         $this->configFile = config('satis.config');
66
-	}
66
+    }
67 67
 
68 68
     /**
69 69
      * @return bool
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
27 27
      */
28 28
     protected function getLockFile() {
29
-        if($this->filesystem->exists($this->lockFilename)) {
29
+        if ($this->filesystem->exists($this->lockFilename)) {
30 30
             $configLock = $this->serializer->deserialize(
31 31
                 $this->filesystem->get($this->lockFilename),
32 32
                 'App\Satis\Model\ConfigLock',
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
     public function lock($repositoryId) {
79 79
         $lockedRepositories = $this->getLockedRepositories();
80 80
 
81
-        if(!is_null($repositoryId) && !$lockedRepositories->contains($repositoryId)) {
81
+        if (!is_null($repositoryId) && !$lockedRepositories->contains($repositoryId)) {
82 82
             $lockedRepositories->push($repositoryId);
83 83
         }
84 84
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     public function unlock($repositoryId = null) {
100 100
         $lockedRepositories = $this->getLockedRepositories();
101 101
 
102
-        if($repositoryId !== null && $lockedRepositories->contains($repositoryId)) {
102
+        if ($repositoryId !== null && $lockedRepositories->contains($repositoryId)) {
103 103
             $lockedRepositories = $lockedRepositories->filter(function($id) use($repositoryId) {
104 104
                 return $id !== $repositoryId;
105 105
             });
Please login to merge, or discard this patch.
app/Satis/Context/AsyncCommand.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/Context/PrivateRepository.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.
app/Satis/Model/Archive.php 1 patch
Indentation   +70 added lines, -70 removed lines patch added patch discarded remove patch
@@ -13,85 +13,85 @@
 block discarded – undo
13 13
  * @author Lukas Homza <[email protected]>
14 14
  */
15 15
 class Archive {
16
-	/**
17
-	 * @var string
18
-	 * @Type("string")
19
-	 */
20
-	private $directory;
16
+    /**
17
+     * @var string
18
+     * @Type("string")
19
+     */
20
+    private $directory;
21 21
 
22
-	/**
23
-	 * @var string
24
-	 * @Type("string")
25
-	 */
26
-	private $format;
22
+    /**
23
+     * @var string
24
+     * @Type("string")
25
+     */
26
+    private $format;
27 27
 
28
-	/**
29
-	 * @var string
30
-	 * @Type("string")
31
-	 * @SerializedName("prefix-url")
32
-	 */
33
-	private $prefix_url;
28
+    /**
29
+     * @var string
30
+     * @Type("string")
31
+     * @SerializedName("prefix-url")
32
+     */
33
+    private $prefix_url;
34 34
 
35
-	/**
36
-	 * @var boolean
37
-	 * @Type("boolean")
38
-	 * @SerializedName("skip-dev")
39
-	 */
40
-	private $skip_dev = true;
35
+    /**
36
+     * @var boolean
37
+     * @Type("boolean")
38
+     * @SerializedName("skip-dev")
39
+     */
40
+    private $skip_dev = true;
41 41
 
42
-	/**
43
-	 * @param string $directory
44
-	 */
45
-	public function setDirectory($directory) {
46
-		$this->directory = $directory;
47
-	}
42
+    /**
43
+     * @param string $directory
44
+     */
45
+    public function setDirectory($directory) {
46
+        $this->directory = $directory;
47
+    }
48 48
 
49
-	/**
50
-	 * @return string
51
-	 */
52
-	public function getDirectory() {
53
-		return $this->directory;
54
-	}
49
+    /**
50
+     * @return string
51
+     */
52
+    public function getDirectory() {
53
+        return $this->directory;
54
+    }
55 55
 
56
-	/**
57
-	 * @param string $format
58
-	 */
59
-	public function setFormat($format) {
60
-		$this->format = $format;
61
-	}
56
+    /**
57
+     * @param string $format
58
+     */
59
+    public function setFormat($format) {
60
+        $this->format = $format;
61
+    }
62 62
 
63
-	/**
64
-	 * @return string
65
-	 */
66
-	public function getFormat() {
67
-		return $this->format;
68
-	}
63
+    /**
64
+     * @return string
65
+     */
66
+    public function getFormat() {
67
+        return $this->format;
68
+    }
69 69
 
70
-	/**
71
-	 * @param string $prefix_url
72
-	 */
73
-	public function setPrefixUrl($prefix_url) {
74
-		$this->prefix_url = $prefix_url;
75
-	}
70
+    /**
71
+     * @param string $prefix_url
72
+     */
73
+    public function setPrefixUrl($prefix_url) {
74
+        $this->prefix_url = $prefix_url;
75
+    }
76 76
 
77
-	/**
78
-	 * @return string
79
-	 */
80
-	public function getPrefixUrl() {
81
-		return $this->prefix_url;
82
-	}
77
+    /**
78
+     * @return string
79
+     */
80
+    public function getPrefixUrl() {
81
+        return $this->prefix_url;
82
+    }
83 83
 
84
-	/**
85
-	 * @param boolean $skip_dev
86
-	 */
87
-	public function setSkipDev($skip_dev) {
88
-		$this->skip_dev = $skip_dev;
89
-	}
84
+    /**
85
+     * @param boolean $skip_dev
86
+     */
87
+    public function setSkipDev($skip_dev) {
88
+        $this->skip_dev = $skip_dev;
89
+    }
90 90
 
91
-	/**
92
-	 * @return boolean
93
-	 */
94
-	public function getSkipDev() {
95
-		return $this->skip_dev;
96
-	}
91
+    /**
92
+     * @return boolean
93
+     */
94
+    public function getSkipDev() {
95
+        return $this->skip_dev;
96
+    }
97 97
 }
Please login to merge, or discard this patch.
app/Satis/Model/Config.php 1 patch
Indentation   +172 added lines, -172 removed lines patch added patch discarded remove patch
@@ -15,176 +15,176 @@
 block discarded – undo
15 15
  * @author Lukas Homza <[email protected]>
16 16
  */
17 17
 class Config {
18
-	/**
19
-	 * @Type("string")
20
-	 */
21
-	private $name;
22
-
23
-	/**
24
-	 * @Type("string")
25
-	 */
26
-	private $homepage;
27
-
28
-	/**
29
-	 * @Type("App\Satis\Collections\RepositoryCollection<App\Satis\Model\Repository>")
30
-	 */
31
-	private $repositories;
32
-
33
-	/**
34
-	 * @Type("App\Satis\Collections\PackageCollection<App\Satis\Model\Package>")
35
-	 * @SerializedName("require")
36
-	 */
37
-	private $packages;
38
-
39
-	/**
40
-	 * @Type("boolean")
41
-	 * @SerializedName("require-all")
42
-	 */
43
-	private $requireAll;
44
-
45
-	/**
46
-	 * @Type("boolean")
47
-	 * @SerializedName("require-dependencies")
48
-	 */
49
-	private $requireDependencies;
50
-
51
-	/**
52
-	 * @Type("boolean")
53
-	 * @SerializedName("require-dev-dependencies")
54
-	 */
55
-	private $requireDevDependencies;
56
-
57
-	/**
58
-	 * @var Archive
59
-	 * @Type("App\Satis\Model\Archive")
60
-	 */
61
-	private $archive;
62
-
63
-	/**
64
-	 * Constructor
65
-	 */
66
-	public function __construct() {
67
-		$this->repositories = [];
68
-		$this->packages = [];
69
-		$this->requireAll = false;
70
-		$this->requireDependencies = true;
71
-		$this->requireDevDependencies = false;
72
-	}
73
-
74
-	/**
75
-	 * Get name
76
-	 *
77
-	 * @return string $name
78
-	 */
79
-	public function getName() {
80
-		return $this->name;
81
-	}
82
-
83
-	/**
84
-	 * Get homepage
85
-	 *
86
-	 * @return string $homepage
87
-	 */
88
-	public function getHomepage() {
89
-		return $this->homepage;
90
-	}
91
-
92
-	/**
93
-	 * @param string $homepage
94
-	 * @return $this
95
-	 */
96
-	public function setHomepage($homepage) {
97
-		$this->homepage = $homepage;
98
-
99
-		return $this;
100
-	}
101
-
102
-	/**
103
-	 * Get repositories
104
-	 *
105
-	 * @return RepositoryCollection<Repository>
106
-	 */
107
-	public function getRepositories() {
108
-		return $this->repositories;
109
-	}
110
-
111
-	/**
112
-	 * Set repositories
113
-	 *
114
-	 * @param RepositoryCollection $repositories
115
-	 *
116
-	 * @return static
117
-	 */
118
-	public function setRepositories(RepositoryCollection $repositories) {
119
-		$this->repositories = $repositories;
120
-
121
-		return $this;
122
-	}
123
-
124
-	/**
125
-	 * @param Archive $archive
126
-	 */
127
-	public function setArchive(Archive $archive = null) {
128
-		$this->archive = $archive;
129
-	}
130
-
131
-	/**
132
-	 * @return Archive
133
-	 */
134
-	public function getArchive() {
135
-		return $this->archive;
136
-	}
137
-
138
-	/**
139
-	 * Get packages
140
-	 *
141
-	 * @return PackageCollection<Package>
142
-	 */
143
-	public function getPackages() {
144
-		return $this->packages;
145
-	}
146
-
147
-	/**
148
-	 * @param PackageCollection $packages
149
-	 * @return $this
150
-	 */
151
-	public function setPackages(PackageCollection $packages) {
152
-		$this->packages = $packages;
153
-
154
-		return $this;
155
-	}
156
-
157
-	/**
158
-	 * @return boolean
159
-	 */
160
-	public function getRequireDevDependencies() {
161
-		return $this->requireDevDependencies;
162
-	}
163
-
164
-	/**
165
-	 * @param boolean $requireDevDependencies
166
-	 * @return Config
167
-	 */
168
-	public function setRequireDevDependencies($requireDevDependencies) {
169
-		$this->requireDevDependencies = $requireDevDependencies;
170
-
171
-		return $this;
172
-	}
173
-
174
-	/**
175
-	 * @return boolean
176
-	 */
177
-	public function getRequireAll() {
178
-		return $this->requireAll;
179
-	}
180
-
181
-	/**
182
-	 * @param boolean $requireAll
183
-	 * @return $this
184
-	 */
185
-	public function setRequireAll($requireAll) {
186
-		$this->requireAll = $requireAll;
187
-
188
-		return $this;
189
-	}
18
+    /**
19
+     * @Type("string")
20
+     */
21
+    private $name;
22
+
23
+    /**
24
+     * @Type("string")
25
+     */
26
+    private $homepage;
27
+
28
+    /**
29
+     * @Type("App\Satis\Collections\RepositoryCollection<App\Satis\Model\Repository>")
30
+     */
31
+    private $repositories;
32
+
33
+    /**
34
+     * @Type("App\Satis\Collections\PackageCollection<App\Satis\Model\Package>")
35
+     * @SerializedName("require")
36
+     */
37
+    private $packages;
38
+
39
+    /**
40
+     * @Type("boolean")
41
+     * @SerializedName("require-all")
42
+     */
43
+    private $requireAll;
44
+
45
+    /**
46
+     * @Type("boolean")
47
+     * @SerializedName("require-dependencies")
48
+     */
49
+    private $requireDependencies;
50
+
51
+    /**
52
+     * @Type("boolean")
53
+     * @SerializedName("require-dev-dependencies")
54
+     */
55
+    private $requireDevDependencies;
56
+
57
+    /**
58
+     * @var Archive
59
+     * @Type("App\Satis\Model\Archive")
60
+     */
61
+    private $archive;
62
+
63
+    /**
64
+     * Constructor
65
+     */
66
+    public function __construct() {
67
+        $this->repositories = [];
68
+        $this->packages = [];
69
+        $this->requireAll = false;
70
+        $this->requireDependencies = true;
71
+        $this->requireDevDependencies = false;
72
+    }
73
+
74
+    /**
75
+     * Get name
76
+     *
77
+     * @return string $name
78
+     */
79
+    public function getName() {
80
+        return $this->name;
81
+    }
82
+
83
+    /**
84
+     * Get homepage
85
+     *
86
+     * @return string $homepage
87
+     */
88
+    public function getHomepage() {
89
+        return $this->homepage;
90
+    }
91
+
92
+    /**
93
+     * @param string $homepage
94
+     * @return $this
95
+     */
96
+    public function setHomepage($homepage) {
97
+        $this->homepage = $homepage;
98
+
99
+        return $this;
100
+    }
101
+
102
+    /**
103
+     * Get repositories
104
+     *
105
+     * @return RepositoryCollection<Repository>
106
+     */
107
+    public function getRepositories() {
108
+        return $this->repositories;
109
+    }
110
+
111
+    /**
112
+     * Set repositories
113
+     *
114
+     * @param RepositoryCollection $repositories
115
+     *
116
+     * @return static
117
+     */
118
+    public function setRepositories(RepositoryCollection $repositories) {
119
+        $this->repositories = $repositories;
120
+
121
+        return $this;
122
+    }
123
+
124
+    /**
125
+     * @param Archive $archive
126
+     */
127
+    public function setArchive(Archive $archive = null) {
128
+        $this->archive = $archive;
129
+    }
130
+
131
+    /**
132
+     * @return Archive
133
+     */
134
+    public function getArchive() {
135
+        return $this->archive;
136
+    }
137
+
138
+    /**
139
+     * Get packages
140
+     *
141
+     * @return PackageCollection<Package>
142
+     */
143
+    public function getPackages() {
144
+        return $this->packages;
145
+    }
146
+
147
+    /**
148
+     * @param PackageCollection $packages
149
+     * @return $this
150
+     */
151
+    public function setPackages(PackageCollection $packages) {
152
+        $this->packages = $packages;
153
+
154
+        return $this;
155
+    }
156
+
157
+    /**
158
+     * @return boolean
159
+     */
160
+    public function getRequireDevDependencies() {
161
+        return $this->requireDevDependencies;
162
+    }
163
+
164
+    /**
165
+     * @param boolean $requireDevDependencies
166
+     * @return Config
167
+     */
168
+    public function setRequireDevDependencies($requireDevDependencies) {
169
+        $this->requireDevDependencies = $requireDevDependencies;
170
+
171
+        return $this;
172
+    }
173
+
174
+    /**
175
+     * @return boolean
176
+     */
177
+    public function getRequireAll() {
178
+        return $this->requireAll;
179
+    }
180
+
181
+    /**
182
+     * @param boolean $requireAll
183
+     * @return $this
184
+     */
185
+    public function setRequireAll($requireAll) {
186
+        $this->requireAll = $requireAll;
187
+
188
+        return $this;
189
+    }
190 190
 }
Please login to merge, or discard this patch.
app/Satis/Model/ConfigLock.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Created by PhpStorm.
4
- * User: lhomza
5
- * Date: 1. 11. 2015
6
- * Time: 1:00
7
- */
3
+     * Created by PhpStorm.
4
+     * User: lhomza
5
+     * Date: 1. 11. 2015
6
+     * Time: 1:00
7
+     */
8 8
 
9 9
 namespace App\Satis\Model;
10 10
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      * @return $this
36 36
      */
37 37
     public function isLocked($locked = null) {
38
-        if($locked === null) {
38
+        if ($locked === null) {
39 39
             return $this->locked;
40 40
         }
41 41
 
Please login to merge, or discard this patch.
app/Satis/Model/Package.php 1 patch
Indentation   +41 added lines, -41 removed lines patch added patch discarded remove patch
@@ -11,62 +11,62 @@
 block discarded – undo
11 11
 * @author Lukas Homza <[email protected]>
12 12
 */
13 13
 class Package {
14
-  /**
15
-   * @Type("string")
16
-   */
17
-  private $name;
14
+    /**
15
+     * @Type("string")
16
+     */
17
+    private $name;
18 18
 
19
-  /**
20
-   * @Type("string")
21
-   */
22
-  private $version;
19
+    /**
20
+     * @Type("string")
21
+     */
22
+    private $version;
23 23
 
24
-  /**
25
-   * Initialize with default opinionated values
26
-   */
27
-  public function __construct() {
24
+    /**
25
+     * Initialize with default opinionated values
26
+     */
27
+    public function __construct() {
28 28
     $this->name = '';
29 29
     $this->version = '*';
30
-  }
30
+    }
31 31
 
32
-  /**
33
-   * @return string
34
-   */
35
-  public function getVersion() {
32
+    /**
33
+     * @return string
34
+     */
35
+    public function getVersion() {
36 36
     return $this->version;
37
-  }
37
+    }
38 38
 
39
-  /**
40
-   * @return string
41
-   */
42
-  public function getName() {
39
+    /**
40
+     * @return string
41
+     */
42
+    public function getName() {
43 43
     return $this->name;
44
-  }
44
+    }
45 45
 
46
-  /**
47
-   * @param string $version
48
-   */
49
-  public function setVersion($version) {
46
+    /**
47
+     * @param string $version
48
+     */
49
+    public function setVersion($version) {
50 50
     $this->version = $version;
51
-  }
51
+    }
52 52
 
53
-  /**
54
-   * @param mixed $name
55
-   * @return Package
56
-   */
57
-  public function setName($name) {
53
+    /**
54
+     * @param mixed $name
55
+     * @return Package
56
+     */
57
+    public function setName($name) {
58 58
     $this->name = $name;
59 59
 
60 60
     return $this;
61
-  }
61
+    }
62 62
 
63
-  /**
64
-   * Get repository ID
65
-   *
66
-   * @return string
67
-   */
68
-  public function getId() {
63
+    /**
64
+     * Get repository ID
65
+     *
66
+     * @return string
67
+     */
68
+    public function getId() {
69 69
     return ConfigManager::nameToId($this->name);
70
-  }
70
+    }
71 71
 
72 72
 }
Please login to merge, or discard this patch.
app/Satis/Model/Repository.php 1 patch
Indentation   +59 added lines, -59 removed lines patch added patch discarded remove patch
@@ -12,83 +12,83 @@
 block discarded – undo
12 12
 * @author Lukas Homza <[email protected]>
13 13
 */
14 14
 class Repository {
15
-  /**
16
-   * @Type("string")
17
-   */
18
-  private $type;
15
+    /**
16
+     * @Type("string")
17
+     */
18
+    private $type;
19 19
 
20
-  /**
21
-   * @Type("string")
22
-   */
23
-  private $url;
20
+    /**
21
+     * @Type("string")
22
+     */
23
+    private $url;
24 24
 
25
-  /**
26
-   * Initialize with default opinionated values
27
-   */
28
-  public function __construct() {
25
+    /**
26
+     * Initialize with default opinionated values
27
+     */
28
+    public function __construct() {
29 29
     $this->type = config('satis.default_repository_type');
30 30
     $this->url = '';
31
-  }
31
+    }
32 32
 
33
-  /**
34
-   * Get the string representation
35
-   *
36
-   * @return string
37
-   */
38
-  public function __toString() {
33
+    /**
34
+     * Get the string representation
35
+     *
36
+     * @return string
37
+     */
38
+    public function __toString() {
39 39
     return $this->url;
40
-  }
40
+    }
41 41
 
42
-  /**
43
-   * Get type
44
-   *
45
-   * @return string $type
46
-   */
47
-  public function getType() {
42
+    /**
43
+     * Get type
44
+     *
45
+     * @return string $type
46
+     */
47
+    public function getType() {
48 48
     return $this->type;
49
-  }
49
+    }
50 50
 
51
-  /**
52
-   * Set type
53
-   *
54
-   * @param string $type
55
-   *
56
-   * @return static
57
-   */
58
-  public function setType($type) {
51
+    /**
52
+     * Set type
53
+     *
54
+     * @param string $type
55
+     *
56
+     * @return static
57
+     */
58
+    public function setType($type) {
59 59
     $this->type = strtolower($type);
60 60
 
61 61
     return $this;
62
-  }
62
+    }
63 63
 
64
-  /**
65
-   * Get url
66
-   *
67
-   * @return string $url
68
-   */
69
-  public function getUrl() {
64
+    /**
65
+     * Get url
66
+     *
67
+     * @return string $url
68
+     */
69
+    public function getUrl() {
70 70
     return $this->url;
71
-  }
71
+    }
72 72
 
73
-  /**
74
-   * Set url
75
-   *
76
-   * @param string $url
77
-   *
78
-   * @return static
79
-   */
80
-  public function setUrl($url) {
73
+    /**
74
+     * Set url
75
+     *
76
+     * @param string $url
77
+     *
78
+     * @return static
79
+     */
80
+    public function setUrl($url) {
81 81
     $this->url = urldecode(strtolower($url));
82 82
 
83 83
     return $this;
84
-  }
84
+    }
85 85
 
86
-  /**
87
-   * Get repository ID
88
-   *
89
-   * @return string
90
-   */
91
-  public function getId() {
86
+    /**
87
+     * Get repository ID
88
+     *
89
+     * @return string
90
+     */
91
+    public function getId() {
92 92
     return ConfigManager::nameToId($this->url);
93
-  }
93
+    }
94 94
 }
Please login to merge, or discard this patch.