1
0
Fork 0
Commit Graph

2 Commits (29e47ed68cea82a0006c1c8949d85c7b15b11a0e)

Author SHA1 Message Date
Jordi Boggiano 29e47ed68c
Do not output script being run when running via composer <script-name> (#12383)
* Do not output script being run when running via composer <script-name>

Fixes #12375

* Fix global test expectations
2025-04-16 13:38:39 +02:00
Mohamed Hubail 8c5f2dbb97
Add `GlobalCommandTest.php` (#12073)
* Add `GlobalCommandTest.php`

- `testGlobal` to check `COMPOSER_HOME` is followed correctly + check
  `COMPOSER` is unset.
- `testNotCreateHome` to test handling invalid `COMPOSER_HOME`.

* Add error string for non obvious test case

* Clean up env vars and minor code style changes

---------

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2024-08-22 10:38:16 +02:00