240 Commits (0ee0138bed31aa2c911041bf63f09857eff8da7a)

Author SHA1 Message Date
Jordi Boggiano 16af52be8a Merge remote-tracking branch 'origin/1.6' 6 years ago
Gabriel Caruso 7d9f8e2247
Improvements
Small improvements, such as remove unused imports, unecessaries casts, parentheses, etc.
6 years ago
Théo FIDRY 87646ae689
Hide suggest reason when there is not one 6 years ago
Jordi Boggiano 4ebb747e12 Merge branch '1.6' 6 years ago
Jordi Boggiano e697293cd9 Handle broken symlinks more cleanly, fixes #7255 6 years ago
Jordi Boggiano ef46a8afa4 Merge branch '1.6' 6 years ago
Patrick Rose b90987fdeb Fix permissions when using the PearBinaryInstaller
The PearBinaryInstaller is old and not used by many people, so the
world writable permissions weren't caught
6 years ago
Gabriel Caruso 3d262bd637 Fixes from PHPStan level 0
More fixes from PHPStan level 0
7 years ago
johnstevenson 3511edc9e8 Fix shell proxy to allow user-defined cygdrive 7 years ago
Tom Klingenberg 1bc5163d34 mute first cd in win proxy stub for sh shell, fixes #6567
in the sh script, the first cd command did output the directory it cd'ed
into did output the path itself.

fix for me is to redirect it's standard output to /dev/null

using git bash on a windows 10 box.

w/o this fix, the workaround is to invoke the .bat file which is created
as well (but this is not so handy as a non windows user for me).
7 years ago
Martin Hasoň 88ec172bd8 Fix CS 7 years ago
Alexander M. Turek 20050dd984 Remove console formatting as well. 7 years ago
Alexander M. Turek 401ef69ae3 Remove ANSI control characters from suggested packages output. 7 years ago
Jordi Boggiano 122e422682 CS fixes 7 years ago
Fabien Potencier 07cbb73184 fixed deprecated class usages 8 years ago
Jordi Boggiano 2d8251b7ad Fix handling of local binaries on windows, refs #5612 8 years ago
Jordi Boggiano 59596ff012 Make sure we do not overwrite binaries but only re-create missing ones, refs #5127 8 years ago
Jordi Boggiano 88d5b74c74 Merge remote-tracking branch 'j0k3r/re-install-binaries' 8 years ago
Jeremy Benoist 4f7fbbc879 Introduce InstallerBinaryInterface
This is an interface for Installer which should support installing binary.
ATM there is only the `LibraryInstaller`.

It eases the check for supported method when installing binaries for all packages
8 years ago
Sami Jawhar 9d2db57f65 BinaryInstaller::generateWindowsProxyCode() now trims both single and double quotes from $binPath when creating windows .bat file. 8 years ago
Jordi Boggiano 3b0a1c6f70 Run cs fixer and update config to latest master 8 years ago
Niels Keurentjes eb77c0b7f5 phpDoc cleanup, removed unused imports, variables and parameters. 8 years ago
Niels Keurentjes 818c3e707a Ton of phpDoc fixes. 8 years ago
Niels Keurentjes 63d3964ab5 Rollback installation of plugins if corrupted, fixes #5130 8 years ago
Jeremy Benoist e9fc0e6548 Re-install binaries on update/install
Binaries are re-installed after an update/install (ie: removed and then installed)
8 years ago
Jordi Boggiano 9af645ef50 Fix missing var ref, refs #5117 8 years ago
Jordi Boggiano 6a88d49ffb Add support for the new binary installer in PEAR installer, fixes #5117 8 years ago
Jordi Boggiano ace88fa986 Rename LibraryBinariesHandler and reorganize constructor args, refs #5100 8 years ago
Helmut Hummel b1ec99faed Extract binary installation and removal to own class
The functionality to install binaries might be useful
for other installers.
Create API for that by extracting this functionality from
the LibraryInstaller class.
8 years ago
Haralan Dobrev cc389d6c1a List project suggestions in create-project command
Resolves https://github.com/composer/composer/issues/2752
8 years ago
Jordi Boggiano 9d95456bb0 Fix bug in handling of special chars in proxy .bat files for binaries, fixes #4990 8 years ago
Jos 51d4c930ef Fix for cygwin if $dir contains spaces
Without the quotes cygpath will interpret the filename (containing spaces) as two or more different files. This results in the value of $dir being incorrect.
8 years ago
Niels Keurentjes 72a3563f1e Removed some 3 year old backward compatibility code. 8 years ago
Niels Keurentjes 0dab63e050 Unified all Windows tests throughout the code. 9 years ago
Jordi Boggiano 49d7d65933 Add verbosity input support to IOInterface 9 years ago
Niels Keurentjes 18cd4f966b Added silencer utility to more gracefully handle error suppression without hiding errors or worse. Fixes #4203, #4683 9 years ago
Jordi Boggiano 966a982738 CS fixes 9 years ago
Jordi Boggiano d98b134dc3 Fix removal of packages installed in custom path with custom installers not overriding uninstall, fixes #2232 9 years ago
Jordi Boggiano 615638c7c3 Simplify bin-compat by removing the nosymlink option, refs #3704 9 years ago
Jordi Boggiano c9b51a5751 Merge remote-tracking branch 'kocsismate/feature-bin-compat' 9 years ago
Jordi Boggiano ebe0c8d79c Fix issue #3229, refs #3184 9 years ago
Jordi Boggiano 90a90e22de Merge remote-tracking branch 'Wirone/unixy-proxy'
Conflicts:
	src/Composer/Installer/LibraryInstaller.php
9 years ago
Jordi Boggiano 3d9daea6a0 CS fixes 9 years ago
Boris Momčilović b05b52ff7e InstallationManager: notifyInstalls: append authorization header for repository 9 years ago
Jordi Boggiano ce08582671 Fix CS 9 years ago
Gavin Staniforth c1e60a0abd Ensure the bin directory exists before checking empty
Line 130 has similar logic so avoided doing the check withiin `isDirEmpty()`
9 years ago
Jordi Boggiano 80f1e4372a Remove empty bin dir after all binaries have been removed from it, fixes #3451 9 years ago
Kocsis Máté 87c16073ec Merge branch 'master' of https://github.com/composer/composer into feature-bin-compat 9 years ago
Jordi Boggiano 79f9158fb2 Merge pull request #4192 from localheinz/fix/import
Fix: Add missing imports
9 years ago
Jordi Boggiano 70f5150893 Merge pull request #4190 from localheinz/fix/unused-private-property
Fix: Remove unused private property
9 years ago