We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f95a34 commit 9e30249Copy full SHA for 9e30249
phpstan.neon
@@ -1,3 +1,5 @@
1
+includes:
2
+- vendor/thecodingmachine/phpstan-safe-rule/phpstan-safe-rule.neon
3
parameters:
4
level: max
5
paths:
tests/MixedScalarTest.php
@@ -185,13 +185,12 @@ protected function executeQueryWithJsonVariable(string $jsonLiteral): ExecutionR
185
}
186
';
187
188
- $json = json_decode(
189
-/** @lang JSON */
190
- "
+ $json = \Safe\json_decode(/** @lang JSON */ <<<JSON
191
{
192
- \"var\": $jsonLiteral
+ "var": $jsonLiteral
193
194
- ",
+JSON
+,
195
true
196
);
197
0 commit comments