1
0
Fork 0
Commit Graph

12274 Commits (aaff0ae4df7bcd44ec4c293daf0047e8c8b0c7e9)

Author SHA1 Message Date
theoboldalex aaff0ae4df
Adds a test for UpdateCommand ()
* test: Interactive mode should throw if no package

* PHPStan fix. Missing return type on test method
2023-12-08 18:26:05 +01:00
dependabot[bot] d463df1021
Bump actions/github-script from 6 to 7 ()
Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-08 18:25:33 +01:00
Juliette 6385079695
GH Actions: update the CI workflow for the release of PHP 8.3 ()
PHP 8.4 has been added as experimental.
And the "high" PHP builds for the variations have been updated to use PHP 8.3.

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
2023-12-08 18:25:18 +01:00
Maxime Morlet cc2568216c
Update 01-basic-usage.md ()
Broken link!
2023-12-08 18:24:33 +01:00
Marc Würth da83d29d8a
"URL" in caps () 2023-11-08 12:02:00 +01:00
Travis Carden aefa46dfba
Add support for "scripts-aliases" in composer.json () 2023-10-27 11:36:59 +02:00
Jordi Boggiano cc653161c3
Merge branch '2.6' 2023-10-26 11:39:41 +02:00
Jordi Boggiano 3d6a6c2823
Update lock hash 2023-10-26 11:38:51 +02:00
Dan Wallis 8c0f1e10dc
Display error instead of throwing exception when unable to update with temporary constraint () 2023-10-26 11:38:02 +02:00
Jordi Boggiano 23be508ea5
Fix build on 2.6 2023-10-26 11:24:36 +02:00
Dan Wallis 81b662d388
Suggest running 'require' not 'update' if a root req fails to update () 2023-10-26 11:08:03 +02:00
Tom Klingenberg 03085c8181
Fix Git Driver to use supported Git VCS driver URL
Otherwise the URL may not be supported since 3bb191a46 (Add support for
env vars and ~ (for HOME) in repo paths for vcs and artifact
repositories, fixes  (), 2023-05-07)
2023-10-26 11:06:11 +02:00
Jordi Boggiano 899dcedf66
Add --minimal-changes mode to perform partial updates --with-dependencies while changing only what is necessary in other dependencies () 2023-10-26 10:25:04 +02:00
Dan Wallis 7a09e05560
Bump wildcard constraints to >=current () 2023-10-25 18:04:52 +02:00
Jordi Boggiano c2414c1d17
Fix lock file 2023-10-25 17:18:32 +02:00
Jordi Boggiano c66894278c
Bump dev version to 2.7, fix issues with symfony 7 2023-10-25 17:13:36 +02:00
Jordi Boggiano 708b07a2fe
Update deps 2023-10-25 16:54:11 +02:00
Dan Wallis c827c93b62
Use global constant if available for libpq version () 2023-10-11 14:19:31 +02:00
Jesper Skytte Marcussen 9a407b5ad3
10796 Increase coverage of ShowCommand ()
* Added more tests for ShowCommand class

By doing so, my local setup shows increase in coverage from some 38% to
67%.

* PHP-CS-Fixer

* PHPStan fixes
2023-10-11 13:43:30 +02:00
Jordi Boggiano d2bd9836a6
Reverting release version changes 2023-10-06 10:11:53 +02:00
Jordi Boggiano 4b0fe89db9
Release 2.6.5 2023-10-06 10:11:52 +02:00
Jordi Boggiano 7889d2e0a3
Update changelog 2023-10-06 10:11:44 +02:00
Pol Dellaiera 40cb978708
chore: remove `composer.lock` from `.gitattributes` () 2023-10-06 09:59:15 +02:00
Uladzimir Tsykun 3e22e1ceda
Fix error when vendor dir contains broken symlinks () 2023-10-06 09:53:39 +02:00
Jordi Boggiano cb363b0e84
Fix autoload generator dump() non-BC signature change in 2.6.4 2023-10-06 09:34:10 +02:00
Jordi Boggiano 64c5bdd55b
Reverting release version changes 2023-09-29 10:54:48 +02:00
Jordi Boggiano d75d17c16a
Release 2.6.4 2023-09-29 10:54:47 +02:00
Jordi Boggiano 081ec4a418
Update changelog 2023-09-29 10:54:39 +02:00
Jordi Boggiano 955a48e631
Merge pull request from GHSA-jm6m-4632-36hf 2023-09-29 10:15:51 +02:00
Pol Dellaiera b608b8e87e
feat: improve Composer's output reproducibility ()
* AutoloadGenerator: add `Locker` parameter to the `dump` method
* AutoloadGenerator: do not create a random hash, re-use the one from the lock file if it exists
* FileSystem: make sure `safeCopy` copy also the file time metadata
2023-09-28 11:43:52 +02:00
Jordi Boggiano 77fadf0e1e
Update changelog 2023-09-27 14:26:07 +02:00
Jordi Boggiano 892eaacedf
Optimize show -a by loading only the requested package ()
Fixes 
2023-09-27 11:28:33 +02:00
Jordi Boggiano c7e696dbde
Bump dependencies 2023-09-27 11:09:34 +02:00
Yanick Witschi f6ce8349c5
Use CompilingMatcher in DefaultPolicy for performance reasons ()
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2023-09-27 09:08:29 +02:00
Dezső BICZÓ 755de04bf5
Fix abandoned package list JSON serialization ()
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2023-09-26 14:23:45 +02:00
Valentin Udaltsov 1f9f91cfea
Changed psr/logger to psr/log () 2023-09-22 09:49:08 +02:00
Jordi Boggiano 39faacbca9
Reverting release version changes 2023-09-15 09:38:22 +02:00
Jordi Boggiano ff477832e6
Release 2.6.3 2023-09-15 09:38:22 +02:00
Jordi Boggiano 14233f1a77
Update changelog 2023-09-15 09:38:12 +02:00
Jordi Boggiano af90590c8f
Update baseline (1689, 92) 2023-09-14 11:47:53 +02:00
Alex Theobold 218b9041c9
Test status command () 2023-09-14 11:45:18 +02:00
Jordi Boggiano e3484c8581
Add audit.abandoned warnings for abandoned packages, fixes () 2023-09-14 11:30:09 +02:00
Jordi Boggiano 3bc72f75cb
Fix build, update deps 2023-09-13 18:17:28 +02:00
wgevaert e2f5afd4cd
Add warning when duplicate "files" autoload rules are detected ()
Co-authored-by: Wout Gevaert <wout@wikibase.nl>
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2023-09-13 14:11:00 +02:00
Yanick Witschi 5474dc9b5b
Fixed replaced packages being incorrectly missing when unlocked by an old version ()
Co-authored-by: Nils Adermann <naderman@naderman.de>
2023-09-13 10:42:47 +02:00
Jason McCreary 1e4966c313
Get realpath for `ZipArchive` () 2023-09-13 09:59:22 +02:00
Jordi Boggiano 7a7f364184
Fix bitbucket redirect URLs failing old PHP builds which do not support long headers
51e2015af3
2023-09-12 11:28:26 +02:00
Jordi Boggiano 1ac0ea8739
Retry curl receive errors when connection reset by peer, fixes 2023-09-12 10:10:53 +02:00
Jordi Boggiano 755e89fc91
Fix loading of root aliases on path repo packages when doing partial updates, fixes () 2023-09-11 17:45:19 +02:00
Christophe Coevoet 087b21d687
Fix the promise resolution for the cleanup logic () 2023-09-11 17:40:43 +02:00