Skip to content

Commit e022bc0

Browse files
committed
vendor upgrade
1 parent 7ccdd8e commit e022bc0

3 files changed

Lines changed: 18 additions & 18 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ A simple skeleton to build api's based on the [chubbyphp-framework][1].
3434
* [chubbyphp/chubbyphp-laminas-config-doctrine][10]: ^3.1.1
3535
* [chubbyphp/chubbyphp-laminas-config-factory][11]: ^1.5.1
3636
* [chubbyphp/chubbyphp-negotiation][12]: ^2.3.1
37-
* [chubbyphp/chubbyphp-parsing][13]: ^2.4
38-
* [doctrine/orm][14]: ^3.6.1
37+
* [chubbyphp/chubbyphp-parsing][13]: ^2.5
38+
* [doctrine/orm][14]: ^3.6.2
3939
* [monolog/monolog][15]: ^3.10
4040
* [ramsey/uuid][16]: ^4.9.2
4141
* [slim/psr7][17]: ^1.8
42-
* [symfony/console][18]: ^7.4.3|^8.0.3
43-
* [symfony/var-exporter][19]: ^7.4.0|^8.0.0
42+
* [symfony/console][18]: ^7.4.7|^8.0.7
43+
* [symfony/var-exporter][19]: ^7.4|^8.0
4444

4545
## Environment
4646

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,23 @@
2626
"chubbyphp/chubbyphp-laminas-config-doctrine": "^3.1.1",
2727
"chubbyphp/chubbyphp-laminas-config-factory": "^1.5.1",
2828
"chubbyphp/chubbyphp-negotiation": "^2.3.1",
29-
"chubbyphp/chubbyphp-parsing": "^2.4",
30-
"doctrine/orm": "^3.6.1",
29+
"chubbyphp/chubbyphp-parsing": "^2.5",
30+
"doctrine/orm": "^3.6.2",
3131
"monolog/monolog": "^3.10",
3232
"ramsey/uuid": "^4.9.2",
3333
"slim/psr7": "^1.8",
34-
"symfony/console": "^7.4.3|^8.0.3",
35-
"symfony/var-exporter": "^7.4.0|^8.0.0"
34+
"symfony/console": "^7.4.7|^8.0.7",
35+
"symfony/var-exporter": "^7.4|^8.0"
3636
},
3737
"require-dev": {
3838
"chubbyphp/chubbyphp-dev-helper": "dev-master",
3939
"chubbyphp/chubbyphp-mock": "^2.1.2",
4040
"dg/bypass-finals": "^1.9",
41-
"infection/infection": "^0.32.3",
41+
"infection/infection": "^0.32.6",
4242
"php-coveralls/php-coveralls": "^2.9.1",
4343
"phpstan/extension-installer": "^1.4.3",
44-
"phpstan/phpstan": "^2.1.33",
45-
"phpunit/phpunit": "^12.5.6"
44+
"phpstan/phpstan": "^2.1.42",
45+
"phpunit/phpunit": "^12.5.14"
4646
},
4747
"autoload": {
4848
"psr-4": {

src/Pet/Parsing/PetParsing.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ public function getCollectionRequestSchema(ServerRequestInterface $request): Obj
5151
], PetCollectionFilters::class)->strict()->default([]),
5252
'sort' => $p->object([
5353
'name' => $p->union([
54-
$p->literal('asc'),
55-
$p->literal('desc'),
54+
$p->const('asc'),
55+
$p->const('desc'),
5656
])->nullable()->default(null),
5757
], PetCollectionSort::class)->strict()->default([]),
5858
], PetCollectionRequest::class)->strict();
@@ -74,13 +74,13 @@ public function getCollectionResponseSchema(ServerRequestInterface $request): Ob
7474
], PetCollectionFilters::class)->strict(),
7575
'sort' => $p->object([
7676
'name' => $p->union([
77-
$p->literal('asc'),
78-
$p->literal('desc'),
77+
$p->const('asc'),
78+
$p->const('desc'),
7979
])->nullable()->default(null),
8080
], PetCollectionSort::class)->strict(),
8181
'items' => $p->array($this->getModelResponseSchema($request)),
8282
'count' => $p->int(),
83-
'_type' => $p->literal('petCollection')->default('petCollection'),
83+
'_type' => $p->const('petCollection')->default('petCollection'),
8484
], PetCollectionResponse::class)
8585
->strict()
8686
->postParse(function (PetCollectionResponse $petCollectionResponse) {
@@ -144,9 +144,9 @@ public function getModelResponseSchema(ServerRequestInterface $request): ObjectS
144144
'tag' => $p->string()->nullable(),
145145
'vaccinations' => $p->array($p->object([
146146
'name' => $p->string(),
147-
'_type' => $p->literal('vaccination')->default('vaccination'),
147+
'_type' => $p->const('vaccination')->default('vaccination'),
148148
], VaccinationResponse::class)->strict()),
149-
'_type' => $p->literal('pet')->default('pet'),
149+
'_type' => $p->const('pet')->default('pet'),
150150
], PetResponse::class)->strict()
151151
->postParse(function (PetResponse $petResponse) {
152152
$petResponse->_links = [

0 commit comments

Comments
 (0)