Skip to content

Commit 3b03e1e

Browse files
Merge branch '4.0' into 4.1
2 parents cb6182e + f4ff14f commit 3b03e1e

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ CHANGE LOG
77
* TODO
88

99

10+
## V4.0.1 (14/03/2021)
11+
12+
* Fixed some incorrect endpoint URIs
13+
14+
1015
## V4.0 (22/12/2020)
1116

1217
* Dropped support for PHP 7.1

src/Api/Repositories/Workspaces/Environments.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Environments extends AbstractWorkspacesApi
3131
*/
3232
public function list(array $params = [])
3333
{
34-
$uri = $this->buildEnvironmentsUri();
34+
$uri = UriBuilder::appendSeparator($this->buildEnvironmentsUri());
3535

3636
return $this->get($uri, $params);
3737
}
@@ -60,7 +60,7 @@ public function show(string $env, array $params = [])
6060
*/
6161
public function create(array $params = [])
6262
{
63-
$uri = $this->buildEnvironmentsUri();
63+
$uri = UriBuilder::appendSeparator($this->buildEnvironmentsUri());
6464

6565
return $this->post($uri, $params);
6666
}

src/Api/Workspaces/PipelinesConfig/Variables.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,6 @@ public function remove(string $variable, array $params = [])
104104
*/
105105
protected function buildVariablesUri(string ...$parts)
106106
{
107-
return UriBuilder::build('workspaces', $this->workspace, 'pipelines_config', 'variables', ...$parts);
107+
return UriBuilder::build('workspaces', $this->workspace, 'pipelines-config', 'variables', ...$parts);
108108
}
109109
}

vendor-bin/phpstan/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"require": {
33
"php": "^7.2.5 || ^8.0",
4-
"phpstan/phpstan": "0.12.78",
4+
"phpstan/phpstan": "0.12.81",
55
"phpstan/phpstan-deprecation-rules": "0.12.6",
66
"phpstan/phpstan-strict-rules": "0.12.9",
77
"thecodingmachine/phpstan-strict-rules": "0.12.1",

vendor-bin/psalm/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"require": {
33
"php": "^7.2.5 || ^8.0",
4-
"psalm/phar": "4.6.1"
4+
"psalm/phar": "4.6.2"
55
},
66
"config": {
77
"preferred-install": "dist"

0 commit comments

Comments
 (0)