Skip to content

Commit

Permalink
likely invalid output paths
Browse files Browse the repository at this point in the history
(not an exhaustive list)
  • Loading branch information
robocoder committed Apr 15, 2021
1 parent 9df4940 commit e907234
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion res/schema.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Settings used to build a new PHAR using Box.",
"type": "object",
"additionalProperties": false,
Expand Down Expand Up @@ -180,7 +181,10 @@
},
"output": {
"description": "The file name or path of the new PHAR.",
"type": ["string", "null"]
"type": ["string", "null"],
"not": {
"enum": ["", ".", ".."]
}
},
"php-scoper": {
"description": "Path to the PHP-Scoper configuration file.",
Expand Down

0 comments on commit e907234

Please sign in to comment.