Skip to content

Commit 07c160a

Browse files
authored
Merge pull request #5 from nortoh/feature.php83-convert-arrays-to-array-objects
[MAD-14311] Corrections to use ArrayObject
2 parents 3ffc3de + dea99a4 commit 07c160a

File tree

401 files changed

+17929
-2495
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

401 files changed

+17929
-2495
lines changed

.jane-openapi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
return [
44
'directory' => 'src',
55
'namespace' => 'Docker\\API',
6-
'openapi-file' => __DIR__ . '/openapi.yaml',
6+
'openapi-file' => __DIR__ . '/openapi.json',
77
'strict' => false,
88
];

composer.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,11 @@
1010
},
1111
"require": {
1212
"php": ">=7.1",
13-
"jane-php/open-api-runtime": "^7.0"
13+
"jane-php/jane-php": "^7.0"
1414
},
1515
"require-dev": {
1616
"phpunit/phpunit": "^10.4",
1717
"friendsofphp/php-cs-fixer": "^2.9",
18-
"jane-php/open-api-3": "^7.0",
19-
"jane-php/json-schema": "^7.0",
2018
"amphp/artax": "^3.0"
2119
},
2220
"suggest": {
@@ -28,5 +26,10 @@
2826
}
2927
},
3028
"minimum-stability": "dev",
31-
"prefer-stable": true
29+
"prefer-stable": true,
30+
"config": {
31+
"allow-plugins": {
32+
"php-http/discovery": false
33+
}
34+
}
3235
}

openapi.json

Lines changed: 15431 additions & 0 deletions
Large diffs are not rendered by default.

src/Client.php

Lines changed: 219 additions & 219 deletions
Large diffs are not rendered by default.

src/Endpoint/BuildPrune.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ public function getAuthenticationScopes() : array
4343
{
4444
return array();
4545
}
46-
}
46+
}

src/Endpoint/ConfigCreate.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
class ConfigCreate extends \Docker\API\Runtime\Client\BaseEndpoint implements \Docker\API\Runtime\Client\Endpoint
66
{
77
/**
8-
*
98
*
10-
* @param null|\Docker\API\Model\ConfigsCreatePostBody $requestBody
9+
*
10+
* @param null|\Docker\API\Model\ConfigsCreatePostBody $requestBody
1111
*/
1212
public function __construct(?\Docker\API\Model\ConfigsCreatePostBody $requestBody = null)
1313
{
@@ -63,4 +63,4 @@ public function getAuthenticationScopes() : array
6363
{
6464
return array();
6565
}
66-
}
66+
}

src/Endpoint/ConfigDelete.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class ConfigDelete extends \Docker\API\Runtime\Client\BaseEndpoint implements \D
66
{
77
protected $id;
88
/**
9-
*
9+
*
1010
*
1111
* @param string $id ID of the config
1212
*/
@@ -60,4 +60,4 @@ public function getAuthenticationScopes() : array
6060
{
6161
return array();
6262
}
63-
}
63+
}

src/Endpoint/ConfigInspect.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class ConfigInspect extends \Docker\API\Runtime\Client\BaseEndpoint implements \
66
{
77
protected $id;
88
/**
9-
*
9+
*
1010
*
1111
* @param string $id ID of the config
1212
*/
@@ -61,4 +61,4 @@ public function getAuthenticationScopes() : array
6161
{
6262
return array();
6363
}
64-
}
64+
}

src/Endpoint/ConfigList.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
class ConfigList extends \Docker\API\Runtime\Client\BaseEndpoint implements \Docker\API\Runtime\Client\Endpoint
66
{
77
/**
8-
*
8+
*
99
*
1010
* @param array $queryParameters {
1111
* @var string $filters A JSON encoded value of the filters (a `map[string][]string`) to process on the configs list. Available filters:
12-
12+
1313
- `id=<config id>`
1414
- `label=<key> or label=<key>=value`
1515
- `name=<config name>`
1616
- `names=<config name>`
17-
17+
1818
* }
1919
*/
2020
public function __construct(array $queryParameters = array())
@@ -73,4 +73,4 @@ public function getAuthenticationScopes() : array
7373
{
7474
return array();
7575
}
76-
}
76+
}

src/Endpoint/ConfigUpdate.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ class ConfigUpdate extends \Docker\API\Runtime\Client\BaseEndpoint implements \D
77
protected $id;
88
protected $accept;
99
/**
10-
*
10+
*
1111
*
1212
* @param string $id The ID or name of the config
13-
* @param null|\Docker\API\Model\ConfigSpec $requestBody
13+
* @param null|\Docker\API\Model\ConfigSpec $requestBody
1414
* @param array $queryParameters {
1515
* @var int $version The version number of the config object being updated. This is required to avoid conflicting writes.
1616
* }
@@ -91,4 +91,4 @@ public function getAuthenticationScopes() : array
9191
{
9292
return array();
9393
}
94-
}
94+
}

0 commit comments

Comments
 (0)