10535 Commits (8392508e23d50f12212947d1749ec4c4c0353826)
 

Author SHA1 Message Date
Jordi Boggiano 8392508e23
Merge branch '2.0' 3 years ago
Jordi Boggiano 4f2e0de726
Merge branch '1.10' into 2.0 3 years ago
Jordi Boggiano 06003f4da6
Update release step to use php8 as it produces slightly different output wrt white-space, fixes #9746 3 years ago
Jordi Boggiano ab84916422
Fix unclear error when a package can be found in lock but not in the remote repo, fixes #9750 3 years ago
Jordi Boggiano de8a737015
Fix var shadowing 3 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 3 years ago
Jordi Boggiano 4bedd8379a
Fix php-proxying of binaries to avoid proxying phar files, fixes #9742 3 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 3 years ago
Jordi Boggiano b451bcb1ac
Fix issue extracting archives into paths that already exist, fixes composer/installers#479 3 years ago
Jordi Boggiano bcd862c3dc
Add support for @php <abs path to binary from PATH>, fixes #9726 3 years ago
Jordi Boggiano d0b399b788
Merge branch '2.0' 3 years ago
Jordi Boggiano 0879e80d56
Fix functional tests to use the same PHP version as PHPUnit runs with 3 years ago
John Stevenson 4f47a4c667
Proxy handling docs and tweaks (#9735) 3 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
3 years ago
John Stevenson dfc69140fe
Fix compiler on Windows (#9730) 3 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
3 years ago
Jordi Boggiano 4851f65318
Remove version argument from why and enforce it for why-not command, refs #9693 3 years ago
Jordi Boggiano ed1fe28ab2
Add --format to fund command docs 3 years ago
Jordi Boggiano 40800df6bd
Fix CS 3 years ago
Jordi Boggiano 52967c32cf
Remove unused var 3 years ago
Jordi Boggiano 48d02b479b
Fix output of PathDownloader during upgrades 3 years ago
Jordi Boggiano fd88b3d48d
Fix DownloaderInterface return types 3 years ago
Jordi Boggiano b3951b8804
Fix output of FileDownloader and related to avoid async issues 3 years ago
Jordi Boggiano 9809350753
Fix PathDownloader's remove implementation 3 years ago
Jordi Boggiano 46dde9453b
Fix tests 3 years ago
Jordi Boggiano 67261e8d47
Make package removals async as well, refs #9618 3 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
3 years ago
Jordi Boggiano 980eef5b68
Fix InstalledVersions issues in PHPStan by including the local file first 3 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>
3 years ago
Jordi Boggiano d806013091
Add more details when require/init fails to find a matching package due to the platform requirements 3 years ago
Jordi Boggiano d0aac44ed2
Auto-detect dev-mode in autoload-dump and deprecate dump-autoload --no-dev (#9714) 3 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>
3 years ago
Jordi Boggiano 7c555b6382
Merge pull request #9682 from nicolas-grekas/installed-no-dev
Allow querying InstalledVersions::isInstalled() for no-dev packages
3 years ago
Jordi Boggiano 8da3b3b9be
List relevant conflicts in why/why-not, fixes #9693 3 years ago
Jordi Boggiano 09639a0cfc
Merge pull request #9670 from Ayesh/enums
Add support for autoloading Enums
3 years ago
Jordi Boggiano e3af4ee606
Include stdout as well as stderr if git stash/diff/.. fails, fixes #9720 3 years ago
Jordi Boggiano 72b7772109
Merge branch '2.0' 3 years ago
Jordi Boggiano c201dc3582
Update changelog 3 years ago
Jordi Boggiano 7c910e6bfa
Revert autoload order fix, force bundled dependencies to be used over local dependencies, fixes #9721, fixes #9717 3 years ago
Jordi Boggiano 80c24864b6
Fix lock hash for master branch 3 years ago
Jordi Boggiano d6d4069b30
Try to fix windows CI again 3 years ago
Jordi Boggiano 06ef815ec8
Quote caret to avoid issues with cmd.exe 3 years ago
Jordi Boggiano 7217cf5ecc
Merge branch '2.0' 3 years ago
Jordi Boggiano bbd87934e9
Make sure we always pass a string to strtoupper 3 years ago
Jordi Boggiano e1570798cd
Bump CI versions 3 years ago
Jordi Boggiano 1955f98937
Update target version to 2.1 3 years ago
Jordi Boggiano 3bb10f2c9b
Update changelog 3 years ago
Jordi Boggiano 2597e195ef
Merge remote-tracking branch 'Sweetchuck/i9703-event-dispatcher-last-winner' 3 years ago
Jordi Boggiano d855986c39
Also allow backslashes to work on cmd.exe for plain executable paths, fixes #9707 3 years ago
Jordi Boggiano cf2128a889
Merge pull request #9713 from Seldaek/fix-unixy-proxy
Generate binary proxy in PHP if the target binary is detected as a PHP script
3 years ago