Skip to content

Commit 568f005

Browse files
committed
vendor upgrade
1 parent 98ff720 commit 568f005

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,14 +32,14 @@ A simple skeleton to build api's based on the [slim][1] framework.
3232
* [chubbyphp/chubbyphp-laminas-config-doctrine][8]: ^3.1.1
3333
* [chubbyphp/chubbyphp-laminas-config-factory][9]: ^1.5.1
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
* [monolog/monolog][13]: ^3.10
3838
* [ramsey/uuid][14]: ^4.9.2
3939
* [slim/psr7][15]: ^1.8
4040
* [slim/slim][16]: ^4.15.1
41-
* [symfony/console][17]: ^7.4.3|^8.0.3
42-
* [symfony/var-exporter][18]: ^7.4.0|^8.0.0
41+
* [symfony/console][17]: ^7.4.7|^8.0.7
42+
* [symfony/var-exporter][18]: ^7.4|^8.0
4343

4444
## Environment
4545

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,24 @@
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
"monolog/monolog": "^3.10",
3131
"ramsey/uuid": "^4.9.2",
3232
"slim/psr7": "^1.8",
3333
"slim/slim": "^4.15.1",
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) {
@@ -145,9 +145,9 @@ public function getModelResponseSchema(ServerRequestInterface $request): ObjectS
145145
'tag' => $p->string()->nullable(),
146146
'vaccinations' => $p->array($p->object([
147147
'name' => $p->string(),
148-
'_type' => $p->literal('vaccination')->default('vaccination'),
148+
'_type' => $p->const('vaccination')->default('vaccination'),
149149
], VaccinationResponse::class)->strict()),
150-
'_type' => $p->literal('pet')->default('pet'),
150+
'_type' => $p->const('pet')->default('pet'),
151151
], PetResponse::class)->strict()
152152
->postParse(function (PetResponse $petResponse) {
153153
$petResponse->_links = [

0 commit comments

Comments
 (0)