Jordi Boggiano
|
06ef742a66
|
Update phpstan, fix InstalledVersions key ordering to be more logical/consistent
|
2 years ago |
Jordi Boggiano
|
89ce53250e
|
Final type additions
|
2 years ago |
Jordi Boggiano
|
d1c8a4d1b4
|
Lots of typing improvements
|
3 years ago |
powellblyth
|
5e75017166
|
Just some comments with 'it's' that should have been 'its' (#10071)
Co-authored-by: Toby Powell-Blyth <tobypowell-blyth@elasticstage.com>
|
3 years ago |
Jordi Boggiano
|
d3c176ec69
|
PHPStan Level 5 (#10070)
* Bump PHPStan to level 5
* Update seld/phar-utils to latest
* Add phpstan-setup / phpstan scripts
|
3 years ago |
Jordi Boggiano
|
e087a4ab5e
|
Fix usage of InstalledVersions when loaded from composer/composer installed as a dependency and runtime Composer is v1, fixes #9937
|
3 years ago |
Jordi Boggiano
|
019d051e9e
|
Fix type
|
3 years ago |
Jordi Boggiano
|
82cffa17d3
|
Undo addition of initializeInstalled and remove inline copy of the data from the class
|
3 years ago |
Jordi Boggiano
|
5a69a1e483
|
Add InstalledVersions::getInstallPath($package) getter, and update phpdoc types
|
3 years ago |
Jordi Boggiano
|
8335b49cf0
|
Rename dev-requirement to dev_requirement for consistency
|
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 |
Jordi Boggiano
|
31cc102850
|
Merge branch '2.0'
|
3 years ago |
Jordi Boggiano
|
1179e4b481
|
Change root.dev-requirement to root.dev in installed.php as the root is not required per se, and this simply tracks the dev mode at install time
|
3 years ago |
Jordi Boggiano
|
cb2db16637
|
Merge branch '2.0'
|
3 years ago |
Jordi Boggiano
|
f5e6cc89cd
|
Deprecate InstalledVersions::getRawData in favor of getAllRawData
|
3 years ago |
Jordi Boggiano
|
7ae3fbb81d
|
Fix doctype annotations
|
3 years ago |
Jordi Boggiano
|
52a452c885
|
Improve InstalledVersions docs slightly
|
3 years ago |
Jordi Boggiano
|
40800df6bd
|
Fix CS
|
3 years ago |
Nicolas Grekas
|
7d4501816c
|
Allow querying InstalledVersions::isInstalled() for no-dev packages
|
3 years ago |
Jordi Boggiano
|
cee34b06b4
|
No need to ignore phpstan error now that getRegisteredLoaders is in a release
|
3 years ago |
Nicolas Grekas
|
ba94445bb9
|
Ensure InstalledVersions reports info about all currently registered class loaders
|
3 years ago |
Jordi Boggiano
|
b7d770659b
|
CS fixes
|
4 years ago |
Graham Campbell
|
019febb5fa
|
Use consistent phpdoc nullable syntax
|
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 |