1
0
Fork 0
composer/tests/Composer/Test
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
..
Advisory PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
Autoload PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
Command Add `GlobalCommandTest.php` (#12073) 2024-08-22 10:38:16 +02:00
Config PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
Console PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
DependencyResolver Clean up md5/sha1 usages, upgrade algos where possible (#12088) 2024-08-21 17:06:42 +02:00
Downloader Clean up md5/sha1 usages, upgrade algos where possible (#12088) 2024-08-21 17:06:42 +02:00
EventDispatcher PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
Filter/PlatformRequirementFilter PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
Fixtures Fix addressability of branches containing # characters (#12042) 2024-07-25 16:46:57 +02:00
IO Fix typo for IO tests (#12027) 2024-07-02 00:30:29 +02:00
Installer Clean up md5/sha1 usages, upgrade algos where possible (#12088) 2024-08-21 17:06:42 +02:00
Json PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
Mock Update PHPStan (#11976) 2024-05-22 09:09:04 +02:00
Package Clean up md5/sha1 usages, upgrade algos where possible (#12088) 2024-08-21 17:06:42 +02:00
Platform [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
Plugin PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
Question PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
Repository Clean up md5/sha1 usages, upgrade algos where possible (#12088) 2024-08-21 17:06:42 +02:00
Script PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
Util Clean up md5/sha1 usages, upgrade algos where possible (#12088) 2024-08-21 17:06:42 +02:00
AllFunctionalTest.php Update phpstan and add composer/pcre extensions (#12045) 2024-07-25 16:28:25 +02:00
ApplicationTest.php PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
CacheTest.php PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
CompletionFunctionalTest.php PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
ComposerTest.php PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
ConfigTest.php Fix secure-http check to avoid bypass using emojis 2024-06-10 14:48:02 +02:00
DefaultConfigTest.php PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
DocumentationTest.php Add support for Application::setCatchErrors in symfony 6.4+, refs symfony/symfony#50420 2023-07-28 19:33:33 +02:00
FactoryTest.php Enable strict types on all files 2022-02-24 13:24:34 +01:00
InstalledVersionsTest.php PHPStan/tests updates (#11996) 2024-05-29 23:12:06 +02:00
InstallerTest.php Clean up md5/sha1 usages, upgrade algos where possible (#12088) 2024-08-21 17:06:42 +02:00
TestCase.php Clean up md5/sha1 usages, upgrade algos where possible (#12088) 2024-08-21 17:06:42 +02:00