Completed
Push — master ( 0545e6...9b96e2 )
by Luke
08:54
created
lib/ComponentManager/PackageSource/ZipPackageSource.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -79,9 +79,9 @@  discard block
 block discarded – undo
79 79
      * @return string
80 80
      */
81 81
     protected function getArchiveFilename(Component $component,
82
-                                          ComponentVersion $version) {
82
+                                            ComponentVersion $version) {
83 83
         return sprintf(static::ARCHIVE_FILENAME_FORMAT, $component->getName(),
84
-                       $version->getVersion());
84
+                        $version->getVersion());
85 85
     }
86 86
 
87 87
     /**
@@ -93,18 +93,18 @@  discard block
 block discarded – undo
93 93
      * @return string
94 94
      */
95 95
     protected function getTargetDirectory(Component $component,
96
-                                          ComponentVersion $version) {
96
+                                            ComponentVersion $version) {
97 97
         return sprintf(static::TARGET_DIRECTORY_FORMAT, $component->getName(),
98
-                       $version->getVersion());
98
+                        $version->getVersion());
99 99
     }
100 100
 
101 101
     /**
102 102
      * @override \ComponentManager\PackageSource\PackageSource
103 103
      */
104 104
     public function obtainPackage($tempDirectory,
105
-                                  ResolvedComponentVersion $resolvedComponentVersion,
106
-                                  Filesystem $filesystem,
107
-                                  LoggerInterface $logger) {
105
+                                    ResolvedComponentVersion $resolvedComponentVersion,
106
+                                    Filesystem $filesystem,
107
+                                    LoggerInterface $logger) {
108 108
         $component = $resolvedComponentVersion->getComponent();
109 109
         $version   = $resolvedComponentVersion->getVersion();
110 110
         $sources   = $version->getSources();
@@ -170,8 +170,8 @@  discard block
 block discarded – undo
170 170
      * @throws InstallationFailureException
171 171
      */
172 172
     protected function trySource($tempDirectory, LoggerInterface $logger,
173
-                                 Component $component, ComponentVersion $version,
174
-                                 ZipComponentSource $source) {
173
+                                    Component $component, ComponentVersion $version,
174
+                                    ZipComponentSource $source) {
175 175
         $archiveFilename = $this->platform->joinPaths([
176 176
             $tempDirectory,
177 177
             $this->getArchiveFilename($component, $version),
Please login to merge, or discard this patch.
lib/ComponentManager/Platform/AbstractPlatform.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -94,6 +94,7 @@
 block discarded – undo
94 94
 
95 95
     /**
96 96
      * @override \ComponentManager\Platform\Platform
97
+     * @return string
97 98
      */
98 99
     public function getPhpScript() {
99 100
         return $_SERVER['argv'][0];
Please login to merge, or discard this patch.
lib/ComponentManager/Platform/Platform.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,6 +22,7 @@  discard block
 block discarded – undo
22 22
      * Initialiser.
23 23
      *
24 24
      * @param \Symfony\Component\Filesystem\Filesystem $filesystem
25
+     * @return void
25 26
      */
26 27
     public function __construct(Filesystem $filesystem);
27 28
 
@@ -64,7 +65,7 @@  discard block
 block discarded – undo
64 65
     /**
65 66
      * Get the user's home directory.
66 67
      *
67
-     * @return mixed
68
+     * @return string
68 69
      */
69 70
     public function getHomeDirectory();
70 71
 
Please login to merge, or discard this patch.
lib/ComponentManager/DependencyInjection/ConsoleCommandsPass.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
      * @param string|null $tagName
54 54
      * @param string|null $appId
55 55
      */
56
-    public function __construct($tagName=null, $appId=null) {
56
+    public function __construct($tagName = null, $appId = null) {
57 57
         $this->tagName = ($tagName === null) ? 'console.command' : $tagName;
58 58
         $this->appId = ($appId === null) ? 'console.application' : $appId;
59 59
     }
Please login to merge, or discard this patch.
lib/ComponentManager/DependencyInjection/ContainerAwareTrait.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
      * @return void
29 29
      */
30
-    public function setContainer(ContainerInterface $container=null) {
30
+    public function setContainer(ContainerInterface $container = null) {
31 31
         $this->container = $container;
32 32
     }
33 33
 }
Please login to merge, or discard this patch.