Fabien Potencier
b502a35fc1
added missing var declaration
2016-10-07 11:38:36 -07:00
Jordi Boggiano
902a5c32db
Add bug ref
2016-09-29 08:06:44 +02:00
AnrDaemon
c774d41a9c
Fix realpath() failing on Windows
2016-09-29 08:05:55 +02:00
Jordi Boggiano
117e09ca48
Merge pull request #5728 from alcohol/pool-priority-matters
...
add a test that asserts pool priority matters
2016-09-29 08:01:00 +02:00
Jordi Boggiano
205030afc6
Merge pull request #5726 from alcohol/what-provides-stability-ordering-issue
...
What provides stability ordering issue
2016-09-29 07:59:53 +02:00
Rob Bast
9cbcda9ae6
add test that asserts pool priority matters
...
also switch assertEquals for assertSame
2016-09-28 09:34:08 +02:00
Rob Bast
710bb0d008
fix based on test, fixes #5724
2016-09-27 17:39:44 +02:00
Rob Bast
9f2bd34c87
test copied from #5724
2016-09-27 17:39:44 +02:00
Ruslan Bekenev
8c1f889806
cut out "file://" from VCS download() method
...
this issue was happening due to realpath() function
that cannot work with "file://" path.
For local repositories it is valid url but not valid for realpath()
2016-09-23 16:37:32 +02:00
Rob Bast
1cf4ecd648
remove env variable after test assertion
2016-09-21 11:48:32 +02:00
Fabien Potencier
e83f7c2929
Fix process timeout when set to 0
2016-09-21 11:48:10 +02:00
Jordi Boggiano
8e1b90bc08
Allow reading repo.0 in config command, fixes #5692
2016-09-19 18:47:44 +02:00
Jordi Boggiano
64d29dc6dc
Fix regex cleaning up repo URLs, fixes #5686
2016-09-17 13:27:29 +02:00
Jordi Boggiano
d4afef35cd
Merge pull request #5683 from SpacePossum/1_12_No_concat
...
Remove useless concat from autoload.
2016-09-16 15:15:01 +02:00
SpacePossum
2ae0800cd3
Remove useless concat.
2016-09-16 14:50:34 +02:00
Jordi Boggiano
a2b3e89d56
Make sure php-ipv6 is recognized as a platform package as well
2016-09-12 22:49:44 +02:00
Den Girnyk
41eb297248
Add tests
2016-09-12 17:20:58 +02:00
Den Girnyk
71e0fba216
Pass devMode from RunScriptCommand to Script\Event
2016-09-12 17:20:51 +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
Jordi Boggiano
f78f6c963d
Add note about rawurlencode, refs #5503
2016-09-12 14:27:11 +02:00
Calin Marian
a888b082b0
Make urlEncodeAll private
2016-09-12 14:26:13 +02:00
Calin Marian
862a13a17e
Urlencode Gitlab project names
...
Url encode all non alphanumeric characters in project name for GitLabDriver.
If the project name has "." characters in it, which is supported in Gitlab, the Gitlab API will 404 when requesting the branches or tags of the repository. This commit urlencodes all non alphanumeric characters in the project name in requests to the Gitlab API.
2016-09-12 14:26:07 +02:00
Jordi Boggiano
568108da28
Prepare 1.2.1
2016-09-12 11:25:56 +02:00
Jordi Boggiano
a04256810e
Change exit code to be 1/2 for warn/fail, refs #5601
2016-09-12 11:25:43 +02:00
Jordi Boggiano
b29d810d63
Only treat errors as real failures, fixes #5601
2016-09-12 11:00:38 +02:00
Jordi Boggiano
cfdeb61779
Avoid warning when testing for packagist over http
2016-09-12 11:00:10 +02:00
Jordi Boggiano
c16ca1ccbe
Update deps, refs #5646
2016-09-05 10:57:50 +02:00
Matthew "Juniper" Barlett
09dad8a018
Clean up regex in InitCommand::parseAuthorString
...
Per comments:
- https://github.com/composer/composer/pull/5638#discussion_r76972844
- https://github.com/composer/composer/pull/5638#discussion_r76973941
2016-09-02 18:59:20 +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
ed78253c58
Only update reference if there is actually a reference, fixes #5609
2016-09-02 18:43:44 +02:00
Jordi Boggiano
90b99ea5c2
Update semver dep
2016-08-30 18:12:35 +02:00
Nicolas Grekas
c6b26c4e96
Make static inlining more selective
2016-08-30 15:25:17 +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
Rob
f2fc70fd79
Merge pull request #5598 from jadb/patch-1
...
Fix support for testing exit code
2016-08-15 09:14:45 +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
Rob
a33b205561
Merge pull request #5582 from diegoholiveira/issue/5565
...
Modify the message for memory errors
2016-08-10 08:30:51 +02:00
Diego Oliveira
c55fd9bd10
Modify the message for memory errors
2016-08-09 21:31:19 -03:00
Jordi Boggiano
034f1cf591
Merge pull request #5558 from nicolas-grekas/nocow
...
Add ClassLoader::$missingClasses to not trigger a COW
2016-07-28 13:34:05 +02:00
Nicolas Grekas
dd67b01ac5
Add ClassLoader::$missingClasses to not trigger a COW
2016-07-28 10:35:44 +02:00
Jordi Boggiano
8e2f5e741c
Merge pull request #5553 from alcohol/fix-basic-auth-gitutil
...
check for additional possible authentication failure strings in gitutil
2016-07-28 09:58:08 +02:00
Rob
7304ab6ff9
Merge pull request #5557 from tobiasbueschel/master
...
add link to LICENSE file & reformat Authors section in README.md
2016-07-28 08:54:19 +02:00
Tobias Büschel
1bc0f8e0e9
reformat author section
2016-07-27 18:01:27 -04:00
Tobias Büschel
c28ee623ae
add link to license file
2016-07-27 17:44:15 -04:00
Jordi Boggiano
4a4e5726dd
Merge pull request #5544 from alcohol/update-readme
...
Update readme
2016-07-26 15:51:33 +02:00
Rob Bast
02455712cf
check for additional possible output strings, fixes #5543
2016-07-26 11:46:51 +02:00
Rob Bast
a480e53234
simplify the readme, defer to documentation
2016-07-25 09:02:43 +02:00
Rob Bast
04605e4f90
update ccoc to v1.4
2016-07-25 09:00:49 +02:00
Rob
3d920f8dbb
Merge pull request #5528 from JamesForks/fix-contributing-docs
...
Fix link to CONTRIBUTING.md
2016-07-20 08:23:26 +02:00
James Brooks
c283067602
Fix link to CONTRIBUTING.md
2016-07-19 17:34:42 +01:00