Jordi Boggiano
e0cce2bfb0
Allow autoload to run on 5.6 still, add early exits when running composer or autoload.php with outdated PHP versions, fixes #10714 , refs #10709
2 years ago
Pavel Djundik
c2598790f4
Fix run-script not setting Path correctly on Windows ( #10700 )
2 years ago
Jordi Boggiano
106149d102
Fix a bunch of type errors in SelfUpdateCommand, fixes #10696 , closes #10704
2 years ago
Jordi Boggiano
b03e9e414e
Merge branch '2.2' into main
2 years ago
Jordi Boggiano
96f087a273
Remove unnecessary realpath which can fail, closes #10694
2 years ago
Jordi Boggiano
237eba7ff7
Reverting release version changes
2 years ago
Jordi Boggiano
b0024890b8
Release 2.3.3
2 years ago
Jordi Boggiano
dce63fdf4f
Merge branch '2.2' into main
2 years ago
Jordi Boggiano
95e09d3a81
Reverting release version changes
2 years ago
Jordi Boggiano
2f5bcf0480
Release 2.2.11
2 years ago
Jordi Boggiano
38efb57ba2
Fix type issues
2 years ago
Jordi Boggiano
956d44c339
Add --2.2 flag to self-update for 2.2 LTS as well as EOL marker support
2 years ago
Jordi Boggiano
ecec0d00fc
Fix generation of autoload rules in a dir that is missing to ensure it does not break ( #10688 )
2 years ago
Stephan
ef12e42bdb
GitDriver: try to fetch default branch from remote ( #10687 )
...
The initial clone determined what the default branch of the cache git repository was. Changing it on the remote didn't have any impact on the local data. However, cloning it on a different machine would then store a different default branch on that machine. This could lead to different results for the same command on different machines.
2 years ago
Jordi Boggiano
be4b70ce79
Fix phpstan issues
2 years ago
Jordi Boggiano
27a449eaf7
Move duplicate key parsing from bootstrap to validate/diagnose to reduce bootstrap time a bit
2 years ago
Jordi Boggiano
8e93566c18
Validate config schema before loading it, fixes #10685
2 years ago
Jordi Boggiano
10287fcea3
Fix type error
2 years ago
David Zülke
03b7882ac2
restore --version output to pre-2.3 ( #10684 )
...
Symfony Console 2.8 used to print 'version ' in between name and version, and Composer 2.3 still does for -dev snapshots, so we're going back to the old formatting for consistency (and anyone out there who parses the version output of Composer)
Fixes #10683
2 years ago
Jordi Boggiano
29513c15da
Tweak cache behavior for SvnDriver & co to ensure null returns, refs #10681
2 years ago
nargil07
986a260d1c
Correction the function getComposerInformation in SvnDriver.php. ( #10681 )
...
Sometimes the getBaseComposerInformation had an exception so we write in the cache a string value but the funtion want to return null or Array value.
Now we write a empty string value if it happened
2 years ago
Jordi Boggiano
df0f9ad3fc
Merge branch '2.2' into main
2 years ago
Jordi Boggiano
2b99d069b2
Remove dev-master=>dev-main alias from #10372 as it does not work/is missing when reloading from lock file and extracting dev deps, refs #10651
2 years ago
Stephan
147c6a2f7e
Bitbucket: when OAuth consumer authentication fails mention that the `This is a private consumer` needs to be enabled ( #10678 )
2 years ago
Jordi Boggiano
12b2c2c3a4
Reverting release version changes
2 years ago
Jordi Boggiano
c3777ea50f
Release 2.3.2
2 years ago
Jordi Boggiano
f1e3ba74ab
Allow passing null to $prettyVersion to handle gracefully cases where a version could not be parsed upstream, refs #10631
2 years ago
Jordi Boggiano
146e036b58
Fix parsing of openssl versions with odd suffixes, refs #10631
2 years ago
Jordi Boggiano
f1ff4553d3
Fix handling of true return value for loadRootServerFile, fixes #10675
2 years ago
Jordi Boggiano
c3484ea882
Avoid endless loop when input looks interactive but isnt, fixes #10648
2 years ago
Jordi Boggiano
b46dba29ce
Allow addListener to work with strings, fixes #10672
2 years ago
Jordi Boggiano
dca5e45989
Reverting release version changes
2 years ago
Jordi Boggiano
d6c572e5f5
Release 2.3.1
2 years ago
Jordi Boggiano
2bd524fa9b
Fix handling of missing HOME env, fixes #10670
2 years ago
Jordi Boggiano
02931cd531
Reverting release version changes
2 years ago
Jordi Boggiano
934ee6eed3
Release 2.3.0
2 years ago
Jordi Boggiano
af3e67e745
Always show a stack trace for \Error & LogicException throwables even if output is not verbose
2 years ago
Jordi Boggiano
d1fa5d1ede
Make eventName required if no $event is passed in
2 years ago
Jordi Boggiano
cfb34416ec
Merge branch '2.2' into main
2 years ago
Jordi Boggiano
906692cd04
Allow null eventName in EventDispatcher::dispatch
2 years ago
Jordi Boggiano
9c2793382b
Reverting release version changes
2 years ago
Jordi Boggiano
18f748df69
Release 2.2.10
2 years ago
Jordi Boggiano
30671fb904
Add warning when using 7z <21.01 on linux/osx, fixes #10535
2 years ago
Jordi Boggiano
039701656f
Merge branch '2.2' into main
2 years ago
Jordi Boggiano
2dbe66ad20
Fix deletion of corrupt 0-bytes zip archives from the cache, fixes #10580 ( #10666 )
2 years ago
Jordi Boggiano
0708eb45e5
Fix type error when PATH env is not set, fixes #10662
2 years ago
Jordi Boggiano
6bd75d5738
Update phpstan & baseline (2158, 104)
2 years ago
Stephan
854aab5f03
ArrayLoader: handle links where target is invalid numeric package name ( #10663 )
2 years ago
Stephan
eb0aaa7472
Bitbucket: handle missing authentication response from API returning 404 status code ( #10657 )
2 years ago
Stephan
9f8ee0e40a
ArrayLoader: fix integer index of branch alias ( #10660 )
2 years ago
Stephan
1fff47bfc7
SplFileInfo: getRealPath can return false in ArchivableFilesFinder ( #10665 )
2 years ago
Stephan
37627f10d0
RemoteFilesystem: fix result length check ( #10656 )
2 years ago
Stephan
1daafb817d
ValidatingArrayLoader: only validate source/dist properties if they are set ( #10658 )
2 years ago
Stephan
61be158040
ArrayLoader: assert that source/dist reference are string values ( #10647 )
2 years ago
Jordi Boggiano
166542f981
Fix param nullability
2 years ago
Jordi Boggiano
8b373a1306
Make sure path repo reuses an existing ProcessExecutor if provided to it, fixes #10642
2 years ago
Stephan
bd89a67398
SvnDriver: buildIdentifier must be of type int, string given ( #10646 )
2 years ago
Jordi Boggiano
f68ea293d5
Reverting release version changes
2 years ago
Jordi Boggiano
36dc875e1c
Release 2.3.0-RC2
2 years ago
Jordi Boggiano
fd2972247f
Add missing param types, fixes #10638
2 years ago
Jordi Boggiano
c9ff588d68
Mark abstract class as such
2 years ago
Jordi Boggiano
e0022880cc
Tiny wording tweak
2 years ago
Jordi Boggiano
bbf2e94579
Fix a few type errors, update baseline (2170, 104)
2 years ago
Jordi Boggiano
e63e15aea8
Fix usage of react/promise resolve() to prepare for v3
2 years ago
Jordi Boggiano
96ad838686
Add try/finally to ensure we always reset the max jobs
2 years ago
Jordi Boggiano
b0665981c2
Parallellize the branch comparisons to speed up bootstrapping/version guessing when on a feature branch ( #10632 )
...
* Parallellize the branch comparisons to speed up bootstrapping/version guessing when on a feature branch, fixes #10568
* Allow ProcessExecutorMock to function with async calls
2 years ago
Jordi Boggiano
ca3b874414
Fix issue in remove command when allow-plugins is not present at all, fixes #10629
2 years ago
Jordi Boggiano
dec123770f
Fix phpversion() returning false when an extension has no version, fixes #10631
2 years ago
Jordi Boggiano
a2bdf72fa4
Fix showing a single package by name in show command, fixes #10623
2 years ago
Jordi Boggiano
a7c2bd8aa1
Fix false return value in findPackage, fixes #10622
2 years ago
Jordi Boggiano
20e410f3a2
Fix inconsistent parameter names in inheritance trees
2 years ago
Jordi Boggiano
38813e10f7
Reverting release version changes
2 years ago
Jordi Boggiano
3b150d0ef6
Release 2.3.0-RC1
2 years ago
Jordi Boggiano
aad2f86edf
Merge branch '2.2' into main
2 years ago
Jordi Boggiano
78bdd8127b
Reverting release version changes
2 years ago
Jordi Boggiano
07eccf080a
Release 2.2.9
2 years ago
Jordi Boggiano
6b97524b25
Load plugins which modify install path early, fixes #10618 ( #10621 )
2 years ago
Jordi Boggiano
ef5a128973
Fix type error
2 years ago
Svyatoslav Tregubov
f863855647
`--patch-only` option for `show` and `outdated` commands ( #10589 )
...
Fixes #10503
Co-authored-by: Svyatoslav <tregubov.s@asteq.ru>
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2 years ago
Yanick Witschi
f125fc1d0a
Improve performance of DefaultPolicy ( #10585 )
...
Add memoization to selectPreferredPackages
2 years ago
Christopher Hertel
3a1e07f3cc
Remove allow-plugin config on remove ( #10615 )
2 years ago
Yehuda Katz
c3a41b944e
Allow global ignore-platform-req ( #10616 )
2 years ago
Jordi Boggiano
5122bd42fb
Merge branch '2.2' into main
2 years ago
Jordi Boggiano
7bee425b58
Reverting release version changes
2 years ago
Jordi Boggiano
26a587345d
Release 2.2.8
2 years ago
Jordi Boggiano
2d7f1569f3
Allow using self.version with require command, fixes #10593
2 years ago
Jordi Boggiano
f31700bf19
Sort packages with the same weight alphabetically to have a completely stable sort not dependent on input order, fixes #10614
2 years ago
Jordi Boggiano
d67953266f
Do not read require-dev except for the root package when sorting packages
2 years ago
Jordi Boggiano
890b8fad3d
Ignore phpstan issue
2 years ago
Jordi Boggiano
5b7ea9580e
Update composer/semver to latest
2 years ago
Yanick Witschi
ced24da7b0
Fix PoolOptimizer should consider disjunctive MultiConstraints ( #10579 )
2 years ago
Jordi Boggiano
0a4c0778ab
Propagate decoration state to repo warnings, fixes #10601
2 years ago
bilogic
ae23647f07
Create SYMLINKD instead of SYMLINK on Windows host/Linux guest filesystems ( #10592 )
...
Co-authored-by: bilogic <bilogic@example.com>
2 years ago
Jordi Boggiano
575fbfb53f
Fix phar build
2 years ago
Jordi Boggiano
18246212db
Upgrade to composer/pcre 2.x
2 years ago
Jordi Boggiano
1734d86907
Merge branch '2.2' into main
2 years ago
Martin Herndl
9715580bc0
Add file agument to archive help ( #10574 )
2 years ago
Antoine Makdessi
6c0a6e00b3
Fix #10575 ( #10576 )
...
Refactor the whole cleanChanges/getLocalChanges code to be more strict with null returns
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2 years ago
Jordi Boggiano
076925ebef
Merge pull request #10567 from Seldaek/strict_types
...
Add strict types declares to all files
2 years ago
Jordi Boggiano
af995c3038
Merge branch '2.2' into main
2 years ago