如果我在composer.json
文件中指定了一个脚本,则:
"scripts": {
"test": "@php phpunit -c phpunit.xml"
}
Composer在执行时将回显该命令:
$user> composer test
> @php @php phpunit -c phpunit.xml
PHPUnit 8.0.1 by Sebastian Bergmann and contributors.
...
反正有没有在Composer的输出中取消echo'd命令的功能?
编辑:
我希望输出看起来像这样:
$user> composer test
PHPUnit 8.0.1 by Sebastian Bergmann and contributors.
...