Jordi Boggiano
a6f1e803b1
Use more BasePackage instead of PackageInterface
3 years ago
Jordi Boggiano
260ac0011c
Add constants to describe error codes from Installer::run
3 years ago
Jordi Boggiano
d1c8a4d1b4
Lots of typing improvements
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
b45c8dea0a
Cleanups
3 years ago
Jordi Boggiano
91dd175f74
Fix env var handling when variables_order includes E and symfony/console 3.3.15+ is used, fixes #9930
3 years ago
Jordi Boggiano
23d1de5d59
Merge branch '2.0'
3 years ago
Jordi Boggiano
fee22972ea
Update basic docs on install/update, fixes #9754
3 years ago
Jordi Boggiano
549dabf878
Merge branch '2.0'
4 years ago
Jordi Boggiano
0ab4013788
Fix output listing some updates that do not really happen when updating mirrors/--lock, fixes #9812
4 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, ..
4 years ago
Jordi Boggiano
40800df6bd
Fix CS
4 years ago
Jordi Boggiano
d0aac44ed2
Auto-detect dev-mode in autoload-dump and deprecate dump-autoload --no-dev ( #9714 )
4 years ago
Yanick Witschi
ea6b0836c4
Allow to override Installer::createPlatformRepo
4 years ago
Jordi Boggiano
5c35f37f92
Properly handle installed repos as additionalFixedRepository, fixes #9574
4 years ago
Jordi Boggiano
92b3725765
Workaround issues when the additional fixed repo is in used and is an installed repo, closes #9574
4 years ago
Jordi Boggiano
be3a520331
Fix feedback
4 years ago
Jordi Boggiano
e857a8216c
Make sure mirror update fails if no lock file is present
4 years ago
Jordi Boggiano
2d025dce05
Make sure mirror updates do not fail if there are dev requirements and new requires are present, fixes #9514
4 years ago
Jordi Boggiano
b7d770659b
CS fixes
4 years ago
Jordi Boggiano
dfca939f3b
Use proper type hint for local repo
4 years ago
Jordi Boggiano
00dfd2c8e1
Fix lock file being parsed when not strictly needed, fixes #9452
4 years ago
Jordi Boggiano
30b98915e9
Move Updating dependencies to the correct point, which is once we have the pool ready
4 years ago
Jordi Boggiano
56c65a58e2
Make platform-check only check non-dev requires, refs #9412
4 years ago
Nils Adermann
fdde9e5933
On composer install we fix locked packages, but consider them locked for error reporting
4 years ago
Nils Adermann
74fb313c39
Separate locked packages from fixed packages in request
...
Locked packages are basically like removable fixed packages, so we still
only load one version, but we do not require their installation unless
something the user needs requires their use. So they automatically get
removed if they are no longer needed on any update.
4 years ago
Jordi Boggiano
badd1f2146
Remove silly default values of false on Installer class, refs #9204
4 years ago
Jordi Boggiano
24abd233ec
Merge branch 'master' into code-improvements
4 years ago
Simon Berger
2223b93efd
Several small code improvements
4 years ago
Simon Berger
002fd39bc6
Removed passing of parameters with default value
4 years ago
Simon Berger
cda6e8bea6
Removed unnecessary property initialization or declaration
4 years ago
Lars Strojny
0b6abf3b96
APCu prefix as a separate option
4 years ago
Lars Strojny
dafd225a35
Allow to pass a string for apcu-autoloader to set the APCu prefix
4 years ago
Yanick Witschi
bd6f62c535
Consistently reuse the new PlatformRepository::isPlatformPackage() method
4 years ago
Jordi Boggiano
6186c7f36f
Fix handling of root aliases in partial updates, fixes #9110
4 years ago
Markus Staab
fdff3aeaba
emit github action formatted error messages ( #9120 )
4 years ago
Jordi Boggiano
826db3db5e
Used locked repo only if it is present
4 years ago
Jordi Boggiano
085fe4e7e5
Add --no-progress support and a few more fixes
4 years ago
Jordi Boggiano
9d5051faac
Merge branch '1.10'
4 years ago
Jordi Boggiano
6630519882
Fix #8298 for COMPOSER_DEV_MODE
4 years ago
Jordi Boggiano
e85da00dff
Add a way to ignore only some packages in --ignore-platform-reqs, and make the platform check ignore those packages which were ignored as requirements, fixes #8861
4 years ago
PirxDanford
3a7ea25289
Introduce --no-install option for the update, require and remove commands
...
Closes #8669 , fixes #8551
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
4 years ago
Jordi Boggiano
9b8694bc0b
Show suggestions from root package in suggest, and lists them in count only on first install of a project, fixes #8805
4 years ago
Jordi Boggiano
1000d49145
Fix error reporting when the root version changed since the last update, and does not match circular deps in lock file anymore
4 years ago
Jordi Boggiano
80a7c40c76
Shorten long lists of similar versions in problem output, fixes #8743
4 years ago
Jordi Boggiano
a695f686c3
Add some docblocks and make sure RepositorySet/PoolBuilder accept regular rootAliases and not pre-normalized ones
5 years ago
Jordi Boggiano
80505e745e
Fix phpstan issues
5 years ago
Nils Adermann
f7b5cbd1fc
Lock file should not contain new aliases for packages which were not updated
5 years ago
Nils Adermann
c270d3cfa6
PoolBuilder: make io non-nullable, NullIO can be used instead
5 years ago
Nils Adermann
9fb09049ff
Rename and document constants for partial update behavior
5 years ago