asdf-community/asdf-php

Weird character encoding in terminal when running phpunit with `nunomaduro/collision` (macos)

Opened this issue · 0 comments

Provide environment information

OS:
Darwin baka-mba.local 23.1.0 Darwin Kernel Version 23.1.0: Mon Oct  9 21:28:12 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T8103 arm64

SHELL:
zsh 5.9 (x86_64-apple-darwin23.0)

BASH VERSION:
3.2.57(1)-release

ASDF VERSION:
v0.13.1

ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/Users/fery/.asdf
ASDF_DIR=/opt/homebrew/opt/asdf/libexec
ASDF_CONFIG_FILE=/Users/fery/.asdfrc

ASDF INSTALLED PLUGINS:
nodejs   https://github.com/asdf-vm/asdf-nodejs.git master c5b7c40
php      https://github.com/asdf-community/asdf-php.git master 1eaf4de
ruby     https://github.com/asdf-vm/asdf-ruby.git master 3048c2a

To Reproduce

  1. Create a new laravel project & cd into the project directory

    composer create-project laravel/laravel asdf-repro
  2. Run the example test by

    php artisan test
  3. Switch to another installed PHP version,

    asdf local php 8.2.12
  4. Repeat the first step, using another version of PHP

Describe the Bug

Came across weird issue on my terminal when running test on one of my library. For context I'm creating a laravel package for my own uses, and noticed that the something is missing from my terminal.

Here's an example output of the reproduce step above.

Screenshot 2023-12-10 at 10 39 54

Expected Behaviour

The terminal output should be the same across all php version.