37 Commits (06ef742a6608d61cb5769d0754c76abac194fc40)

Author SHA1 Message Date
Jordi Boggiano 06ef742a66
Update phpstan, fix InstalledVersions key ordering to be more logical/consistent 2 years ago
Jordi Boggiano 6a466a120a
Enable strict types on all files 2 years ago
Alexander Schranz e9b60580f5
Add return types to tests (#10) 2 years ago
Jordi Boggiano abdc6893a6
Add void types where no return statement is present 2 years ago
Jordi Boggiano 6ed3aeb343
Remove setExpectedException wrapper 2 years ago
Jordi Boggiano e5fc8a9c72
Fix phpstan error 3 years ago
Martin Herndl d51c7685da
Add types to `Repository` tests (#10227) 3 years ago
Jordi Boggiano 005c55185a
Fix support for writing into UNC paths, and comparing UNC paths correctly in InstalledVersions, fixes #9993 3 years ago
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 3 years ago
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
3 years ago
Nicolas Grekas 7d4501816c Allow querying InstalledVersions::isInstalled() for no-dev packages 3 years ago
Jordi Boggiano 56c65a58e2
Make platform-check only check non-dev requires, refs #9412 4 years ago
Jordi Boggiano 1593b67230
Fix warnings on higher phpunit versions 4 years ago
Jordi Boggiano 0d1922dc27
Add a Composer\Versions class which is available in all projects at runtime to query installed packages/versions 4 years ago
Jordi Boggiano 63da7c6b2d
Add install-path to the installed.json for every package, fixes #2174, closes #2424 5 years ago
Jordi Boggiano 60df892517
Store dev mode in installed.json, fixes #3008 5 years ago
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
6 years ago
Gabriel Caruso a4b220273e Refactoring Tests (#6849) 7 years ago
Christophe Coevoet d5810c8a36 Fix namespace for tests for consistency 8 years ago
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
8 years ago
Jordi Boggiano ce08582671 Fix CS 9 years ago
Jordi Boggiano ac497feaba CS fixes 10 years ago
Jordi Boggiano 38917c2047 Add parallel build to travis script 11 years ago
Jordi Boggiano 4f5d08e2ad Add InvalidRepositoryException 12 years ago
Jordi Boggiano e922404f19 Update/add tests 12 years ago
Jordi Boggiano f6b9488bf0 Move root package handling to a dedicated loader and make ArrayLoader more strict 13 years ago
Jordi Boggiano deb6ecd49b Fix tests 13 years ago
Jordi Boggiano b125926ad3 Fix tests 13 years ago
Jordi Boggiano 8e6f8ae57e Add prettyVersion to packages, fixes #76 13 years ago
Fabien Potencier 9c739e71c2 Add some unit tests 13 years ago
Fabien Potencier 1450ebd837 Fix bug in an exception, added unit tests 13 years ago
Jordi Boggiano 5e52d5c1ad Fix tests 13 years ago
Jordi Boggiano 61dc13647c Fix tests 13 years ago
everzet 1cca62dc97 move json parsing instructions into single class object 13 years ago
Jordi Boggiano 2e10b5c17e Expand normalization feature and adjust tests 13 years ago
Jordi Boggiano 46a67733f8 Adjust codebase to the new VersionParser 13 years ago
everzet 20318f77a0 Refactored FilesystemRegistry to FilesystemRepository 13 years ago