We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f72e9c6 commit 762afe6Copy full SHA for 762afe6
src/Assets/ManifestBeforeVite.php
@@ -32,6 +32,7 @@ protected function getJsonManifest(string $jsonManifest): array
32
throw new ManifestNotFoundException("The asset manifest [{$jsonManifest}] cannot be found.");
33
}
34
35
+ //phpcs:ignore WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents, Generic.PHP.ForbiddenFunctions.Found
36
return json_decode(file_get_contents($jsonManifest), true) ?? [];
37
38
0 commit comments