diff --git a/config/config.php b/config/config.php
index c7f90b7..f6214d1 100644
--- a/config/config.php
+++ b/config/config.php
@@ -111,14 +111,14 @@
'version' => $betaVersionInternal,
'versionstring' => $betaVersionString,
'downloadurl' => $beta_mac_url . 'Nextcloud-' . $betaVersion . '.pkg',
- // 'fileProviderDownloadUrl' => $beta_mac_url . 'Nextcloud-macOS-vfs-' . $betaVersion . '.pkg', TODO: 3.13.0
+ // 'fileProviderDownloadUrl' => $beta_mac_url . 'Nextcloud-macOS-vfs-' . $betaVersion . '.pkg', TODO: 3.13.0
'web' => 'https://nextcloud.com/install',
"sparkleDownloadUrl" => $beta_mac_url . 'Nextcloud-' . $betaVersion . '.pkg.tbz',
- // "fileProviderSparkleDownloadUrl" => $beta_mac_url . 'Nextcloud-macOS-vfs-' . $betaVersion . '.pkg', TODO: 3.13.0
+ // "fileProviderSparkleDownloadUrl" => $beta_mac_url . 'Nextcloud-macOS-vfs-' . $betaVersion . '.pkg', TODO: 3.13.0
"signature" => "5wXe1phH6syvreaT+2Lah40CBzdyVnjzCWlmAjdwoKe/uSDlR+Hk5er+Y7nu/W2FDkeLvAxzNr2nK4HIhJZ+Cw==",
- // "fileProviderSignature" => "5wXe1phH6syvreaT+2Lah40CBzdyVnjzCWlmAjdwoKe/uSDlR+Hk5er+Y7nu/W2FDkeLvAxzNr2nK4HIhJZ+Cw==", TODO: 3.13.0
+ // "fileProviderSignature" => "5wXe1phH6syvreaT+2Lah40CBzdyVnjzCWlmAjdwoKe/uSDlR+Hk5er+Y7nu/W2FDkeLvAxzNr2nK4HIhJZ+Cw==", TODO: 3.13.0
"length" => 64530955 //,
- // "fileProviderLength" => 64530955 TODO: 3.13.0
+ // "fileProviderLength" => 64530955 TODO: 3.13.0
],
]
]
diff --git a/index.php b/index.php
index af82ab7..88b8b1e 100644
--- a/index.php
+++ b/index.php
@@ -102,7 +102,7 @@
$version,
$channel,
$isSparkle,
- $isFileProvider,
+ $isFileProvider,
$config
);
echo $response->buildResponse();
diff --git a/src/Response.php b/src/Response.php
index 9261c2d..2b5585a 100644
--- a/src/Response.php
+++ b/src/Response.php
@@ -33,8 +33,8 @@ class Response {
private $channel;
/** @var bool */
private $isSparkle;
- /** @var bool */
- private $isFileProvider;
+ /** @var bool */
+ private $isFileProvider;
/** @var array */
private $config;
@@ -50,7 +50,7 @@ public function __construct(string $oem,
$this->version = $version;
$this->channel = $channel;
$this->isSparkle = $isSparkle;
- $this->isFileProvider = $isFileProvider;
+ $this->isFileProvider = $isFileProvider;
$this->config = $config;
}
diff --git a/tests/unit/ResponseTest.php b/tests/unit/ResponseTest.php
index 5bbd445..192cd23 100644
--- a/tests/unit/ResponseTest.php
+++ b/tests/unit/ResponseTest.php
@@ -127,7 +127,7 @@ public function updateDataProvider(): array
'1.9.0',
'stable',
false,
- false,
+ false,
$config,
'
2.2.2Nextcloud Client 2.2.2https://download.nextcloud.com/desktop/stable/Nextcloud-2.2.2-x64.AppImagehttps://nextcloud.com/install/#install-clients
@@ -140,7 +140,7 @@ public function updateDataProvider(): array
'1.9.0',
'stable',
false,
- false,
+ false,
$config,
'
2.2.2.3472Nextcloud Client 2.2.2 (build 3472)https://download.owncloud.com/desktop/stable/ownCloud-2.2.2.3472.pkghttps://download.owncloud.com/desktop/stable/ownCloud-2.2.2.3472.pkg.tbzMC0CFQDmXR6biDmNVW7TvMh0bfPPTzCvtwIUCzASgpzYdi4lltOnwbFCeQwgDjY=62738920
@@ -153,7 +153,7 @@ public function updateDataProvider(): array
'1.9.0',
'stable',
true,
- false,
+ false,
$config,
'
@@ -175,7 +175,7 @@ public function updateDataProvider(): array
'1.9.0',
'beta',
false,
- false,
+ false,
$config,
'
2.2.3-rc3Nextcloud Client 2.2.3-rc3https://download.nextcloud.com/desktop/stable/Nextcloud-2.2.3-rc3-x86.msihttps://nextcloud.com/install/#install-clients
@@ -188,7 +188,7 @@ public function updateDataProvider(): array
'2.2.3-rc1',
'beta',
false,
- false,
+ false,
$config,
'
2.2.3-rc3Nextcloud Client 2.2.3-rc3https://download.nextcloud.com/desktop/stable/Nextcloud-2.2.3-rc3-x86.msihttps://nextcloud.com/install/#install-clients
@@ -201,7 +201,7 @@ public function updateDataProvider(): array
'2.2.2-rc1',
'beta',
false,
- false,
+ false,
$config,
'
2.2.2Nextcloud Client 2.2.2https://download.nextcloud.com/desktop/stable/Nextcloud-2.2.2-x64.AppImagehttps://nextcloud.com/install/#install-clients
@@ -214,7 +214,7 @@ public function updateDataProvider(): array
'1.9.0',
'stable',
false,
- false,
+ false,
$config,
'
@@ -227,7 +227,7 @@ public function updateDataProvider(): array
'1.9.0',
'stable',
false,
- false,
+ false,
$config,
'
@@ -240,7 +240,7 @@ public function updateDataProvider(): array
'2.2.2.6192',
'stable',
false,
- false,
+ false,
$config,
'
@@ -253,7 +253,7 @@ public function updateDataProvider(): array
'2.2.6192',
'stable',
true,
- false,
+ false,
$config,
'
@@ -266,7 +266,7 @@ public function updateDataProvider(): array
'2.2.2',
'stable',
false,
- false,
+ false,
$config,
'
@@ -279,7 +279,7 @@ public function updateDataProvider(): array
'2.2.2.3472',
'stable',
false,
- false,
+ false,
$config,
'
@@ -292,7 +292,7 @@ public function updateDataProvider(): array
'2.2.2.3472',
'stable',
true,
- false,
+ false,
$config,
'
@@ -314,7 +314,7 @@ public function updateDataProvider(): array
'2.3',
'stable',
false,
- false,
+ false,
$config,
'
@@ -327,7 +327,7 @@ public function updateDataProvider(): array
'2.3',
'stable',
true,
- false,
+ false,
$config,
'
@@ -340,7 +340,7 @@ public function updateDataProvider(): array
'2.3',
'stable',
false,
- false,
+ false,
$config,
'
@@ -353,7 +353,7 @@ public function updateDataProvider(): array
'2.3',
'stable',
false,
- false,
+ false,
$config,
'
@@ -366,7 +366,7 @@ public function updateDataProvider(): array
'2.3',
'stable',
true,
- false,
+ false,
$config,
'
@@ -383,14 +383,14 @@ public function updateDataProvider(): array
],
// #22 Sparkle on, always needs to know what the latest version is
[
- 'nextcloud',
- 'macos',
- '2.2.2-rc2',
- 'beta',
- true,
- false,
- $config,
- '
+ 'nextcloud',
+ 'macos',
+ '2.2.2-rc2',
+ 'beta',
+ true,
+ false,
+ $config,
+ '
Download Channel
@@ -403,16 +403,16 @@ public function updateDataProvider(): array
'
],
- // #23 Sparkle on, always needs to know what the latest version is
- [
- 'nextcloud',
- 'macos',
- '2.2.2',
- 'beta',
- true,
- false,
- $config,
- '
+ // #23 Sparkle on, always needs to know what the latest version is
+ [
+ 'nextcloud',
+ 'macos',
+ '2.2.2',
+ 'beta',
+ true,
+ false,
+ $config,
+ '
Download Channel
@@ -424,8 +424,8 @@ public function updateDataProvider(): array
11.0
'
- ]
- ];
+ ]
+ ];
}
/**