Christophe Coevoet
bca786d5c3
Fixed the tests
...
array_filter preserves the keys even when filtering an array indexed
numerically.
2012-01-16 22:40:14 +01:00
Christophe Coevoet
38a5f04ea0
Added a test for the new findPackagesByName method
2012-01-16 22:40:03 +01:00
Jordi Boggiano
05c84e9dfd
Merge pull request #208 from stof/find_packages
...
Find packages
2012-01-16 13:13:46 -08:00
Christophe Coevoet
bd1d20b2c9
Fixed CS
2012-01-16 22:11:31 +01:00
François Pluchino
0f9dcc9618
Remplace all echo with writeln method of IO
2012-01-16 20:44:06 +01:00
François Pluchino
7888ec5313
Add Authentification in FileDownloader
2012-01-16 20:09:32 +01:00
François Pluchino
a10f92aafe
Convert Wrapper class to ConsoleIO class
2012-01-16 14:14:15 +01:00
Christophe Coevoet
1fdb7aef56
Changed the ShowCommand to use the new method
2012-01-16 12:52:17 +01:00
Christophe Coevoet
fc17e26bc3
Added a method to find packages by name
2012-01-16 12:44:47 +01:00
Jordi Boggiano
098ba8e583
Add test
2012-01-15 14:15:53 +01:00
Jordi Boggiano
8b1b4527bd
Fix code coverage report, fixes #205
2012-01-15 13:50:29 +01:00
Jordi Boggiano
cc1dbbc36f
Add --link-type option to select link types in DependsCommand
2012-01-15 13:39:48 +01:00
Beau Simensen
fd5124a632
Standards fixes per @stof (continued, my bad)
2012-01-12 21:48:35 -06:00
Beau Simensen
2d721f5792
Standards fixes per @stof
2012-01-12 21:40:53 -06:00
Beau Simensen
e8fcf281fa
Autoload Generator handles multiple PSR-0 paths
...
The Autoload Generator was not behaving exactly as expected.
This PR is an alternate version of #203 based on some of
@stof's input on that PR.
The main differences are:
* The main package is added first instead of last
* parseAutoloads returns a different structure:
array('psr-0' => array('Ns\\Foo' => array('installDir')))
* dump and createLoader updated to account for new structure
2012-01-12 21:14:30 -06:00
Jordi Boggiano
2f3b188d5f
Merge pull request #202 from henrikbjorn/patch-1
...
Update README.md
2012-01-12 04:36:04 -08:00
Henrik Bjørnskov
9fcf01695c
Update README.md
2012-01-12 12:54:26 +01:00
François Pluchino
f65b34860f
Merge branch 'test'
...
Conflicts:
src/Composer/Downloader/FileDownloader.php
src/Composer/Repository/Vcs/HgBitbucketDriver.php
2012-01-12 12:19:13 +01:00
Mark Sonnabaum
045ae0e5ce
Added "-d detect_unicode=0" to the php shebang to work around https://bugs.php.net/bug.php?id=36711 .
2012-01-11 21:05:27 -06:00
Jordi Boggiano
91a4e5209a
Merge pull request #199 from hhamon/dead_code_cleanup
...
Dead code cleanup
2012-01-11 05:53:26 -08:00
François Pluchino
9af46ad800
Add Helper Wrapper
2012-01-11 13:55:05 +01:00
Hugo Hamon
398efbb894
[Repository] removed unused local $versions variable from VcsRepository::initialize() method.
2012-01-11 11:38:51 +01:00
Hugo Hamon
09f0ba6604
[Repository] removed unused local $match variable from HgBitbucketDriver::supports() method.
2012-01-11 11:35:36 +01:00
Hugo Hamon
70d7ab43ee
[Repository] removed unused local $match variable from GitHubDriver::supports() method.
2012-01-11 11:34:45 +01:00
Hugo Hamon
7842149a51
[Repository] removed unused local $match variable from GitBitbucketDriver::supports() method.
2012-01-11 11:33:21 +01:00
Hugo Hamon
66f214e446
[Repository] removed unused $requires local variable from PearRepository::fetchFromServer() method.
2012-01-11 11:30:46 +01:00
Hugo Hamon
488928b9b5
[Package] removed unused local $key variable from VersionParser::parseConstraints() method.
2012-01-11 11:29:12 +01:00
Hugo Hamon
2d1ad6ca32
[Package] removed unused local $repositories variable from RootPackageLoader::load() method.
2012-01-11 11:26:45 +01:00
Hugo Hamon
535455606b
[Downloader] fixed incorrect variable name in FileDownloader class.
2012-01-11 11:23:23 +01:00
Hugo Hamon
9acbb0c026
[DependencyResolver] removed unused local variables and fixed some wrong local variable names in Solver class.
2012-01-11 09:11:27 +01:00
Hugo Hamon
747abf6843
[Command] removed unused local variable $composer in UpdateCommand::execute() method.
2012-01-11 09:05:23 +01:00
Hugo Hamon
c993f3e92d
[Command] removed unused local $recommendedDependencies variable in DependsCommand::getReferences() method.
2012-01-11 09:02:59 +01:00
François Pluchino
cad1497b95
Keep history action on download
2012-01-11 01:26:44 +01:00
François Pluchino
86070a8b6e
Replace getHttpSupport() to getScheme()
2012-01-11 01:11:56 +01:00
François Pluchino
9b0e50cdc2
Restore the old regex
2012-01-11 01:09:30 +01:00
François Pluchino
9c7e7a2c4a
Remove comment
2012-01-10 21:29:41 +01:00
François Pluchino
395e2e040d
Add callback download informations
2012-01-10 21:22:52 +01:00
François Pluchino
2f0162053d
Add OutputConsole and format the download output
2012-01-10 20:06:15 +01:00
François Pluchino
013d145bcd
Add InputInterface and OutputInterface
2012-01-10 18:50:16 +01:00
François Pluchino
fa793649fa
Add a VcsDriver abstract class.
...
All XxxDriver extends this abstract class now.
2012-01-10 15:44:13 +01:00
Jordi Boggiano
3d52798c0f
Merge pull request #192 from biozshock/master
...
After mesage "Installing dependencies" composer dies silently.
2012-01-09 00:49:46 -08:00
Jordi Boggiano
83a106bd79
Add recommends and package versions to the depends command
2012-01-08 22:39:42 +01:00
Jordi Boggiano
81d80b2a04
Merge remote-tracking branch 'justinrainbow/depends_command'
2012-01-08 22:27:54 +01:00
Artem Lopata (bumz)
de066de198
Fix for composer. When running update/install command it's just do nothing, except writing "Installing dependencies"
2012-01-08 23:24:58 +02:00
Jordi Boggiano
126c57d07c
Fix notice
2012-01-08 19:26:40 +01:00
Jordi Boggiano
f700724eaf
Adjust README, refs #188
2012-01-08 18:14:50 +01:00
Jordi Boggiano
9aa128d6e7
Merge pull request #188 from wilmoore/homebrew-install
...
Homebrew install
2012-01-08 09:11:37 -08:00
Wil Moore III
e39f6e1587
added callout note to manual install section
2012-01-07 13:55:20 -07:00
Wil Moore III
4dc89c7940
updated homebrew install/upgrade info based on changes to formula
2012-01-07 13:52:56 -07:00
Wil Moore III
752e4cc11f
updated homebrew install/upgrade info based on changes to formula
2012-01-07 13:52:22 -07:00