Following up https://github.com/laravel/tinker/pull/154, while trying to work around the refusal of the PR by using --execute, I realized the formatting was outputted with the result.
To fix this, PsySH has a rawOutput option that needs to be set to true. When using it, the output is correct:
Following up https://github.com/laravel/tinker/pull/154, while trying to work around the refusal of the PR by using
--execute
, I realized the formatting was outputted with the result.To fix this, PsySH has a
rawOutput
option that needs to be set to true. When using it, the output is correct: