Alexander Schranz
e9b60580f5
Add return types to tests ( #10 )
2022-02-21 13:42:28 +01:00
Jordi Boggiano
abdc6893a6
Add void types where no return statement is present
2022-02-18 10:38:54 +01:00
Jordi Boggiano
6ed3aeb343
Remove setExpectedException wrapper
2022-01-01 14:54:21 +01:00
Jordi Boggiano
e5fc8a9c72
Fix phpstan error
2021-10-27 16:51:16 +02:00
Martin Herndl
d51c7685da
Add types to `Repository` tests ( #10227 )
2021-10-27 15:29:52 +02:00
Jordi Boggiano
005c55185a
Fix support for writing into UNC paths, and comparing UNC paths correctly in InstalledVersions, fixes #9993
2021-07-12 14:03:00 +02:00
Jordi Boggiano
3fe4f84a76
Fix handling of metapackages with null paths, and handling of paths which do not have a shortest-path and require an absolute path to be addressed
2021-05-21 14:33:10 +02:00
Jochen Roth
b6c9d34125
Add install-path and type to installedVersions.php and installed.php, add method to get installed packages by type
...
Issue https://github.com/composer/composer/issues/9648
2021-05-21 14:33:09 +02:00
Nicolas Grekas
7d4501816c
Allow querying InstalledVersions::isInstalled() for no-dev packages
2021-02-18 13:15:26 +01:00
Jordi Boggiano
56c65a58e2
Make platform-check only check non-dev requires, refs #9412
2020-11-04 23:41:58 +01:00
Jordi Boggiano
1593b67230
Fix warnings on higher phpunit versions
2020-09-11 11:01:32 +02:00
Jordi Boggiano
0d1922dc27
Add a Composer\Versions class which is available in all projects at runtime to query installed packages/versions
2020-04-22 12:10:09 +02:00
Jordi Boggiano
63da7c6b2d
Add install-path to the installed.json for every package, fixes #2174 , closes #2424
2019-08-02 21:39:42 +02:00
Jordi Boggiano
60df892517
Store dev mode in installed.json, fixes #3008
2019-02-21 12:46:02 +01:00
Gabriel Caruso
2a13bb2649
Fixes from PHPStan ( #7687 )
...
* fix docblocks
* remove redundant conditional
* fix wrong variable name
* fix wrong namespaces
* add missing private members
* remove unused/redundant arguments
* move testcase class
* exclude TestCase.php
* Tweak RuleWatchGraph type hints
* Tweak doc comment
2018-11-12 15:23:32 +01:00
Gabriel Caruso
a4b220273e
Refactoring Tests ( #6849 )
2017-11-30 15:58:10 +01:00
Christophe Coevoet
d5810c8a36
Fix namespace for tests for consistency
2016-10-05 10:45:22 +02:00
Rob Bast
adf3b956d0
try to use unique test directories
...
any tests that use the filesystem should have their own unique directory, as we run our test suite in parallel and
cleanup of tests (removing directories) should not interfere with currently running tests
2016-01-26 09:41:21 +01:00
Jordi Boggiano
ce08582671
Fix CS
2015-09-28 10:53:24 +01:00
Jordi Boggiano
ac497feaba
CS fixes
2014-06-10 16:13:12 +02:00
Jordi Boggiano
38917c2047
Add parallel build to travis script
2013-09-25 10:23:48 +02:00
Jordi Boggiano
4f5d08e2ad
Add InvalidRepositoryException
2012-11-08 15:05:00 +01:00
Jordi Boggiano
e922404f19
Update/add tests
2012-04-14 23:38:06 +02:00
Jordi Boggiano
f6b9488bf0
Move root package handling to a dedicated loader and make ArrayLoader more strict
2011-12-13 01:05:29 +01:00
Jordi Boggiano
deb6ecd49b
Fix tests
2011-11-20 21:20:03 +01:00
Jordi Boggiano
b125926ad3
Fix tests
2011-11-20 15:46:15 +01:00
Jordi Boggiano
8e6f8ae57e
Add prettyVersion to packages, fixes #76
2011-11-20 15:06:12 +01:00
Fabien Potencier
9c739e71c2
Add some unit tests
2011-10-30 09:10:49 +01:00
Fabien Potencier
1450ebd837
Fix bug in an exception, added unit tests
2011-10-30 09:09:46 +01:00
Jordi Boggiano
5e52d5c1ad
Fix tests
2011-10-23 19:55:43 +02:00
Jordi Boggiano
61dc13647c
Fix tests
2011-10-02 20:18:57 +02:00
everzet
1cca62dc97
move json parsing instructions into single class object
2011-10-01 16:01:33 +03:00
Jordi Boggiano
2e10b5c17e
Expand normalization feature and adjust tests
2011-09-26 00:59:32 +02:00
Jordi Boggiano
46a67733f8
Adjust codebase to the new VersionParser
2011-09-26 00:01:22 +02:00
everzet
20318f77a0
Refactored FilesystemRegistry to FilesystemRepository
2011-09-25 20:59:10 +03:00