Jordi Boggiano
f964b83018
Add bearer support in config command and add to docs/schema, refs #8671
4 years ago
Jordi Boggiano
0b993ba4b9
Merge pull request #8671 from ethanclevenger91/ethanclevenger91/explicit-bearer-support
...
Bearer support.
4 years ago
Jordi Boggiano
479414d8bd
Move bearer auth to be first to make sure it does not get shadowed by github/gitlab/.. configs
4 years ago
Jordi Boggiano
9d72c92f07
Avoid looping endlessly for invalid GitLab tokens in git config, fixes #8667
4 years ago
Jordi Boggiano
34fb609aad
Merge pull request #8652 from clxmstaab/more-ambiguous
...
report ambiguous classes across all classmaps
4 years ago
Jordi Boggiano
beb64914a3
Retrieve latest funding info for all packages in fund command
4 years ago
Ethan Clevenger
cbec8ceb53
Bearer support.
4 years ago
Markus Staab
cc5c5dbee1
merge fix from https://github.com/composer/composer/pull/8651
4 years ago
Markus Staab
04a18c72ba
fix CS
4 years ago
Markus Staab
883a179dec
removed superflous code
4 years ago
Markus Staab
61e0bf1cb5
fix typo
4 years ago
Jordi Boggiano
6d3d7c39ac
Merge pull request #8621 from remorhaz/master
...
Fix incorrect --no-dev handling of replaced packages
4 years ago
Jordi Boggiano
6cf54170cc
Avoid mixing write/writeError which causes issues on some terminals, fixes #8656
4 years ago
Jordi Boggiano
2285a79c63
Merge pull request #8641 from souweb22/delete_return
...
delete 'return' and 'spaces' in Filesystem.php
4 years ago
Jordi Boggiano
c5ce4de89e
Consistently return void
4 years ago
Jordi Boggiano
eb56c8dcd4
Merge pull request #8640 from souweb22/fix_doc
...
add 'array' to document in ConfigSourceInterface.php
4 years ago
Jordi Boggiano
5d970022e8
Normalize output of create-project target path, refs #8609 , refs #8412
4 years ago
Jordi Boggiano
919fa60579
Merge pull request #8611 from ol0lll/fix/create-project-with-absolute-path
...
Create project with absolute path(fixes #8609 )
4 years ago
Jordi Boggiano
c6969756e8
Make sure $_SERVER is updated when putenv updates environment variables, fixes #8298
4 years ago
Jordi Boggiano
7a270955f5
Fix issues handling branch names with pipes in them
4 years ago
Jordi Boggiano
80875e896d
Merge branch 'master' into 2.0
4 years ago
Jordi Boggiano
05737a46fb
Improve funding info parsing
4 years ago
Jordi Boggiano
9cab8c10cc
Merge branch 'master' into 2.0
4 years ago
Jordi Boggiano
0b9c658bef
Add plugin-api-version used to generate a lock file in itself
4 years ago
Jordi Boggiano
c4f19e51d8
Rework the funding info parsing to avoid requiring graphql permissions
4 years ago
remorhaz
339ee953e5
Fix incorrect --no-dev handling of replaced packages
4 years ago
Markus Staab
30b1dfb8a9
report ambiguous classes across all classmaps
4 years ago
arai
e61b559eb2
delete 'return' in Filesystem.php
4 years ago
arai
766c8d448c
add 'array' to document in ConfigSourceInterface.php
4 years ago
Jordi Boggiano
a2eb0bab12
Abort loop correctly when package is a match
4 years ago
Jordi Boggiano
5b41b78809
Optimize findPackagesWithReplacersAndProviders to avoid multiple loops over replace/provide links
4 years ago
Jordi Boggiano
20e4cc3b6f
Fix finding replacers/providers to check constraints correctly
4 years ago
arai
1f08138379
Delete variable
4 years ago
Volker Killesreiter
e532e70b22
Revert "Chore: Use consistent directory path"
...
This reverts commit 43e0321ee7
.
4 years ago
Jordi Boggiano
2e82e34fe0
Merge branch 'master' into 2.0
4 years ago
Jordi Boggiano
4f59162827
Fix class name of caught exception
4 years ago
Jordi Boggiano
0ad322e51f
Fix tests
4 years ago
Jordi Boggiano
ee2252c6ac
Add lint check after phar is built
...
The initial 1.10.0-RC build (593b8dfb29
)
had what looks like a bit flip of one > into a :, causing a parse error as $foo->bar became $foo-:bar in some class.
This is quite unpleasant and easy to miss as it requires including the file in question before the error is spotted.
It was quite lucky I ran a composer install with the new phar right after to do something else and spotted the error.
Linting all files covers this problem mostly, at least for the PHP files.
4 years ago
Jordi Boggiano
bc002ae1fb
Merge branch 'master' into 2.0
4 years ago
Jordi Boggiano
055a179cc5
Merge pull request #8453 from naderman/funding
...
Add funding field to composer.json and composer fund command
4 years ago
Jordi Boggiano
8dc055bec7
Fix 5.3 syntax
4 years ago
Jordi Boggiano
653e62f201
Merge pull request #8605 from guilliamxavier/fix-validate-strict-warnings
...
Fix validate strict warnings
4 years ago
Jordi Boggiano
4ebc318510
Fix 5.3/5.4 builds
4 years ago
Jordi Boggiano
77a477fb57
Add FundCommand
4 years ago
Jordi Boggiano
f171d1fd89
Avoid requiring auth for the funding API access
4 years ago
Guilliam Xavier
a17e7e9bd3
ValidateCommand: fix array syntax for PHP 5.3
4 years ago
Jordi Boggiano
b033a2ae81
Retrieve funding info from github into composer.json if not declared there
4 years ago
Jordi Boggiano
ff8bf0ab82
Clarify code
...
Co-Authored-By: Guilliam Xavier <guilliamxavier@users.noreply.github.com>
4 years ago
Guilliam Xavier
a222ec5b36
ValidateCommand: remove actually unused code
4 years ago
Nils Adermann
d665ea7ea9
After update and install commands display how many packages want funding
4 years ago
Nils Adermann
5c4f524d6a
Add funding field to composer.json
...
You can specify a list of funding options each with a type and URL. The
type is used to specify the kind of funding or the platform through
which funding is possible.
4 years ago
Jordi Boggiano
8fd70d2dc4
Target ClassMapGenerator ignoring of invalid PSR classes for 2.0
4 years ago
Jordi Boggiano
fe5b4fa4cc
Merge pull request #8597 from glaubinix/t/log-git-sync-mirror-error
...
Git: log error for sync mirror with existing local copy
4 years ago
Jordi Boggiano
850bfcddfa
Fix json manipulation fallback handling of empty objects, fixes #8600
4 years ago
Jordi Boggiano
71005091f0
Fix invalid access to private prop
4 years ago
Jordi Boggiano
2d8a8ed7e3
Add InstalledRepository to clean up some concepts and usages, remove BaseRepository
4 years ago
Jordi Boggiano
78885c556a
Add missing use statement
4 years ago
Jordi Boggiano
c5c6d44a0b
Refactor away some unnecessary RepositorySet usages
4 years ago
Jordi Boggiano
f35cd8948a
Minor refactoring of RootPackageRepo
4 years ago
Jordi Boggiano
44d1e15294
Simplify suggester output when updating, refactor suggest command to reuse SuggestedPackagesReporter and make smarter defaults, fixes #6267
4 years ago
Guilliam Xavier
35562dcd49
ValidateCommand: add a comment that we didn't forget $lockErrors
4 years ago
Guilliam Xavier
2f4bd85219
ValidateCommand: de-invert if-elseif-else to reduce code duplication
4 years ago
Guilliam Xavier
901d177179
ValidateCommand: factorize $printSchemaUrl code
4 years ago
Guilliam Xavier
b5e41d6792
ValidateCommand: always display all warnings, independently of --strict
4 years ago
Guilliam Xavier
7e2679ffc1
ValidateCommand: pass $isStrict to outputResult() of with-dependencies too
4 years ago
Jordi Boggiano
d52ce3c37f
Replace pre/post-dependencies-solving by a pre-operations-exec event happening only on install from lock
4 years ago
Stephan Vock
243ee9b1e4
Git: log error for sync mirror with existing local copy
4 years ago
Jordi Boggiano
835a91532d
Add PRE_POOL_CREATE event, fixes #8348
4 years ago
Jordi Boggiano
71855e6430
Restore PRE/POST_DEPENDENCY_SOLVING events
4 years ago
Jordi Boggiano
4d74f5ba95
Fix exclude-from-classmap handling to avoid foo matching foo* directories, fixes #8563 , refs #8575
4 years ago
Jordi Boggiano
7e142b5d6b
Use Upgrading for package installs too
4 years ago
Jordi Boggiano
02433c3659
Merge pull request #8565 from glaubinix/t/create-project-add-repository
...
Create project: add option to add the repository to the composer.json
4 years ago
Jordi Boggiano
9609729de7
Change update to upgrade for package update operations which are upgrades, refs #8594
4 years ago
Jordi Boggiano
be8dd528b8
Merge remote-tracking branch 'origin/master' into 2.0
4 years ago
Jordi Boggiano
ef249ef6b6
Add support for lib-zip platform package
4 years ago
Ion Bazan
a180f48921
Distinguish between updates and downgrades in dry-run
4 years ago
Stephan Vock
2a564a9f36
Create project: add option to add the repository to the composer.json
4 years ago
Jordi Boggiano
5843a282bc
Merge pull request #8562 from adrianosferreira/fix-archive-format-cli
...
Uses config data from Composer object whenever possible on ArchiveCommand
4 years ago
Adriano Ferreira
97d077c43b
Uses config data from Composer object whenever possible on ArchiveCommand
...
It was previously blindly getting a new instance from the factory thus ignoring what is on Composer object config data.
4 years ago
Jordi Boggiano
589abb06a3
PHPStan fixes
4 years ago
Jordi Boggiano
c56886ac36
Avoid checking for .dockerenv if open_basedir is set, fixes #8585
4 years ago
Jordi Boggiano
45ecbae8f5
Merge branch 'master' into 2.0
4 years ago
Ion Bazan
2ff73a8797
respect `notify-on-install` option
4 years ago
Jordi Boggiano
4e4304ae7d
Fix
4 years ago
Jordi Boggiano
0b4763e6c7
Make it clear which package the error is for when detecting uncommitted changes
4 years ago
Jordi Boggiano
006c3de542
Fix tests and make TTY usage on ProcessExecutor cleaner
4 years ago
Jordi Boggiano
f572636628
Add support for TTY mode on Linux/OSX in script handlers when running in interactive mode, fixes #5856 , fixes #3299 , closes #4036
4 years ago
Jérôme Billiras
58e2956b95
Allow referencing scripts to extends @composer
4 years ago
Jordi Boggiano
d14d411fa4
Add --dry-run to require and remove commands, fixes #7793
4 years ago
Nils Adermann
fdfdee03c1
Remove unused argument to pool->match
4 years ago
Nils Adermann
4f44b7b221
Remove unused policy function findUpdatePackages
4 years ago
Jordi Boggiano
a1fe64152d
Minor Installer cleanups
4 years ago
Jordi Boggiano
2f4ea3a463
Fix show command, refactor RepositorySet constructor
4 years ago
Jordi Boggiano
38f6ae2c4e
Fix react/promise usage for v2
4 years ago
Jordi Boggiano
189d5adab0
Fix reporting of replace conflicts to not mention provides
4 years ago
Jordi Boggiano
ec90c17e3b
Fix conflict order to be more accurate
4 years ago
Jordi Boggiano
1e68555e0a
Sanitize URLs in getRepoName and centralize the Url sanitization process
4 years ago
Jordi Boggiano
c41df325d8
Remove RepositorySet from Solver and remove getPool from RepositorySet
4 years ago
Jordi Boggiano
1d4cdb60d0
Improve error reporting for conflicts/replaces of various kinds, fixes #7254
4 years ago
Jordi Boggiano
6c9d9e775c
Clean up and deduplicate the output of RULE_LEARNED
4 years ago