Jordi Boggiano
98a15bc93c
Add output for metapackage installs/updates/.. fixes #7586
6 years ago
Gabriel Caruso
2a13bb2649
Fixes from PHPStan ( #7687 )
...
* fix docblocks
* remove redundant conditional
* fix wrong variable name
* fix wrong namespaces
* add missing private members
* remove unused/redundant arguments
* move testcase class
* exclude TestCase.php
* Tweak RuleWatchGraph type hints
* Tweak doc comment
6 years ago
Jordi Boggiano
ff59bbdab0
CS fixer
6 years ago
Jordi Boggiano
16af52be8a
Merge remote-tracking branch 'origin/1.6'
6 years ago
Théo FIDRY
87646ae689
Hide suggest reason when there is not one
6 years ago
Jordi Boggiano
bfa01285c2
Merge branch '1.6'
7 years ago
Jordi Boggiano
066351c5b9
Remove use of deprecated getMock method
7 years ago
Gabriel Caruso
3d262bd637
Fixes from PHPStan level 0
...
More fixes from PHPStan level 0
7 years ago
Gabriel Caruso
afc9a7643e
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
7 years ago
Gabriel Caruso
a4b220273e
Refactoring Tests ( #6849 )
7 years ago
Alexander M. Turek
20050dd984
Remove console formatting as well.
8 years ago
Alexander M. Turek
401ef69ae3
Remove ANSI control characters from suggested packages output.
8 years ago
Jordi Boggiano
122e422682
CS fixes
8 years ago
Jordi Boggiano
59596ff012
Make sure we do not overwrite binaries but only re-create missing ones, refs #5127
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)
9 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.
9 years ago
Haralan Dobrev
cc389d6c1a
List project suggestions in create-project command
...
Resolves https://github.com/composer/composer/issues/2752
9 years ago
Rob Bast
a8995b2572
use dirsep so phpunit on windows doesnt fail
9 years ago
Rob Bast
adf3b956d0
try to use unique test directories
...
any tests that use the filesystem should have their own unique directory, as we run our test suite in parallel and
cleanup of tests (removing directories) should not interfere with currently running tests
9 years ago
Jordi Boggiano
3efed220a6
Clean up event dispatching code and make package events extend installer events
10 years ago
François Pluchino
1067ce4f96
Add installer events
10 years ago
Jordi Boggiano
8398c9f2ab
Fix target-dir update checks, fixes #2395
11 years ago
Jordi Boggiano
807600b255
Fix edge case where one adds a target-dir on a package that didnt have one before, refs #2279
11 years ago
Jordi Boggiano
a813867065
Merge remote-tracking branch 'chx/913'
11 years ago
Jordi Boggiano
38917c2047
Add parallel build to travis script
11 years ago
Karoly Negyesi
e32e4ad490
change the test to test for a target dir change
11 years ago
Karoly Negyesi
24c9ef72d6
make LibraryInstallerTest a little more strict
11 years ago
Karoly Negyesi
c6ec739766
allow injecting a mock filesystem into LibraryInstaller and fix LibraryInstallerTest
11 years ago
Nils Adermann
3e41977be7
Plugin tests are no longer strictly installer tests
11 years ago
Nils Adermann
eb966d347f
Implement a plugin manager and interface, update installer plugin tests
11 years ago
Nils Adermann
01a08a2ff3
As preparation for composer plugins, rename custom installers to plugins
11 years ago
Martin Hasoň
b1c4eed57f
Throw exception if the local repository does not contain a package to uninstall
11 years ago
Jordi Boggiano
c32470c7df
Update docs, fix tests
12 years ago
Jordi Boggiano
8d55b9cced
Merge remote-tracking branch 'ronnylt/script-event-post-dump-autoload'
...
Conflicts:
tests/Composer/Test/Autoload/AutoloadGeneratorTest.php
12 years ago
Filippo Tessarotto
470adc47df
Switched rand() to mt_rand()
12 years ago
Ronny López
e5cbf83185
Added post-autoload-dump script event.
12 years ago
Jordi Boggiano
a8f74a0983
Allow notification from locked installs, fixes #1368 , fixes #1372 , fixes #1369
12 years ago
Jordi Boggiano
d6de4a0036
Rename Package interfaces to reduce BC issues
12 years ago
Jordi Boggiano
a2171e2ed1
Expose LibraryInstallerTest properties to child classes
12 years ago
Jordi Boggiano
c65af3e3a1
Add ValidatingArrayLoader and more validation for the validate command
12 years ago
Alexey Prilipko
ac3cebc633
Update PEAR Package Extractor to use 'task:replace', 'phprelease' commands and install role='script' files
...
Add PearInstaller
Change PEAR packages type from 'library' to 'pear-library' and dist type from 'pear' to 'file'
Remove PearDownloader
Refactor Channel Installer
12 years ago
Nils Adermann
d84273ee34
Merge pull request #833 from Seldaek/installmgr_cleanup
...
Use the config object to define the vendor dir and not the installation manager
12 years ago
Jordi Boggiano
b876dcbafb
Use the config object to define the vendor dir and not the installation manager
12 years ago
Jordi Boggiano
a4c829749e
Expose the whole composer context to the custom installers, fixes #672
12 years ago
Grégoire Pineau
f4e9dd4fb8
Fixed PSR rules
12 years ago
Andrew Short
e0a1d9ef58
Support multiple installers in a composer-installer package.
13 years ago
Jordi Boggiano
ef300ca56a
Fix tests
13 years ago
Jordi Boggiano
d1f66073ca
Update depends command
13 years ago
Jordi Boggiano
89e095b4b5
Handle --dev installs/updates
13 years ago
Jordi Boggiano
ab55490254
Merge remote-tracking branch 'hason/metapackage'
13 years ago