Skip to content

Commit

Permalink
Add composer-require-checker.json file
Browse files Browse the repository at this point in the history
A new file, named composer-require-checker.json, has been created. In this file, a symbol-whitelist array has been added, encompassing various preset value types and methods to ensure safer and more efficient handling of JSON data and XHPROF performance data.
  • Loading branch information
koriym committed Apr 19, 2024
1 parent a2daf37 commit c918c31
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions composer-require-checker.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"symbol-whitelist": [
"null", "true", "false",
"static", "self", "parent",
"array", "string", "int", "float", "bool", "iterable", "callable", "void", "object",
"json_decode", "json_encode", "JSON_PRETTY_PRINT", "JSON_THROW_ON_ERROR", "JSON_UNESCAPED_SLASHES", "JSON_UNESCAPED_UNICODE",
"xhprof_disable", "xhprof_enable", "XHPROF_FLAGS_CPU", "XHPROF_FLAGS_MEMORY", "XHPROF_FLAGS_NO_BUILTINS"
]
}

0 comments on commit c918c31

Please sign in to comment.