Completed
Branch master (912878)
by ophelie
02:37
created
src/DockerCompose/ComposeFileCollection.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -83,6 +83,7 @@  discard block
 block discarded – undo
83 83
 
84 84
     /**
85 85
      * Set Project Name
86
+     * @param string $projectName
86 87
      */
87 88
     public function setProjectName($projectName)
88 89
     {
@@ -100,6 +101,7 @@  discard block
 block discarded – undo
100 101
 
101 102
     /**
102 103
      * Set is Networking
104
+     * @param boolean $isNetworking
103 105
      */
104 106
     public function setIsNetworking($isNetworking)
105 107
     {
@@ -119,6 +121,7 @@  discard block
 block discarded – undo
119 121
      * Set Networking driver
120 122
      *
121 123
      * @throws Exception When $networkDriver is not a valid driver
124
+     * @param string $networkDriver
122 125
      */
123 126
     public function setNetworkDriver($networkDriver)
124 127
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,12 +48,12 @@
 block discarded – undo
48 48
                     $this->add(new ComposeFile($composeFile));
49 49
                 } else {
50 50
                     throw new \Exception(
51
-                        'Invalid composeFile definition "('.gettype(
51
+                        'Invalid composeFile definition "(' . gettype(
52 52
                             $composeFile
53
-                        ).') '.var_export(
53
+                        ) . ') ' . var_export(
54 54
                             $composeFile,
55 55
                             true
56
-                        ).'"'
56
+                        ) . '"'
57 57
                     );
58 58
                 }
59 59
             }
Please login to merge, or discard this patch.
src/DockerCompose/Exception/ComposeFileNotFoundException.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 class ComposeFileNotFoundException extends Exception
11 11
 {
12 12
     /**
13
-     * @param string         $containerId
14 13
      * @param null|Exception $previous
15 14
      */
16 15
     public function __construct(Exception $previous = null)
Please login to merge, or discard this patch.
src/DockerCompose/Exception/DockerHostConnexionErrorException.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 class DockerHostConnexionErrorException extends Exception
11 11
 {
12 12
     /**
13
-     * @param string         $containerId
14 13
      * @param null|Exception $previous
15 14
      */
16 15
     public function __construct(Exception $previous = null)
Please login to merge, or discard this patch.
src/DockerCompose/Exception/DockerInstallationMissingException.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 class DockerInstallationMissingException extends Exception
11 11
 {
12 12
     /**
13
-     * @param string         $containerId
14 13
      * @param null|Exception $previous
15 14
      */
16 15
     public function __construct(Exception $previous = null)
Please login to merge, or discard this patch.
src/DockerCompose/Exception/NoSuchServiceException.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,8 +10,8 @@
 block discarded – undo
10 10
 class NoSuchServiceException extends Exception
11 11
 {
12 12
     /**
13
-     * @param string         $containerId
14 13
      * @param null|Exception $previous
14
+     * @param string $output
15 15
      */
16 16
     public function __construct($output, Exception $previous = null)
17 17
     {
Please login to merge, or discard this patch.
src/DockerCompose/Manager/ComposeManager.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -175,7 +175,6 @@
 block discarded – undo
175 175
      * Execute docker-compose commande
176 176
      *
177 177
      * @param string                $command      The command to execute
178
-     * @param ComposeFileCollection $composeFiles The compose files to use for command
179 178
      */
180 179
     protected function execute($command)
181 180
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
             $preciseFiles .= ' -f ' . $composeFile->getFileName();
167 167
         }
168 168
 
169
-        $command = 'docker-compose' . $preciseFiles . $networking . $networkDriver . $project . ' ' .$subcommand;
169
+        $command = 'docker-compose' . $preciseFiles . $networking . $networkDriver . $project . ' ' . $subcommand;
170 170
 
171 171
         return $command;
172 172
     }
Please login to merge, or discard this patch.
src/DockerCompose/ComposeFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         if (is_string($name)) {
26 26
             $this->setFileName($name);
27 27
         } else {
28
-            throw new Exception('Invalid fileName definition "('.gettype($name).') '.var_export($name, true).'"');
28
+            throw new Exception('Invalid fileName definition "(' . gettype($name) . ') ' . var_export($name, true) . '"');
29 29
 
30 30
         }
31 31
     }
Please login to merge, or discard this patch.