@@ -83,6 +83,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | { |
@@ -48,12 +48,12 @@ |
||
| 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 | } |
@@ -10,7 +10,6 @@ |
||
| 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) |
@@ -10,7 +10,6 @@ |
||
| 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) |
@@ -10,7 +10,6 @@ |
||
| 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) |
@@ -10,8 +10,8 @@ |
||
| 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 | { |
@@ -175,7 +175,6 @@ |
||
| 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 | { |
@@ -166,7 +166,7 @@ |
||
| 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 | } |
@@ -25,7 +25,7 @@ |
||
| 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 | } |