Skip to content

Commit 7967a55

Browse files
committed
vendor upgrade
1 parent 0996bd0 commit 7967a55

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ 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
37+
* [chubbyphp/chubbyphp-parsing][13]: ^2.5
3838
* [doctrine/mongodb-odm][14]: ^2.15.3
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
42+
* [symfony/console][18]: ^7.4.7|^8.0.7
4343

4444
## Environment
4545

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,22 @@
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",
29+
"chubbyphp/chubbyphp-parsing": "^2.5",
3030
"doctrine/mongodb-odm": "^2.15.3",
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"
34+
"symfony/console": "^7.4.7|^8.0.7"
3535
},
3636
"require-dev": {
3737
"chubbyphp/chubbyphp-dev-helper": "dev-master",
3838
"chubbyphp/chubbyphp-mock": "^2.1.2",
3939
"dg/bypass-finals": "^1.9",
40-
"infection/infection": "^0.32.3",
40+
"infection/infection": "^0.32.6",
4141
"php-coveralls/php-coveralls": "^2.9.1",
4242
"phpstan/extension-installer": "^1.4.3",
43-
"phpstan/phpstan": "^2.1.33",
44-
"phpunit/phpunit": "^12.5.6"
43+
"phpstan/phpstan": "^2.1.42",
44+
"phpunit/phpunit": "^12.5.14"
4545
},
4646
"autoload": {
4747
"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)