8000 The "annotations" setting has been set but is ignored since no PHP compactor has been configured · Issue #1425 · box-project/box · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
The "annotations" setting has been set but is ignored since no PHP compactor has been configured #1425
Open
@ruudk

Description

@ruudk

Bug report

Question Answer
Box version Box version 4.6.1@048e634 2023-12-21 12:09:11 UTC
PHP version 8.4.1
Platform with version macOS
box.json.dist
{
   "compression": "GZ",
   "compactors": [
       "KevinGH\\Box\\Compactor\\Php",
       "KevinGH\\Box\\Compactor\\Json"
   ],
   "annotations": {
       "ignore": [
           "param"
       ]
   },
   "check-requirements": false,
   "directories-bin": [
       "config",
       "example"
   ]
}
Output
$ command
Box version 4.6.1@048e634 2023-12-21 12:09:11 UTC

// Loading the configuration file
// "/Volumes/CS/opensource/twigstan/box.json".

🔨  Building the PHAR "/Volumes/CS/opensource/twigstan/bin/twigstan.phar"

? Removing the existing PHAR "/Volumes/CS/opensource/twigstan/bin/twigstan.phar"
? Checking Composer compatibility
   > Supported version detected
? Registering compactors
 + KevinGH\Box\Compactor\Php
 + KevinGH\Box\Compactor\Json
? Adding main file: /Volumes/CS/opensource/twigstan/bin/twigstan
? Skip requirements checker
? Adding binary files
   > 9 file(s)
? Auto-discover files? Yes
? Exclude dev files? Yes
? Adding files
   > 1099 file(s)
? Generating new stub
 - Using shebang line: #!/usr/bin/env php
 - Using banner:
   > Generated by Humbug Box 4.6.1@048e634.
   >
   > @link https://github.com/humbug/box
? Dumping the Composer autoloader
? Removing the Composer dump artefacts
? Compressing with the algorithm "GZ"
   > Warning: the extension "zlib" will now be required to execute the PHAR
? Setting file permissions to 0755
* Done.

No recommendation found.
⚠️  1 warning found:
   - The "annotations" setting has been set but is ignored since no PHP compactor has been configured

// PHAR: 1116 files (4.34MB)
// You can inspect the generated PHAR with the "info" command.

// Memory usage: 44.79MB (peak: 49.53MB), time: 2secs

As you can see, I am using the Php compacter.

I installed using brew install box.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0