Skip to content

Commit eb6cbc6

Browse files
committed
vendor upgrade
1 parent c863afc commit eb6cbc6

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
@@ -32,15 +32,15 @@ A simple skeleton to build api's based on the [mezzio][1] framework.
3232
* [chubbyphp/chubbyphp-laminas-config-doctrine][8]: ^3.1
3333
* [chubbyphp/chubbyphp-laminas-config-factory][9]: ^1.5
3434
* [chubbyphp/chubbyphp-negotiation][10]: ^2.3.1
35-
* [chubbyphp/chubbyphp-parsing][11]: ^2.4
36-
* [doctrine/orm][12]: ^3.6.1
35+
* [chubbyphp/chubbyphp-parsing][11]: ^2.5
36+
* [doctrine/orm][12]: ^3.6.2
3737
* [mezzio/mezzio-fastroute][13]: ^3.14
3838
* [mezzio/mezzio][14]: ^3.27
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.7|^8.0
4444

4545
## Environment
4646

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,25 +25,25 @@
2525
"chubbyphp/chubbyphp-laminas-config-doctrine": "^3.1.1",
2626
"chubbyphp/chubbyphp-laminas-config-factory": "^1.5.1",
2727
"chubbyphp/chubbyphp-negotiation": "^2.3.1",
28-
"chubbyphp/chubbyphp-parsing": "^2.4",
29-
"doctrine/orm": "^3.6.1",
28+
"chubbyphp/chubbyphp-parsing": "^2.5",
29+
"doctrine/orm": "^3.6.2",
3030
"mezzio/mezzio-fastroute": "^3.14",
3131
"mezzio/mezzio": "^3.27",
3232
"monolog/monolog": "^3.10",
3333
"ramsey/uuid": "^4.9.2",
3434
"slim/psr7": "^1.8",
35-
"symfony/console": "^7.4.3|^8.0.3",
36-
"symfony/var-exporter": "^7.4.0|^8.0.0"
35+
"symfony/console": "^7.4.7|^8.0.7",
36+
"symfony/var-exporter": "^7.4.7|^8.0.0"
3737
},
3838
"require-dev": {
3939
"chubbyphp/chubbyphp-dev-helper": "dev-master",
4040
"chubbyphp/chubbyphp-mock": "^2.1.2",
4141
"dg/bypass-finals": "^1.9",
42-
"infection/infection": "^0.32.3",
42+
"infection/infection": "^0.32.6",
4343
"php-coveralls/php-coveralls": "^2.9.1",
4444
"phpstan/extension-installer": "^1.4.3",
45-
"phpstan/phpstan": "^2.1.33",
46-
"phpunit/phpunit": "^12.5.6"
45+
"phpstan/phpstan": "^2.1.42",
46+
"phpunit/phpunit": "^12.5.14"
4747
},
4848
"autoload": {
4949
"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)