Skip to content

Commit e024be8

Browse files
authored
Allow thecodingmachine/safe 3 (#21)
1 parent 6a2c0b0 commit e024be8

File tree

5 files changed

+5
-3
lines changed

5 files changed

+5
-3
lines changed

.github/workflows/autoformat.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
with:
5353
coverage: none
5454
extensions: mbstring
55-
php-version: 7.2
55+
php-version: 7.4
5656

5757
- run: composer install --no-interaction --no-progress
5858

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
### Added
1313

1414
- Support Laravel 12 https://github.com/laragraph/utils/pull/20
15+
- Support `thecodingmachine/safe` 3 https://github.com/laragraph/utils/pull/21
1516

1617
## v2.1.0
1718

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Utilities for using GraphQL with Laravel
1212

1313
Install through composer
1414

15-
```bash
15+
```shell
1616
composer require laragraph/utils
1717
```
1818

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"php": "^7.2 || ^8",
1919
"illuminate/contracts": "~5.6.0 || ~5.7.0 || ~5.8.0 || ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12",
2020
"illuminate/http": "~5.6.0 || ~5.7.0 || ~5.8.0 || ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12",
21-
"thecodingmachine/safe": "^1.1 || ^2",
21+
"thecodingmachine/safe": "^1.1 || ^2 || ^3",
2222
"webonyx/graphql-php": "^0.13.2 || ^14 || ^15"
2323
},
2424
"require-dev": {

src/RequestParser.php

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use Illuminate\Support\Arr;
88
use Illuminate\Support\Str;
99
use Safe\Exceptions\JsonException;
10+
1011
use function Safe\json_decode;
1112

1213
/** Follows https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md. */

0 commit comments

Comments
 (0)