Mathias Berchtold
1ebeb143ae
Fix PHP 8 warnings
...
The PR fixes this PHP 8 warning:
PHP Deprecated: Required parameter $ambiguousClasses follows optional parameter $blacklist in phar://.../composer.phar/src/Composer/Autoload/AutoloadGenerator.php on line 339
2020-03-11 23:00:04 -05:00
Nils Adermann
06f460c557
Remove trailing spaces from output
2020-03-11 21:32:55 +01:00
Nils Adermann
1f467046d7
Implement getProviders on reposet for all repo types and add replacers
...
This way errors during require dev extraction make more sense
2020-03-11 17:38:16 +01:00
Nils Adermann
ddb1e79bef
Handle dev extraction exit codes instead of completing broken lock with errors
2020-03-11 17:31:49 +01:00
Jordi Boggiano
9c84f4d79f
Make sure InstalledRepository itself can be added too but requires allowing installed repos in reposet
2020-03-11 17:02:25 +01:00
Jordi Boggiano
589aa351a8
Change Uninstalling to Removing in lock operations
2020-03-11 16:44:08 +01:00
Jordi Boggiano
ba04a46cae
Fix 5.3 issue
2020-03-11 16:20:35 +01:00
Jordi Boggiano
d13ce20b6e
Fix handling of composer repos with v1 version_normalized format
2020-03-11 16:11:12 +01:00
Jordi Boggiano
a453792d6b
Merge pull request #8682 from glaubinix/f/gitlab-guest-token-access
...
GitLab: properly handle token which has Guest only access
2020-03-11 15:34:25 +01:00
Jordi Boggiano
d559bf5387
Allow configuring a path repo to an empty path as long as using wildcards and the wildcard root exists, fixes #8679
2020-03-11 15:33:14 +01:00
Stephan
402c64c271
Update src/Composer/Repository/Vcs/GitLabDriver.php
...
Co-Authored-By: Jordi Boggiano <j.boggiano@seld.be>
2020-03-11 15:17:12 +01:00
Jordi Boggiano
a7a975ec1c
Alias dev-master/trunk/default to 9999999-dev instead of normalizing the version to that, fixes #8323
2020-03-11 15:04:18 +01:00
Stephan Vock
55d252b9c3
GitLab: properly handle token which has Guest only access
2020-03-11 13:35:28 +01:00
Jordi Boggiano
97e2a249e8
Merge branch 'master' into 2.0
2020-03-11 09:34:55 +01:00
Jordi Boggiano
ffac8646fc
Fix tests
2020-03-11 09:34:40 +01:00
Jordi Boggiano
3e82542812
Fix test
2020-03-10 17:11:19 +01:00
Jordi Boggiano
d271004b30
Also check for package requiring itself in require, not only require-dev
2020-03-10 17:00:28 +01:00
Jordi Boggiano
5c4ef1eb96
Make package name validation a hard failure, fixes #7875
2020-03-10 16:57:34 +01:00
Jordi Boggiano
cd949745c3
Typo
2020-03-10 16:27:12 +01:00
Jordi Boggiano
625b472b10
Fix changelog
2020-03-10 16:25:41 +01:00
Jordi Boggiano
c033644f8b
Present lock changes alphabetically, with uninstalls first, then all install/updates mixed
2020-03-10 16:08:40 +01:00
Jordi Boggiano
24a5a0dacb
Skip invalid PSR-0/4 classes from optimized autoloader, fixes #8403
2020-03-10 15:40:45 +01:00
Jordi Boggiano
94e6cfc521
Only show direct dependencies suggestions by default, add --all flag to see all in suggest command, fixes #8660
2020-03-10 15:09:28 +01:00
Jordi Boggiano
2445ef5e1f
Refactor check-platform-reqs to use InstalledRepository and look for providers as well as platform packages, fixes #8645 , closes #8676
...
Co-authored-by: Ellis <eantaya@nuglif.com>
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2020-03-10 14:53:42 +01:00
Jordi Boggiano
d63eb8179e
Merge branch 'master' into 2.0
2020-03-10 14:05:33 +01:00
Jordi Boggiano
548505f103
Update changelog
2020-03-10 13:56:45 +01:00
Jordi Boggiano
781cf75191
Fix schema rules to be more strict
2020-03-10 13:56:35 +01:00
Jordi Boggiano
414bc18088
Update deps
2020-03-10 13:56:10 +01:00
Jordi Boggiano
f964b83018
Add bearer support in config command and add to docs/schema, refs #8671
2020-03-10 13:39:26 +01:00
Jordi Boggiano
0b993ba4b9
Merge pull request #8671 from ethanclevenger91/ethanclevenger91/explicit-bearer-support
...
Bearer support.
2020-03-10 13:33:02 +01:00
Jordi Boggiano
479414d8bd
Move bearer auth to be first to make sure it does not get shadowed by github/gitlab/.. configs
2020-03-10 13:26:53 +01:00
Jordi Boggiano
9d72c92f07
Avoid looping endlessly for invalid GitLab tokens in git config, fixes #8667
2020-03-10 11:25:45 +01:00
Jordi Boggiano
34fb609aad
Merge pull request #8652 from clxmstaab/more-ambiguous
...
report ambiguous classes across all classmaps
2020-03-10 10:47:37 +01:00
Jordi Boggiano
5765381f29
Merge pull request #8674 from Rom1deTroyes/patch-1
...
Update link to wikipedia VC -> Common terminology
2020-03-10 09:19:49 +01:00
Jordi Boggiano
beb64914a3
Retrieve latest funding info for all packages in fund command
2020-03-06 17:01:59 +01:00
Romain
41edce01fc
Update link to wikipedia VC -> Common terminology
...
The wikipedia section `Version_control#Common_vocabulary` has moved to `Version_control#Common_terminology`.
You know, scrolling along is harassing :-)
2020-03-06 12:17:09 +01:00
Ethan Clevenger
cbec8ceb53
Bearer support.
2020-03-04 15:01:35 -08:00
Jordi Boggiano
98af0fdf85
Merge pull request #8661 from johnstevenson/xdebug-handler-1.4.1
...
Update xdebug-handler to 1.4.1
2020-03-03 09:00:46 +01:00
Markus Staab
cc5c5dbee1
merge fix from https://github.com/composer/composer/pull/8651
2020-03-02 13:28:10 +01:00
Markus Staab
04a18c72ba
fix CS
2020-03-02 13:25:54 +01:00
Markus Staab
883a179dec
removed superflous code
2020-03-02 13:24:06 +01:00
Markus Staab
61e0bf1cb5
fix typo
2020-03-02 13:23:33 +01:00
johnstevenson
887f8cda08
Update xdebug-handler to 1.4.1
2020-03-01 12:56:24 +00:00
Jordi Boggiano
6d3d7c39ac
Merge pull request #8621 from remorhaz/master
...
Fix incorrect --no-dev handling of replaced packages
2020-02-28 23:49:09 +01:00
Jordi Boggiano
6cf54170cc
Avoid mixing write/writeError which causes issues on some terminals, fixes #8656
2020-02-28 22:42:52 +01:00
Jordi Boggiano
2285a79c63
Merge pull request #8641 from souweb22/delete_return
...
delete 'return' and 'spaces' in Filesystem.php
2020-02-28 22:28:14 +01:00
Jordi Boggiano
c5ce4de89e
Consistently return void
2020-02-28 22:27:53 +01:00
Jordi Boggiano
eb56c8dcd4
Merge pull request #8640 from souweb22/fix_doc
...
add 'array' to document in ConfigSourceInterface.php
2020-02-28 22:04:28 +01:00
Jordi Boggiano
5d970022e8
Normalize output of create-project target path, refs #8609 , refs #8412
2020-02-28 17:02:15 +01:00
Jordi Boggiano
919fa60579
Merge pull request #8611 from ol0lll/fix/create-project-with-absolute-path
...
Create project with absolute path(fixes #8609 )
2020-02-28 16:59:29 +01:00