Skip to content

Commit 3546eec

Browse files
committed
Updated all dependencies to latest version
1 parent b8bde25 commit 3546eec

739 files changed

Lines changed: 27894 additions & 32507 deletions

File tree

Some content is hidden

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

.jane-openapi

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
<?php
22

33
return [
4-
'directory' => 'src',
5-
'namespace' => 'Docker\\API',
6-
'openapi-file' => __DIR__ . '/docker-swagger.yaml',
7-
'async' => true,
8-
'strict' => false,
9-
];
4+
'date-prefer-interface' => true,
5+
'directory' => __DIR__ . '/src',
6+
'namespace' => 'Docker\\API',
7+
'openapi-file' => __DIR__ . '/spec/v1.36.json',
8+
'reference' => true,
9+
'strict' => true,
10+
];

.php_cs

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?php
2+
3+
$finder = \PhpCsFixer\Finder::create()
4+
->in([
5+
__DIR__.'/src',
6+
]);
7+
8+
return \PhpCsFixer\Config::create()
9+
->setRules([
10+
'@Symfony' => true,
11+
'@Symfony:risky' => true,
12+
'@PHP56Migration' => true,
13+
'@PHP56Migration:risky' => true,
14+
'@PHP70Migration' => true,
15+
'@PHP70Migration:risky' => true,
16+
'@PHP71Migration' => true,
17+
'@PHP71Migration:risky' => true,
18+
'@PHP73Migration' => true,
19+
'@PHP74Migration' => true,
20+
'@PHP74Migration:risky' => true,
21+
'@PHP80Migration' => true,
22+
'@PHP80Migration:risky' => true,
23+
'array_syntax' => [
24+
'syntax' => 'short'
25+
],
26+
'align_multiline_comment' => true,
27+
'combine_consecutive_unsets' => true,
28+
'declare_strict_types' => true,
29+
'linebreak_after_opening_tag' => true,
30+
'modernize_types_casting' => true,
31+
'native_function_invocation' => true,
32+
'no_php4_constructor' => true,
33+
'ordered_imports' => true,
34+
'php_unit_strict' => true,
35+
'phpdoc_line_span' => true,
36+
'phpdoc_order' => true,
37+
'strict_comparison' => true,
38+
'strict_param' => true,
39+
])
40+
->setRiskyAllowed(true)
41+
->setIndent(' ')
42+
->setLineEnding("\n")
43+
->setFinder($finder)
44+
;

composer.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,30 @@
33
"license": "MIT",
44
"type": "library",
55
"description": "Docker API generated files from OpenAPI Specification",
6+
"config": {
7+
"sort-packages": true
8+
},
69
"autoload": {
710
"psr-4": {
811
"Docker\\API\\": "src/"
912
}
1013
},
1114
"require": {
1215
"php": ">=7.1",
13-
"jane-php/open-api-runtime": "^4.0"
16+
"jane-php/open-api-runtime": "^6.3"
1417
},
1518
"require-dev": {
16-
"phpunit/phpunit": "^6.0",
17-
"friendsofphp/php-cs-fixer": "^2.9",
18-
"jane-php/open-api": "^4.0",
19-
"jane-php/json-schema": "^4.0",
20-
"amphp/artax": "^3.0"
19+
"amphp/http-client": "^4.5",
20+
"friendsofphp/php-cs-fixer": "^2.17",
21+
"jane-php/json-schema": "^6.3",
22+
"jane-php/open-api-3": "^6.3"
2123
},
2224
"suggest": {
23-
"amphp/artax": "To use the async api"
25+
"amphp/http-client": "To use the async api"
2426
},
2527
"extra": {
2628
"branch-alias": {
27-
"4.1.36": "4.1.36.x-dev"
29+
"6.1.36": "6.1.36.x-dev"
2830
}
2931
},
3032
"minimum-stability": "dev",

0 commit comments

Comments
 (0)