14 Commits (4b8585d767357ee215e40fb79ee20b49b52b38a6)

Author SHA1 Message Date
Jordi Boggiano 4c9e75c6e5
Fix CS 3 years ago
Jordi Boggiano 649087d6de
Fix type issues with root package interface 3 years ago
Jordi Boggiano 4940009f83
Bump phpstan to level 3 (#9734)
Clean up PackageInterface/CompletePackageInterface, add missing methods, type things in solver as BasePackage, added CompleteAliasPackage, ..
3 years ago
Michael Telgmann a4509d28e7
Introduce constants for Composer\Package\Link types 4 years ago
Jordi Boggiano 98bf6d704e Undo addition of a bunch of Script methods to RootPackage[Interface], refs #5401 8 years ago
Sven Wittevrongel cccfb2fb22 RootAliasPackage fix 8 years ago
Sven Wittevrongel d0b0d1ad24 RootPackage::getScripts 8 years ago
Sven Wittevrongel dec44e6ba9 getconfig in RootAliasPackage 8 years ago
Bryan Davis 06c44ce998 Add setters used by composer-merge-plugin to RootPackageInterface
Extend RootPackageInterface with setter functions used by
composer-merge-plugin and implement them for RootAliasPackage. This will
allow composer-merge-plugin and similar code that manipulates the root
package at runtime to ignore the difference between a RootPackage and
a RootAliasPackage.
9 years ago
Bryan Davis 2eb0af264b Allow RootAliasPackage to override cached values
AliasPackage caches the values of 'requires', 'devRequires',
'conflicts', 'provides', 'replaces' locally to allow `self.version`
references to be properly updated to reference the alias. Plugins like
composer-merge-plugin that manipulate these settings at runtime need to
be able to change the values after alias construction.
9 years ago
Jordi Boggiano fd7e28b8b4 Restore special handling of conflict/provide/replace 9 years ago
Vadim Tyukov b02bdb4c7a [alias] RootAliasPackage manages the requirements correctly 9 years ago
Jordi Boggiano 8d0b7f278e CS fixes 11 years ago
Jordi Boggiano b9a44a0057 Add RootAliasPackage, fixes #1842 11 years ago