diff --git a/.ai/settings.json b/.ai/settings.json index 99fbac2a3..ba6ec0458 100644 --- a/.ai/settings.json +++ b/.ai/settings.json @@ -18,7 +18,8 @@ "Bash(make help)", "Bash(make release)", "Bash(make proto)", - "Bash(make proto/update-reports)" + "Bash(make proto/update-reports)", + "Bash(make vendor)" ], "deny": [ "Bash(make php)", diff --git a/composer.json b/composer.json index 85b6ca3f4..0a4e8e374 100644 --- a/composer.json +++ b/composer.json @@ -47,7 +47,7 @@ "bensampo/laravel-enum": "^5 || ^6", "ergebnis/composer-normalize": "^2.2.2", "fakerphp/faker": "^1.21", - "google/protobuf": "^3.21", + "google/protobuf": "^3.21 || ^4.33.6", "larastan/larastan": "^2.9.14 || ^3.0.4", "laravel/framework": "^9 || ^10 || ^11 || ^12", "laravel/legacy-factories": "^1.1.1", @@ -99,6 +99,11 @@ "kylekatarnls/update-helper": true, "phpstan/extension-installer": true }, + "audit": { + "ignore": { + "PKSA-tcfz-w4fm-hhk9": "Dev dependency, not exploitable in test usage" + } + }, "sort-packages": true }, "extra": { diff --git a/node.dockerfile b/node.dockerfile index 3a0931705..818355251 100644 --- a/node.dockerfile +++ b/node.dockerfile @@ -1,7 +1,5 @@ FROM node:22-slim -RUN npm install -g npm - ARG USER_ID ARG GROUP_ID diff --git a/src/Schema/TypeRegistry.php b/src/Schema/TypeRegistry.php index 959e77e74..9d23e6a55 100644 --- a/src/Schema/TypeRegistry.php +++ b/src/Schema/TypeRegistry.php @@ -58,7 +58,7 @@ class TypeRegistry /** * Map from type names to lazily resolved types. * - * @var array + * @var array */ protected array $lazyTypes = []; @@ -168,7 +168,7 @@ public function register(Type $type): self * * @api * - * @param callable(): \GraphQL\Type\Definition\Type&\GraphQL\Type\Definition\NamedType $type + * @param callable(): (\GraphQL\Type\Definition\Type&\GraphQL\Type\Definition\NamedType) $type */ public function registerLazy(string $name, callable $type): self { @@ -200,7 +200,7 @@ public function overwrite(Type $type): self * * @api * - * @param callable(): \GraphQL\Type\Definition\Type&\GraphQL\Type\Definition\NamedType $type + * @param callable(): (\GraphQL\Type\Definition\Type&\GraphQL\Type\Definition\NamedType) $type */ public function overwriteLazy(string $name, callable $type): self {