10847 Commits (f6c446bdd71d568c04e3c02a0aac0169e9575f99)
 

Author SHA1 Message Date
Jordi Boggiano 346356a4dd
Fix phpdoc 4 years ago
Jordi Boggiano 5d6f9b2528
Prefer @phpstan- annotations as that is what we run against 4 years ago
Jordi Boggiano b40b93bc7d
Merge branch '2.0' 4 years ago
Jordi Boggiano 414586ba05
Attempt working around Vagrant filesystem issues, added COMPOSER_RUNTIME_ENV env var (set to vagrant), fixes #9627 4 years ago
Jordi Boggiano 059b5b197d
Merge branch '2.0' 4 years ago
ochorocho 35210d99a9
Add --format json to search command (#9747)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
4 years ago
Jordi Boggiano 17747181d0
Clarify behavior of name in VCS repo, closes #9752 4 years ago
ochorocho 8f315551d4
Remove output "summary" from fund command. Fund does not provide this type of format. (#9748) 4 years ago
Jordi Boggiano c81562b343
Merge branch '1.10' into 2.0 4 years ago
Jordi Boggiano 54889ca109
Document GH token usage and also make sure we redact them in Process debug output, refs #9757 4 years ago
Ayesh Karunaratne dc83ba93f3
Update GitHub token pattern
GitHub is updating the format of auth tokens from `a-z0-9` to `A-Za-z0-9` ([notice](https://github.blog/changelog/2021-03-04-authentication-token-format-updates/)).
I'm not sure why `.` is allowed, but I dare not to remove it. In this PR, the token validation regex is updated to allow `A-Za-z0-9` instead of the current all lower-case `a-z` and disallowed `_`.
4 years ago
Jordi Boggiano 4940009f83
Bump phpstan to level 3 (#9734)
Clean up PackageInterface/CompletePackageInterface, add missing methods, type things in solver as BasePackage, added CompleteAliasPackage, ..
4 years ago
Jordi Boggiano 8392508e23
Merge branch '2.0' 4 years ago
Jordi Boggiano 4f2e0de726
Merge branch '1.10' into 2.0 4 years ago
Jordi Boggiano 06003f4da6
Update release step to use php8 as it produces slightly different output wrt white-space, fixes #9746 4 years ago
Jordi Boggiano ab84916422
Fix unclear error when a package can be found in lock but not in the remote repo, fixes #9750 4 years ago
Jordi Boggiano de8a737015
Fix var shadowing 4 years ago
Jordi Boggiano 4a8e7daf56
Make sure that single files installed via file downloader get the executable bit set if they are a binary file, refs #9742 4 years ago
Jordi Boggiano 4bedd8379a
Fix php-proxying of binaries to avoid proxying phar files, fixes #9742 4 years ago
Jordi Boggiano e9d405ff18
Avoid using str_replace for dev-master replacement as that may be a valid part of a branch name, fixes #9739 4 years ago
Jordi Boggiano b451bcb1ac
Fix issue extracting archives into paths that already exist, fixes composer/installers#479 4 years ago
Jordi Boggiano bcd862c3dc
Add support for @php <abs path to binary from PATH>, fixes #9726 4 years ago
Jordi Boggiano d0b399b788
Merge branch '2.0' 4 years ago
Jordi Boggiano 0879e80d56
Fix functional tests to use the same PHP version as PHPUnit runs with 4 years ago
John Stevenson 4f47a4c667
Proxy handling docs and tweaks (#9735) 4 years ago
John Stevenson 07f59a9162
Preserve file permissions on Windows self-update (#9733)
Windows file operations result in different file permissions depending
if the file is copied or moved. A copy operation applies permissions
from the destination folder (or file if it already exists and does not
use inheritance), while a move operation generally preserves the source
file permissions.

Windows PHP `rename` uses MoveFileEx so if the user is running as an
admin and the destination is in a common (non-user) location, then the
permission for other users will be replaced by the admin user. Likewise
for the UAC elevation feature, which uses the cmd.exe `move` command.

This fix uses copy and delete operations on Windows, so that other users
can continue to run composer.phar
4 years ago
John Stevenson dfc69140fe
Fix compiler on Windows (#9730) 4 years ago
Nils Adermann 41e329a458
Merge pull request #9729 from Seldaek/restrict-why
Remove version argument from why and enforce it for why-not command
4 years ago
Jordi Boggiano 4851f65318
Remove version argument from why and enforce it for why-not command, refs #9693 4 years ago
Jordi Boggiano ed1fe28ab2
Add --format to fund command docs 4 years ago
Jordi Boggiano 40800df6bd
Fix CS 4 years ago
Jordi Boggiano 52967c32cf
Remove unused var 4 years ago
Jordi Boggiano 48d02b479b
Fix output of PathDownloader during upgrades 4 years ago
Jordi Boggiano fd88b3d48d
Fix DownloaderInterface return types 4 years ago
Jordi Boggiano b3951b8804
Fix output of FileDownloader and related to avoid async issues 4 years ago
Jordi Boggiano 9809350753
Fix PathDownloader's remove implementation 4 years ago
Jordi Boggiano 46dde9453b
Fix tests 4 years ago
Jordi Boggiano 67261e8d47
Make package removals async as well, refs #9618 4 years ago
Markus Staab a5fecc4720
Filesystem: added removeDirectoryAsync() and use it in ArchiveDownloader (#9618)
This turns half of the `rm -rf ...` executions during package installs async and therefore improves performance
4 years ago
Jordi Boggiano 980eef5b68
Fix InstalledVersions issues in PHPStan by including the local file first 4 years ago
Julian c78850ab98
Show a warning if require key changes for dependency (#9542)
Fixes #9516

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
4 years ago
Jordi Boggiano d806013091
Add more details when require/init fails to find a matching package due to the platform requirements 4 years ago
Jordi Boggiano d0aac44ed2
Auto-detect dev-mode in autoload-dump and deprecate dump-autoload --no-dev (#9714) 4 years ago
ochorocho 91b6ff27ac
Add --format option to `composer fund` command (#9678)
* Add --format option to `composer fund` command

Co-authored-by: Jochen Roth <jochen.roth@b13.com>
4 years ago
Jordi Boggiano 7c555b6382
Merge pull request #9682 from nicolas-grekas/installed-no-dev
Allow querying InstalledVersions::isInstalled() for no-dev packages
4 years ago
Jordi Boggiano 8da3b3b9be
List relevant conflicts in why/why-not, fixes #9693 4 years ago
Jordi Boggiano 09639a0cfc
Merge pull request #9670 from Ayesh/enums
Add support for autoloading Enums
4 years ago
Jordi Boggiano e3af4ee606
Include stdout as well as stderr if git stash/diff/.. fails, fixes #9720 4 years ago
Jordi Boggiano 72b7772109
Merge branch '2.0' 4 years ago
Jordi Boggiano c201dc3582
Update changelog 4 years ago