File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 }
1616 },
1717 "require" : {
18- "php" : " ^8.1 .0" ,
18+ "php" : " ^8.4 .0" ,
1919 "symfony/yaml" : " ^6 || ^7" ,
20- "devizzent/cebe-php-openapi" : " ^1.1.2 "
20+ "devizzent/cebe-php-openapi" : " ^1.1.5 "
2121 },
2222 "require-dev" : {
23- "phpunit/phpunit" : " ^10.5.36" ,
2423 "phpstan/phpstan" : " ^1.12.6" ,
24+ "phpunit/phpunit" : " ^12.5.11" ,
2525 "squizlabs/php_codesniffer" : " ^3.5.4" ,
2626 "mikey179/vfsstream" : " ^1.6.7" ,
2727 "infection/infection" : " ^0.29.7"
Original file line number Diff line number Diff line change @@ -424,7 +424,7 @@ public static function mustSpecifyItemsForArrayType(
424424
425425 return new self ($ message );
426426 }
427-
427+
428428 public static function responseCodeMustBeNumericOrDefault (
429429 Identifier $ identifier ,
430430 string $ code ,
Original file line number Diff line number Diff line change @@ -270,8 +270,10 @@ public function itResolvesExternalReferencesFromAbsoluteFilePath(
270270
271271 #[Test]
272272 #[DataProvider('provideOpenAPIWithExternalReference ' )]
273- public function itCannotResolveExternalReferenceFromString (string $ openAPIString ): void
274- {
273+ public function itCannotResolveExternalReferenceFromString (
274+ string $ openAPIString ,
275+ string $ _ ,
276+ ): void {
275277 self ::expectExceptionObject (CannotRead::cannotResolveExternalReferencesFromString ());
276278
277279 (new MembraneReader ([OpenAPIVersion::Version_3_0]))
Original file line number Diff line number Diff line change @@ -447,8 +447,10 @@ public function itResolvesExternalReferencesFromAbsoluteFilePath(
447447
448448 #[Test]
449449 #[DataProvider('provideOpenAPIWithExternalReference ' )]
450- public function itCannotResolveExternalReferenceFromString (string $ openAPIString ,): void
451- {
450+ public function itCannotResolveExternalReferenceFromString (
451+ string $ openAPIString ,
452+ string $ _ ,
453+ ): void {
452454 self ::expectExceptionObject (CannotRead::cannotResolveExternalReferencesFromString ());
453455
454456 (new Reader ([OpenAPIVersion::Version_3_0]))
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ public static function createOperation(
114114 ?string $ operationId = 'test-id ' ,
115115 array $ servers = [],
116116 array $ parameters = [],
117- RequestBody $ requestBody = null ,
117+ ? RequestBody $ requestBody = null ,
118118 array $ responses = [],
119119 ): Operation {
120120 return new Operation (
You can’t perform that action at this time.
0 commit comments