Skip to content

Suppress box req checker produces output in high verbosity even when successful #922

@dkarlovi

Description

@dkarlovi

Bug report

Question Answer
Box version 4.2.0
PHP version 8.1.13
Platform with version Alpine
Github Repo https://github.com/sigwinhq/ariadne

When the PHAR is built, the req checker is built into it.

When I run my PHAR with (high) verbosity, I expect it to work like Box doesn't exist, if that's possible (reqs all pass).

Currently, the req checker will produce output when I pass either -vv or -vvv to my PHARed command. This should only be done if the req checker fails, but currently it happens either way.

box.json.dist
{
   "files": [
       "config/autoload_runtime.php.template",
       "config/bundles.php",
       "config/services.yaml"
   ],
   "compression": "GZ"
}
Output
$ ariadne test goo -vvv

Box Requirements Checker
========================

> Using PHP 8.2.3
> PHP is using the following php.ini file:
 /etc/php.ini

> Checking Box requirements:
 ✔ The application requires the version "^8.1" or greater.
 ✔ The application requires the extension "zlib".
 ✔ The package "knplabs/github-api" requires the extension "json".
 ✔ The package "m4tthumphrey/php-gitlab-api" requires the extension "json".
 ✔ The package "m4tthumphrey/php-gitlab-api" requires the extension "xml".
 ✔ The package "symfony/framework-bundle" requires the extension "xml".
 
                                                                                                                                                                                                                                              
[OK] Your system is ready to run the application.                                                                                                                                                                                             
                                                                                                                                                                                                                                              

                 _             _
    /\          (_)           | |
   /  \    _ __  _   __ _   __| | _ __    ___
  / /\ \  | '__|| | / _` | / _` || '_ \  / _ \
 / ____ \ | |   | || (_| || (_| || | | ||  __/
/_/    \_\|_|   |_| \__,_| \__,_||_| |_| \___|

! [NOTE] Using config: /home/dkarlovi/Development/Sigwin/Infra/ariadne.yaml                                            

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions