Completed
Pull Request — master (#289)
by Martin
02:16
created
src/Command/CheckSystemCommand.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -21,11 +21,8 @@
 block discarded – undo
21 21
 
22 22
 namespace Owncloud\Updater\Command;
23 23
 
24
-use Symfony\Component\Console\Input\InputArgument;
25 24
 use Symfony\Component\Console\Input\InputInterface;
26
-use Symfony\Component\Console\Input\InputOption;
27 25
 use Symfony\Component\Console\Output\OutputInterface;
28
-
29 26
 use Owncloud\Updater\Utils\Collection;
30 27
 
31 28
 class CheckSystemCommand extends Command {
Please login to merge, or discard this patch.
src/Command/DetectCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 
22 22
 namespace Owncloud\Updater\Command;
23 23
 
24
-use Symfony\Component\Console\Input\InputArgument;
25 24
 use Symfony\Component\Console\Input\InputInterface;
26 25
 use Symfony\Component\Console\Input\InputOption;
27 26
 use Symfony\Component\Console\Output\OutputInterface;
Please login to merge, or discard this patch.
src/Command/ExecuteCoreUpgradeScriptsCommand.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -22,9 +22,7 @@
 block discarded – undo
22 22
 
23 23
 namespace Owncloud\Updater\Command;
24 24
 
25
-use Symfony\Component\Console\Input\InputArgument;
26 25
 use Symfony\Component\Console\Input\InputInterface;
27
-use Symfony\Component\Console\Input\InputOption;
28 26
 use Symfony\Component\Console\Output\OutputInterface;
29 27
 use Owncloud\Updater\Utils\OccRunner;
30 28
 use Owncloud\Updater\Utils\ZipExtractor;
Please login to merge, or discard this patch.
src/Utils/Locator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 
51 51
 	/**
52 52
 	 * expected items in the core
53
-	 * @return array
53
+	 * @return string[]
54 54
 	 */
55 55
 	public function getRootDirContent(){
56 56
 		return [
Please login to merge, or discard this patch.
src/Command/PostUpgradeCleanupCommand.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -22,9 +22,7 @@
 block discarded – undo
22 22
 
23 23
 namespace Owncloud\Updater\Command;
24 24
 
25
-use Symfony\Component\Console\Input\InputArgument;
26 25
 use Symfony\Component\Console\Input\InputInterface;
27
-use Symfony\Component\Console\Input\InputOption;
28 26
 use Symfony\Component\Console\Output\OutputInterface;
29 27
 use Owncloud\Updater\Utils\OccRunner;
30 28
 use Owncloud\Updater\Utils\ZipExtractor;
Please login to merge, or discard this patch.
src/Utils/FilesystemHelper.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 	/**
27 27
 	 * Wrapper for filemtime function
28 28
 	 * @param string $path
29
-	 * @return array
29
+	 * @return integer
30 30
 	 */
31 31
 	public function filemtime($path){
32 32
 		return filemtime($path);
@@ -156,6 +156,9 @@  discard block
 block discarded – undo
156 156
 		}
157 157
 	}
158 158
 
159
+	/**
160
+	 * @param string $path
161
+	 */
159 162
 	public function removeIfExists($path) {
160 163
 		if (!file_exists($path)) {
161 164
 			return;
Please login to merge, or discard this patch.