Skip to content

PHP Fatal error: Enum case value must be compile-time evaluatable in phar:///usr/local/bin/box.phar/src/Phar/CompressionAlgorithm.php on line 11 #989

@pdvnl

Description

@pdvnl

Bug report

Question Answer
Box version 4.3.8
PHP version 8.1.18
Platform with version CentOS Linux release 7.9.2009 (Core)
Github Repo -
box.json
{
   "output": "bin/tvinfo",
   "check-requirements": false,
   "compression": "GZ"
}
Output
$ box.phar compile
> output
Box version 4.3.8@5534406 2023-03-17 08:56:09 UTC
// Loading the configuration file "/home/paul/develop/tvinfo/box.json".
PHP Fatal error:  Enum case value must be compile-time evaluatable in phar:///usr/local/bin/box.phar/src/Phar/CompressionAlgorithm.php on line 11

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions