Skip to content

Commit 5e9a1d0

Browse files
Merge pull request #221 from guanguans/dependabot/github_actions/trufflesecurity/trufflehog-3.84.0
chore(deps): bump trufflesecurity/trufflehog from 3.83.7 to 3.84.0
2 parents 8c9e609 + c0d5ef0 commit 5e9a1d0

File tree

3 files changed

+168
-80
lines changed

3 files changed

+168
-80
lines changed

.github/workflows/secret-check.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
# ref: ${{ github.ref_name }}
1313
fetch-depth: 0
1414
- name: TruffleHog OSS
15-
uses: trufflesecurity/trufflehog@v3.83.7
15+
uses: trufflesecurity/trufflehog@v3.84.0
1616
with:
1717
# path: ./
1818
# base: ${{ github.event.repository.default_branch }}

app/Macros/CollectionMacro.php

+4-6
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,14 @@ class CollectionMacro
2020
/**
2121
* @noinspection JsonEncodingApiUsageInspection
2222
* @noinspection PhpMethodParametersCountMismatchInspection
23+
*
24+
* @psalm-suppress UnusedClosureParam
25+
* @psalm-suppress TooManyArguments
2326
*/
2427
public static function json(): callable
2528
{
2629
return static function (string $json, int $depth = 512, int $options = 0): self {
27-
return new static(json_decode(
28-
$json,
29-
true,
30-
$depth,
31-
$options
32-
));
30+
return new static(json_decode($json, true, $depth, $options));
3331
};
3432
}
3533
}

0 commit comments

Comments
 (0)