File tree Expand file tree Collapse file tree 6 files changed +8
-10
lines changed Expand file tree Collapse file tree 6 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 16
16
with :
17
17
coverage : none
18
18
extensions : mbstring
19
- php-version : 7.4
19
+ php-version : 8.0
20
20
21
21
- run : composer install --no-interaction --no-progress --no-suggest
22
22
52
52
with :
53
53
coverage : none
54
54
extensions : mbstring
55
- php-version : 7.4
55
+ php-version : 8.0
56
56
57
57
- run : composer install --no-interaction --no-progress --no-suggest
58
58
Original file line number Diff line number Diff line change 23
23
with :
24
24
coverage : none
25
25
extensions : mbstring
26
- php-version : 7.4
26
+ php-version : 8.0
27
27
28
28
- name : " Validate composer.json and composer.lock"
29
29
run : composer validate --strict
41
41
uses : shivammathur/setup-php@v2
42
42
with :
43
43
coverage : none
44
- php-version : 7.4
44
+ php-version : 8.0
45
45
46
46
- name : " Install dependencies with composer"
47
47
run : composer install --no-interaction --no-progress
57
57
strategy :
58
58
matrix :
59
59
php-version :
60
- - " 7.4"
61
60
- " 8.0"
62
61
- " 8.1"
63
62
94
93
uses : shivammathur/setup-php@v2
95
94
with :
96
95
coverage : pcov
97
- php-version : 7.4
96
+ php-version : 8.0
98
97
99
98
- name : " Install dependencies with composer"
100
99
run : composer install --no-interaction --no-progress
Original file line number Diff line number Diff line change 14
14
}
15
15
],
16
16
"require" : {
17
- "php" : " ^7.4 || ^ 8" ,
17
+ "php" : " ^8" ,
18
18
"ext-json" : " *" ,
19
19
"egulias/email-validator" : " ^2.1.17 || ^3" ,
20
20
"spatie/regex" : " ^1.4 || ^2 || ^3" ,
Original file line number Diff line number Diff line change 12
12
use GraphQL \Utils \Utils ;
13
13
use function is_string ;
14
14
use function Safe \preg_match ;
15
- use function Safe \substr ;
16
15
17
16
abstract class DateScalar extends ScalarType
18
17
{
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ protected function executeQueryWithJsonVariable(string $jsonLiteral): ExecutionR
183
183
/** @var array<string, mixed> $json */
184
184
$ json = \Safe \json_decode (/** @lang JSON */ <<<JSON
185
185
{
186
- "var": $ jsonLiteral
186
+ "var": $ { jsonLiteral}
187
187
}
188
188
JSON
189
189
,
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ protected function executeQueryWithJsonVariable(string $jsonLiteral): ExecutionR
105
105
/** @var array{var: mixed} $json */
106
106
$ json = \Safe \json_decode (/** @lang JSON */ <<<JSON
107
107
{
108
- "var": $ jsonLiteral
108
+ "var": $ { jsonLiteral}
109
109
}
110
110
JSON ,
111
111
true
You can’t perform that action at this time.
0 commit comments