Fabien Potencier
e83f7c2929
Fix process timeout when set to 0
2016-09-21 11:48:10 +02:00
SpacePossum
2ae0800cd3
Remove useless concat.
2016-09-16 14:50:34 +02:00
Den Girnyk
41eb297248
Add tests
2016-09-12 17:20:58 +02:00
Jordi Boggiano
ff7daf0bd4
Fix handling of paths on windows when cwd is root of drive, fixes #5554
2016-09-12 16:56:04 +02:00
Matthew "Juniper" Barlett
ac41bb0615
Fix for issue #5631
...
- Add " ( and ) as valid characters in author name
- Add relavent unit tests
2016-09-02 18:59:10 +02:00
Jordi Boggiano
edddae42db
Revert default change from #5603
2016-08-30 15:20:20 +02:00
John Whitley
4479b8a690
Squashed commit of the following:
...
commit 3994b556dcffcde7b1801c8bc712f3127e8f8e7c
Author: John Whitley <john.whitley@berea.eu>
Date: Tue Aug 16 09:02:53 2016 +0100
https://github.com/composer/composer/issues/5600
This alters the default flag for loadOptions in
\Composer\Package\Loader\ArrayLoader to true; and alters the assumption
of the test to reflect this change.
**Rationale**
The `\Composer\Package\Loader\ArrayLoader` test (defined in
tests/Composer/Test/Package/Loader/ArrayLoaderTest.php) assumed that a
new `\Composer\Package\Loader\ArrayLoader` instance would be always
created with the optional flag loadOptions set to true.
```php
$this->loader = new \Composer\Package\Loader\ArrayLoader(null, true);
```
This change alters the general case to reflect the default assumption as
defined in the test.
commit b75fc4ad7238bc50f724bd29446ccbc33e82c34c
Author: John Whitley <john.whitley@berea.eu>
Date: Mon Aug 15 16:55:27 2016 +0100
Altered the test for ArrayLoader to use the default loadConfig flag, and to test the true and false states for the loadConfig flag
2016-08-30 15:20:15 +02:00
Jad Bitar
8625efd551
Fix support for testing exit code
...
The `$sectionData` was being overwritten, causing its assertion
(`$this->assertSame()`) to fail.
2016-08-15 00:30:20 -04:00
Jordi Boggiano
066550054b
Fix tests
2016-07-12 17:12:50 +01:00
Jordi Boggiano
334d0cce6b
Make sure we do not clone from local mirror if mirroring failed
2016-07-02 23:52:10 +01:00
Jordi Boggiano
8ffe224c0d
Merge remote-tracking branch 'stefangr/fix_minor_bitbucket_oauth_issues'
2016-07-02 17:43:07 +01:00
Jordi Boggiano
4998ee27b3
Re-use mirror code from the git driver, refs #5384
2016-07-02 17:20:51 +01:00
Jordi Boggiano
55e90093a4
Merge remote-tracking branch 'marvil07/faster-git-clones-using-cache'
2016-07-02 16:43:19 +01:00
Jordi Boggiano
59596ff012
Make sure we do not overwrite binaries but only re-create missing ones, refs #5127
2016-07-02 16:35:09 +01:00
Jordi Boggiano
88d5b74c74
Merge remote-tracking branch 'j0k3r/re-install-binaries'
2016-07-02 16:15:33 +01:00
Stefan Grootscholten
9b00713a67
Update unit test for Bitbucket util
2016-07-02 17:03:01 +02:00
bohwaz
be013e5572
Fossil VCS tests
2016-06-25 13:09:49 +12:00
Jordi Boggiano
894b53c115
Merge pull request #5454 from pierredup/type-search
...
Added type option to search
2016-06-21 17:03:13 +02:00
Pierre du Plessis
6a557e45b8
Added --type option to search
2016-06-21 16:38:52 +02:00
Jordi Boggiano
39c2c8c30a
Add test for password escaping
2016-06-21 11:01:09 +01:00
Marco Villegas
869b3ef954
New test to check git download behavior with cache.
2016-06-18 19:39:09 -05:00
Marco Villegas
cb6cfa9635
Isolate config setup to make it reusable at GitDownloaderTest.
2016-06-18 19:39:09 -05:00
Stefan Grootscholten
78fcb5a366
Add support section to composer data for bitbucket repositories.
2016-06-17 17:35:43 +02:00
Stefan Grootscholten
ccfd9018b8
Add unit tests for the GitBitbucketDriver class.
2016-06-11 17:33:58 +02:00
Stefan Grootscholten
2d52531365
Add unit tests for the Bitbucket class.
2016-06-11 17:33:58 +02:00
Jordi Boggiano
73d9a4717d
Update list of ciphers /cc @cs278
2016-06-11 11:19:58 +01:00
Michele Locati
097003b5bb
Add test case for strict types declaration
2016-06-01 10:00:37 +02:00
Marco Villegas
b5c55d5167
Adjust GitDownloaderTest to include for the new getVersion() method in Git.
2016-05-30 11:58:25 -05:00
Luis Faceira
1d733ba21a
GitDownloaderTest uses temp dir as composer home config
...
When creating a DownloaderMock a home config dir is
ensured to exist, so that no test fails for lack of it
that on a regular run would be set by the Factory
2016-05-29 12:36:19 -05:00
Jordi Boggiano
57ae6d97b6
Merge branch '1.1'
2016-05-17 12:06:36 +01:00
ReenExe
53fc30fe56
clear code
2016-05-17 13:34:54 +03:00
Andreas Möller
a3b49ae44f
Enhancement: Assert that no warning is issued when using exact version constraint for unstable package
2016-05-17 09:25:04 +02:00
Tomáš Markacz
c30dd16e32
add missing validation for rss chanel section in composer schema
2016-05-16 23:24:00 +02:00
Lucas CHERIFI
7e34d9ab97
Typo fix ;-)
2016-05-10 21:45:39 +02:00
Jordi Boggiano
13f4d2afd3
Fix #refs handling, fixes #5291
2016-05-10 17:19:09 +01:00
Jordi Boggiano
72362a085a
Fix #refs handling, fixes #5291
2016-05-10 17:17:08 +01:00
Jordi Boggiano
ed0a5ff2a6
Merge branch '1.1'
2016-05-08 17:36:17 +01:00
Hiraku NAKANO
8501bb71e2
Drop dependency on http://www.example.com
2016-05-08 17:36:10 +01:00
Jordi Boggiano
1aa31caec5
Clean up ApplicationTest
2016-05-06 00:33:19 +01:00
Jordi Boggiano
cc793eff6f
Clean up ApplicationTest
2016-05-06 00:28:45 +01:00
Jordi Boggiano
b8974a3e13
Merge branch '1.1'
2016-05-05 14:10:14 +01:00
Jordi Boggiano
591cbcee12
Avoiding defining plugin commands using the local project plugins, refs #5277
2016-05-05 14:10:06 +01:00
Bilal Amarni
92207da83a
add isProxyCommand() to BaseCommand
2016-05-05 13:56:44 +01:00
Jordi Boggiano
d5ed45c3c7
Fix test
2016-05-05 13:37:01 +01:00
Jordi Boggiano
6146f7aded
Take into account prefer-stable and dev packages when computing outdated, refs #5251
2016-04-28 22:38:38 +01:00
Jordi Boggiano
b9bd021516
Fix test suite on <7
2016-04-28 21:19:26 +01:00
Jordi Boggiano
ba909d8795
Avoid duplicate commands, and pass plugin to ctor args for capabilities, refs #3377
2016-04-28 21:12:26 +01:00
Jordi Boggiano
090295dbcb
Adjust the CommandProvider to use plugin capabilities and test actual command creation, refs #3377
2016-04-28 20:37:54 +01:00
Jordi Boggiano
a9df4acd7d
Merge remote-tracking branch 'jderusse/plugin-with-commands'
2016-04-28 20:11:33 +01:00
Jordi Boggiano
135783299a
Add support for editing top level properties and extra values, replaces #2415 , fixes #1411 , fixes #2384
2016-04-27 14:04:01 +01:00