Skip to content

Commit aa0140c

Browse files
authored
Fix project setup (#2765)
1 parent 6128a99 commit aa0140c

4 files changed

Lines changed: 11 additions & 7 deletions

File tree

.ai/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"Bash(make help)",
1919
"Bash(make release)",
2020
"Bash(make proto)",
21-
"Bash(make proto/update-reports)"
21+
"Bash(make proto/update-reports)",
22+
"Bash(make vendor)"
2223
],
2324
"deny": [
2425
"Bash(make php)",

composer.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"bensampo/laravel-enum": "^5 || ^6",
4848
"ergebnis/composer-normalize": "^2.2.2",
4949
"fakerphp/faker": "^1.21",
50-
"google/protobuf": "^3.21",
50+
"google/protobuf": "^3.21 || ^4.33.6",
5151
"larastan/larastan": "^2.9.14 || ^3.0.4",
5252
"laravel/framework": "^9 || ^10 || ^11 || ^12",
5353
"laravel/legacy-factories": "^1.1.1",
@@ -99,6 +99,11 @@
9999
"kylekatarnls/update-helper": true,
100100
"phpstan/extension-installer": true
101101
},
102+
"audit": {
103+
"ignore": {
104+
"PKSA-tcfz-w4fm-hhk9": "Dev dependency, not exploitable in test usage"
105+
}
106+
},
102107
"sort-packages": true
103108
},
104109
"extra": {

node.dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
FROM node:22-slim
22

3-
RUN npm install -g npm
4-
53
ARG USER_ID
64
ARG GROUP_ID
75

src/Schema/TypeRegistry.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class TypeRegistry
5858
/**
5959
* Map from type names to lazily resolved types.
6060
*
61-
* @var array<string, callable(): \GraphQL\Type\Definition\Type&\GraphQL\Type\Definition\NamedType>
61+
* @var array<string, callable(): (\GraphQL\Type\Definition\Type&\GraphQL\Type\Definition\NamedType)>
6262
*/
6363
protected array $lazyTypes = [];
6464

@@ -168,7 +168,7 @@ public function register(Type $type): self
168168
*
169169
* @api
170170
*
171-
* @param callable(): \GraphQL\Type\Definition\Type&\GraphQL\Type\Definition\NamedType $type
171+
* @param callable(): (\GraphQL\Type\Definition\Type&\GraphQL\Type\Definition\NamedType) $type
172172
*/
173173
public function registerLazy(string $name, callable $type): self
174174
{
@@ -200,7 +200,7 @@ public function overwrite(Type $type): self
200200
*
201201
* @api
202202
*
203-
* @param callable(): \GraphQL\Type\Definition\Type&\GraphQL\Type\Definition\NamedType $type
203+
* @param callable(): (\GraphQL\Type\Definition\Type&\GraphQL\Type\Definition\NamedType) $type
204204
*/
205205
public function overwriteLazy(string $name, callable $type): self
206206
{

0 commit comments

Comments
 (0)