299 Commits (ff59bbdab0fb5bef212f291bbf9f152c7467fd7d)

Author SHA1 Message Date
Jordi Boggiano ff59bbdab0 CS fixer 6 years ago
Jordi Boggiano c5fa3bdde0 Migrate to repo.packagist.org for package metadata 6 years ago
Jordi Boggiano c917865fe9 Fix handling of dev versions and consolidate logic, refs #7119 6 years ago
Filippo Tessarotto 277f32d388 Lock _readme: remove outdated hashtag link part, closes #7096 6 years ago
Jordi Boggiano 9041622b86 Fix version guessing regression and a few other issues, fixes #7127 6 years ago
Jordi Boggiano 066351c5b9 Remove use of deprecated getMock method 6 years ago
Jordi Boggiano 842a7ea922 Fix dev-master not being normalized correctly for the root package, fixes #7007 7 years ago
Gabriel Caruso 2ad6f611d7 Allow bin key to receive string 7 years ago
Jordi Boggiano 0a9abeef88 Merge branch '1.5' 7 years ago
Alessandro Lai 54adf0b61e Add regression test about VersionGuesser pretty_version handling 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
Jordi Boggiano 6256e17149 Merge branch '1.5' 7 years ago
Jordi Boggiano 5ba6d7d436 Fix pretty guessed versions to show nicely on numeric branches, refs #6845 7 years ago
Alessandro Lai 3cf31da414 Fix root package not having a pretty version when detecting from VCS, fixes #6845, closes #6847 7 years ago
Jordi Boggiano 26a50b3762 Merge branch '1.5' 7 years ago
Jérôme Vasseur 71c2ecbace Fix platform package detection in VersionParser 7 years ago
Vladimir Reznichenko c8615358cb SCA with PHP Inspections (EA Extended) 7 years ago
Jordi Boggiano b07be842a0 Remove feature-branches option as it is misnamed and duplicates the non-feature-branches option, refs #6475 7 years ago
Claus Due 965f1f42d1 Add support for feature-branches setting
A negative list of non-feature-branches names
is already supported - this patch adds a list of
branches names which *will* be considered as
feature branches.

Allows changing the currently hardcoded set of
expected feature branch names, from:

* master|trunk|default|develop

To any set of names or patterns that you desire.
7 years ago
Nicole Cordes d834fcfac5 Change commitHash to match real life examples 7 years ago
Nicole Cordes c0f5a64e81 Use long array sysntax for PHP 5.3 compatibility 7 years ago
Nicole Cordes c2fe198ebc Re-add unit test for FETCH_HEAD parsing 7 years ago
Nicole Cordes 313e6b914d Fix Git branch parsing for detached HEAD on a commit
Current versions of Git output the commit hash as detached HEAD instead
of FETCH_HEAD. The VersionGuesser should be able to handle commit hashes
as well as FETCH_HEAD to detect the correct branch of a commit.
7 years ago
Jordi Boggiano 843877cd6d Fix hg version guessing, fixes #6236, fixes #6235 7 years ago
Filippo Tessarotto 04b1ddb79f VersionGuesser test for HG 7 years ago
Jordi Boggiano 122e422682 CS fixes 7 years ago
jbixler dac51c7f4b Add ignore filters option to archive command 8 years ago
AnrDaemon ab70601700 Skip git-related tests if no git found. 8 years ago
Jordi Boggiano e54c7478ee Attempt at fixing support for git 2.11, refs #5942 8 years ago
Rob Bast 873f17261c
try to fix test instead of guarding implementation 8 years ago
Jordi Boggiano d9328ed5ae Merge pull request #5753 from alcohol/use-rfc3339-in-arraydumper
bring arraydumper in line with json schema spec and packagist
8 years ago
Jordi Boggiano 4cd6eabdba Merge branch '1.2' 8 years ago
Rob Bast a45ae5f585
fix test 8 years ago
Rob Bast 9f2bd34c87
test copied from #5724 8 years ago
Jordi Boggiano 6ec8b2bfd6 Update locker tests 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
Jordi Boggiano 6f7389e911 Revert default change from #5603 8 years ago
John Whitley c51c1b3047 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
Jordi Boggiano 57ae6d97b6 Merge branch '1.1' 8 years ago
Andreas Möller a3b49ae44f
Enhancement: Assert that no warning is issued when using exact version constraint for unstable package 8 years ago
Tomáš Markacz c30dd16e32 add missing validation for rss chanel section in composer schema 8 years ago
Jordi Boggiano 6146f7aded Take into account prefer-stable and dev packages when computing outdated, refs #5251 8 years ago
Jordi Boggiano 8771119374 Merge branch '1.0' 8 years ago
Jordi Boggiano 6ce8477d04 Fix parsing of stabilities with AND/OR ops and no stability flags 8 years ago
Jordi Boggiano 76350676b5 Warn on exact/overly strict constraints, fixes #2746 8 years ago
Jordi Boggiano 2dcd76aa43 Fix test suite 8 years ago
Jordi Boggiano bad80878bc Merge remote-tracking branch 'sashman/master' 8 years ago
Rob Bast a245c4618b php-cs-fixer 8 years ago