Jordi Boggiano
4e4c38795a
Merge branch '1.9'
2019-11-01 17:29:20 +01:00
Jordi Boggiano
1c012b74a6
Update dependencies
2019-11-01 17:20:09 +01:00
Jordi Boggiano
aaead1bb88
Merge branch 'master' into 2.0
2019-11-01 17:13:09 +01:00
Jordi Boggiano
3496431a6c
Fix PSR warnings for optimized autoloader, refs #8397 , refs #8403
2019-11-01 17:13:02 +01:00
Jordi Boggiano
0ea06de286
Merge branch 'master' into 2.0
2019-11-01 16:41:48 +01:00
Jordi Boggiano
6a7f8ac335
Merge branch '1.9'
2019-11-01 16:41:16 +01:00
Jordi Boggiano
1a797c16a0
Prepare 1.9.1 changelog
2019-11-01 16:40:34 +01:00
Jordi Boggiano
af86ca1fb3
Output a hint that maybe you are not in the right directory, fixes #8404
2019-11-01 16:32:34 +01:00
Jordi Boggiano
d059d90ecf
Fix PSR warnings for optimized autoloader, refs #8397 , refs #8403
2019-11-01 16:18:42 +01:00
Jordi Boggiano
502b68967a
Fix tests for PSR-fix in optimized autoloader, refs #8397
2019-11-01 15:31:55 +01:00
Jordi Boggiano
c3f034e33b
Fix tests for PSR-fix in optimized autoloader, refs #8397
2019-11-01 15:13:28 +01:00
Jordi Boggiano
f6b8643dcd
Change PSR-fix for optimized autoloader to only warn for now, refs #8397
2019-11-01 14:50:15 +01:00
Jordi Boggiano
050707ed0c
Fix output of dump-autoload command to avoid interfering with warnings, refs #8397
2019-10-30 16:35:13 +01:00
Jordi Boggiano
3a0d05c148
Merge remote-tracking branch 'and800/fix-autoload-opts'
2019-10-30 16:22:44 +01:00
Jordi Boggiano
f867c407c7
Merge branch 'master' into 2.0
2019-10-30 15:40:26 +01:00
Jordi Boggiano
a0690525b5
Merge branch '1.9'
2019-10-30 15:25:57 +01:00
Jordi Boggiano
149250ab92
Remove credentials from git remotes in cache and vendor dirs
...
This only removes the credentials if they are managed by composer auth.json or equivalent, if the credentials were present in the package URL to begin with they might remain
Refs #8293
Fixes #3644
Closes #3608
2019-10-30 15:24:53 +01:00
Jordi Boggiano
4e43f849c7
Avoid overwriting credentials with existing ones from git repos, refs #8293
2019-10-30 12:56:08 +01:00
Jordi Boggiano
12184aa9c5
Fix github auth to try https with pwd also, fixes #8356
2019-10-30 12:01:23 +01:00
Jordi Boggiano
b925d06861
Fix gitlab support for basic-auth fallback from ssh URLs
2019-10-30 11:25:00 +01:00
Jordi Boggiano
ae9cc3db58
Avoid clearing the error output during removeDirectory execution, losing git error output, fixes #8351
2019-10-30 10:45:40 +01:00
Jordi Boggiano
bc2a1d762a
Merge branch 'master' into 2.0
2019-10-30 08:54:44 +01:00
Nils Adermann
eaae360ce6
Correcting lock files in test cases and updating output
2019-10-30 00:55:11 +01:00
Nils Adermann
e6e317bc27
Fix test configurations, missing lock files, invalid ones
...
aliased alias test is failing because double alias is improperly
resolved now
2019-10-30 00:40:36 +01:00
Nils Adermann
94d45a980c
Update lock syntax in tests and verify installed version does not impact lock generation
...
Particularly the test
tests/Composer/Test/Fixtures/installer/partial-update-downgrades-non-whitelisted-unstable.test
is interesting because it verifies that an older version will be
installed on update if the new one is only present in the installed repo
or vendor dir. This was the cause of a lot of weird edge cases and
unreliable update behavior in Composer v1
2019-10-30 00:32:23 +01:00
Nils Adermann
0ff07015a1
Only load package info from lock file for fixed packages
...
As a result some lock file packages are no longer in the pool, so the
former installed map, now present map cannot use package ids anymore
Need to revisit some more code later to simplify this, todo notes left
2019-10-30 00:24:25 +01:00
Nils Adermann
48ae45e5fe
Correct github issue test to include a lock file, still fails because of real bug now
2019-10-29 23:16:38 +01:00
Nils Adermann
5c129be5e7
Partial updates without a lock file are no longer possible, update test
2019-10-29 23:12:54 +01:00
Nils Adermann
0873c4099b
Merge branch '1.9'
...
* 1.9:
Move test file parsing into try/catch block to avoid phpunit swallowing errors
2019-10-29 23:09:53 +01:00
Nils Adermann
6a335a459c
Move test file parsing into try/catch block to avoid phpunit swallowing errors
2019-10-29 23:08:03 +01:00
Nils Adermann
4481cc4a88
Allow an install request for a package name which is already fixed
...
Ensures packages get loaded from locked repo correctly. We may not want
to support this particular use-case at all, but for now it fixes the
existing test, so we may want to revisit this later.
2019-10-29 22:28:36 +01:00
Andriy Maletsky
ec293adabc
make optimized autoloader respect PSR standards
2019-10-29 20:36:29 +02:00
Armando Miani
82d939d7f7
Validate composer show with --tree and --path options set ( #8390 )
2019-10-29 15:06:07 +01:00
Jordi Boggiano
8bcacc8a3a
Merge branch '1.9'
2019-10-29 14:24:44 +01:00
MichaelKo
99e23d5263
Don't show root warning for docker containers
...
Signed-off-by: Viacheslav Sychov <viacheslav.sychov@gmail.com>
2019-10-29 14:24:33 +01:00
Markus Staab
e47aa38ad4
Added phpdoc for ComposerAutoloaderInit$SHA1::getLoader() ( #8393 )
2019-10-29 14:08:33 +01:00
Jordi Boggiano
eea4098f98
Merge branch '1.9'
2019-10-25 14:17:35 +02:00
Andreas Schempp
8cbc595790
Validate schema name, type and version
2019-10-25 14:10:53 +02:00
Jordi Boggiano
4fc6479837
Fix require command to allow working on network mounts, fixes #8231
2019-10-25 14:08:30 +02:00
Jordi Boggiano
46657a8a7f
5.3 support :/
2019-10-24 15:26:55 +02:00
Jordi Boggiano
8d92048c8c
Update safeguard code, fixes #8383
2019-10-24 15:20:14 +02:00
xy2z
1a0d5dfacd
Now using findPackage() instead of HasPackageName()
2019-10-24 15:13:17 +02:00
Jordi Boggiano
78b8c365cd
Merge branch '1.9'
2019-10-24 15:05:45 +02:00
Jordi Boggiano
18dad48fa6
Merge pull request #8363 from sincilite/feature/error-reporting-for-missing-path
...
Improve error reporting for missing path in Repository Path
2019-10-24 11:34:55 +02:00
Jordi Boggiano
b311b2c077
Merge pull request #8375 from mathiasdonoso/feature/add-homepage-to-package-information-command
...
added package homepage information to the command 'show'
2019-10-24 11:32:59 +02:00
Jordi Boggiano
f2700bbd98
Merge pull request #8377 from TysonAndre/misc-nit
...
Fix misc phpdoc and strpos arg order nits for suggestions
2019-10-24 11:17:03 +02:00
Jordi Boggiano
d73cef3fb4
Avoid calling findPackage for non-platform packages
2019-10-24 11:16:42 +02:00
Jordi Boggiano
e85ade3107
Merge pull request #8386 from cedric-anne/bugfix/fix-php74-outdated-command
...
Fix composer outdated command on PHP 7.4; fixes #8346
2019-10-24 11:13:27 +02:00
Jordi Boggiano
82e0fdccca
Merge pull request #8384 from aboks/no-lock
...
Config option to disable lockfile generation
2019-10-24 11:06:02 +02:00
Jordi Boggiano
127ba941f1
Merge pull request #8376 from aschempp/bugfix/why-replaces
...
Consider replaces when checking package dependents
2019-10-24 10:48:09 +02:00