6825 Commits (0ffa1db4893a1b02c1b7a35f33ea326543430eab)
 

Author SHA1 Message Date
Jordi Boggiano 0ffa1db489 Update changelog for 1.2.2 8 years ago
Jordi Boggiano f320c67534 Avoid choking on non-string constraints, fixes #5807 8 years ago
Jordi Boggiano e32c09e13a Merge pull request #5829 from fabpot/post-dependencies-solving-bug
Fix POST_DEPENDENCIES_SOLVING trigger
8 years ago
Rob 8c71e52d9d Merge pull request #5832 from curry684/issue-5823
Clarify documentation that commit refs are unsupported
8 years ago
Niels Keurentjes f99a33bfc7 Clarify documentation that commit refs are unsupported
Following the discussion in #5823 it has become clear that this feature is supplied at-your-own-risk, this should be more explicitly reflected in its documentation.
8 years ago
Fabien Potencier 5d742fd38b Fix POST_DEPENDENCIES_SOLVING trigger 8 years ago
Jordi Boggiano d4547fba06 Merge pull request #5804 from msiebeneicher/bugfix/fix_rename_usage_in_archive_manager_for_v1_2
fixed direct rename() usage for v1.2
8 years ago
Jordi Boggiano 15d8b7a84d Merge pull request #5813 from curry684/issue-5808
Fix crash when listing root package without versions
8 years ago
Niels Keurentjes 6de7feeb86 Fix crash when listing root package without versions
When using certain parameters together in 'composer show', specifically '-s --outdated', the root package itself is inspected for its latest version. If the git repository it belongs to does not have any tags yet this would return FALSE, while the next call to printMeta requires a PackageInterface or NULL, causing a crash.

Refs #5808
8 years ago
msiebeneicher 800a4bf391 fixed direct rename() usage for v1.2 8 years ago
Jordi Boggiano f23cdf59e3 Make remove command case insensitive, fixes #5754 8 years ago
Jordi Boggiano 5ee22f25ba Rework JSON matching to use a properly recursive pattern, fixes #5771 8 years ago
Jordi Boggiano 092dec9596 Add failing test for #5771 8 years ago
Jordi Boggiano 823a673b12 Merge pull request #5770 from fabpot/var-decl-missing
added missing var declaration
8 years ago
Fabien Potencier b502a35fc1 added missing var declaration 8 years ago
Jordi Boggiano 902a5c32db Add bug ref 8 years ago
AnrDaemon c774d41a9c Fix realpath() failing on Windows 8 years ago
Jordi Boggiano 117e09ca48 Merge pull request #5728 from alcohol/pool-priority-matters
add a test that asserts pool priority matters
8 years ago
Jordi Boggiano 205030afc6 Merge pull request #5726 from alcohol/what-provides-stability-ordering-issue
What provides stability ordering issue
8 years ago
Rob Bast 9cbcda9ae6
add test that asserts pool priority matters
also switch assertEquals for assertSame
8 years ago
Rob Bast 710bb0d008
fix based on test, fixes #5724 8 years ago
Rob Bast 9f2bd34c87
test copied from #5724 8 years ago
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()
8 years ago
Rob Bast 1cf4ecd648 remove env variable after test assertion 8 years ago
Fabien Potencier e83f7c2929 Fix process timeout when set to 0 8 years ago
Jordi Boggiano 8e1b90bc08 Allow reading repo.0 in config command, fixes #5692 8 years ago
Jordi Boggiano 64d29dc6dc Fix regex cleaning up repo URLs, fixes #5686 8 years ago
Jordi Boggiano d4afef35cd Merge pull request #5683 from SpacePossum/1_12_No_concat
Remove useless concat from autoload.
8 years ago
SpacePossum 2ae0800cd3 Remove useless concat. 8 years ago
Jordi Boggiano a2b3e89d56 Make sure php-ipv6 is recognized as a platform package as well 8 years ago
Den Girnyk 41eb297248 Add tests 8 years ago
Den Girnyk 71e0fba216 Pass devMode from RunScriptCommand to Script\Event 8 years ago
Jordi Boggiano ff7daf0bd4 Fix handling of paths on windows when cwd is root of drive, fixes #5554 8 years ago
Jordi Boggiano f78f6c963d Add note about rawurlencode, refs #5503 8 years ago
Calin Marian a888b082b0 Make urlEncodeAll private 8 years ago
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.
8 years ago
Jordi Boggiano 568108da28 Prepare 1.2.1 8 years ago
Jordi Boggiano a04256810e Change exit code to be 1/2 for warn/fail, refs #5601 8 years ago
Jordi Boggiano b29d810d63 Only treat errors as real failures, fixes #5601 8 years ago
Jordi Boggiano cfdeb61779 Avoid warning when testing for packagist over http 8 years ago
Jordi Boggiano c16ca1ccbe Update deps, refs #5646 8 years ago
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
8 years ago
Matthew "Juniper" Barlett ac41bb0615 Fix for issue #5631
- Add " ( and ) as valid characters in author name
- Add relavent unit tests
8 years ago
Jordi Boggiano ed78253c58 Only update reference if there is actually a reference, fixes #5609 8 years ago
Jordi Boggiano 90b99ea5c2 Update semver dep 8 years ago
Nicolas Grekas c6b26c4e96 Make static inlining more selective 8 years ago
Jordi Boggiano edddae42db Revert default change from #5603 8 years ago
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
8 years ago
Rob f2fc70fd79 Merge pull request #5598 from jadb/patch-1
Fix support for testing exit code
8 years ago
Jad Bitar 8625efd551 Fix support for testing exit code
The `$sectionData` was being overwritten, causing its assertion 
(`$this->assertSame()`) to fail.
8 years ago