Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.17",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan": "^2.1.0",
"phpunit/phpunit": "^9.6",
"rector/rector": "^0.17.1"
"rector/rector": "^2.1.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ parameters:
paths:
- src

checkMissingCallableSignature: true
checkMissingCallableSignature: true
16 changes: 8 additions & 8 deletions src/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private function getOperationAddress(string $path, string $method): OperationAdd
* @param object $message the HTTP message to validate
* @param string $path the OpenAPI path
*
* @throws ValidationFailed
* @throws ValidationException
*/
public function delete(object $message, string $path): bool
{
Expand All @@ -78,7 +78,7 @@ public function delete(object $message, string $path): bool
* @param object $message the HTTP message to validate
* @param string $path the OpenAPI path
*
* @throws ValidationFailed
* @throws ValidationException
*/
public function get(object $message, string $path): bool
{
Expand All @@ -91,7 +91,7 @@ public function get(object $message, string $path): bool
* @param object $message the HTTP message to validate
* @param string $path the OpenAPI path
*
* @throws ValidationFailed
* @throws ValidationException
*/
public function head(object $message, string $path): bool
{
Expand All @@ -104,7 +104,7 @@ public function head(object $message, string $path): bool
* @param object $message the HTTP message to validate
* @param string $path the OpenAPI path
*
* @throws ValidationFailed
* @throws ValidationException
*/
public function options(object $message, string $path): bool
{
Expand All @@ -117,7 +117,7 @@ public function options(object $message, string $path): bool
* @param object $message the HTTP message to validate
* @param string $path the OpenAPI path
*
* @throws ValidationFailed
* @throws ValidationException
*/
public function patch(object $message, string $path): bool
{
Expand All @@ -130,7 +130,7 @@ public function patch(object $message, string $path): bool
* @param object $message the HTTP message to validate
* @param string $path the OpenAPI path
*
* @throws ValidationFailed
* @throws ValidationException
*/
public function post(object $message, string $path): bool
{
Expand All @@ -143,7 +143,7 @@ public function post(object $message, string $path): bool
* @param object $message the HTTP message to validate
* @param string $path the OpenAPI path
*
* @throws ValidationFailed
* @throws ValidationException
*/
public function put(object $message, string $path): bool
{
Expand All @@ -156,7 +156,7 @@ public function put(object $message, string $path): bool
* @param object $message the HTTP message to validate
* @param string $path the OpenAPI path
*
* @throws ValidationFailed
* @throws ValidationException
*/
public function trace(object $message, string $path): bool
{
Expand Down