Skip to content

--no-ansi option has no effect #128

@sebastianbergmann

Description

@sebastianbergmann

I am working on integrating php-scoper into the build process for phpunit.phar. Here is the current state of the relevant section from PHPUnit's build.xml:

<exec executable="${basedir}/build/tools/php-scoper" taskname="php-scoper">
    <arg value="add-prefix" />
    <arg value="--no-ansi" />
    <arg value="--no-config" />
    <arg value="--no-interaction" />
    <arg value="--stop-on-failure" />
    <arg value="--output-dir" />
    <arg path="${basedir}/build/phar-prefixed" />
    <arg value="--prefix" />
    <arg value="PHPUnit" />
    <arg path="${basedir}/build/phar" />
</exec>

The progress bar is printed although the --no-ansi option is passed:
screenshot from 2017-12-23 10-21-24
I am reluctant to pass --quiet as I am not sure whether that would also suppress error messages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions