From ee2533eeeae18918fd19051226c67b92d7c8203b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 19 Apr 2024 16:49:56 +0000 Subject: [PATCH 1/2] Update all non-major dependencies | datasource | package | from | to | | ---------- | -------------------------------- | ------- | ------- | | packagist | phpstan/phpstan | 1.10.62 | 1.10.67 | | packagist | phpstan/phpstan-strict-rules | 1.5.2 | 1.5.5 | | packagist | phpstan/phpstan-symfony | 1.3.9 | 1.3.12 | | packagist | phpstan/phpstan-webmozart-assert | 1.2.4 | 1.2.6 | | packagist | phpunit/phpunit | 10.5.13 | 10.5.19 | --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 8461e4e..7b24698 100644 --- a/composer.json +++ b/composer.json @@ -43,13 +43,13 @@ "doctrine/coding-standard": "^12.0.0", "ergebnis/composer-normalize": "^2.42.0", "php-standard-library/psalm-plugin": "^2.3.0", - "phpstan/phpstan": "^1.10.62", + "phpstan/phpstan": "^1.10.67", "phpstan/phpstan-deprecation-rules": "^1.1.4", "phpstan/phpstan-phpunit": "^1.3.16", - "phpstan/phpstan-strict-rules": "^1.5.2", - "phpstan/phpstan-symfony": "^1.3.9", - "phpstan/phpstan-webmozart-assert": "^1.2.4", - "phpunit/phpunit": "^10.5.13", + "phpstan/phpstan-strict-rules": "^1.5.5", + "phpstan/phpstan-symfony": "^1.3.12", + "phpstan/phpstan-webmozart-assert": "^1.2.6", + "phpunit/phpunit": "^10.5.19", "psalm/plugin-phpunit": "^0.19.0", "roave/security-advisories": "dev-master", "symfony/config": "^6.4 || ^7.0", From ee09edc951c14044ec250eca3a6b8211db594af9 Mon Sep 17 00:00:00 2001 From: Dragos Protung Date: Sat, 20 Apr 2024 09:11:01 +0200 Subject: [PATCH 2/2] Added explicit filter --- src/Processor/SecurityDefinitions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Processor/SecurityDefinitions.php b/src/Processor/SecurityDefinitions.php index 8397a61..f0fe9f1 100644 --- a/src/Processor/SecurityDefinitions.php +++ b/src/Processor/SecurityDefinitions.php @@ -28,6 +28,7 @@ public function process(OpenApi $openApi, Specification $specification): void 'scheme' => $securityDefinition->scheme(), 'bearerFormat' => $securityDefinition->bearerFormat(), ], + static fn (mixed $value): bool => $value !== null && $value !== '', ), ); }