24 Pull Requests
composer

composer/composer

Dependency Manager for PHP
PHP
View on GitHub https://getcomposer.org/
Contribulator score: 39 Last scored 2023-11-08 02:32:00 UTC
Contributors (14)
  • carusogabriel
  • cs278
  • driesvints
  • galymzhan
  • glenjamin
  • Jean85
  • localheinz
  • luisfaceira
  • Mikulas
  • Ocramius
  • OskarStark
  • stof
  • wouterj
  • zoliszabo

Pull requests (24)

zoliszabo

Fix typo in composer-platform-dependencies.md to composer/composer 2023-12-17 19:09:34 UTC

<!– Please remember to select the appropriate branch:

For bug fixes pick the oldest branch where the fix applies (e.g. 2.4 if that version is affected, 1.10 if it is a critical fix that should be fixed in Composer 1, otherwise `m…

localheinz

Fix: Add test case for not dropping patch version to composer/composer 2022-12-12 12:00:19 UTC

This pull request

  • adds a failing test case to prevent the VersionBumper from dropping the .0 patch version when major.minor.patch version is used in constraint
Jean85

Improve the doc for gitlab-token option to composer/composer 2021-12-10 17:09:26 UTC

This highlights the security risk of using a read_api scope for the GitLab Personal Access Token

stof

Fix the platform requirement check command to composer/composer 2017-12-20 11:19:53 UTC

The command must validate that the current package matches the constraint, not that any newer package matches it.

Closes #6925

carusogabriel

Add no_useless_else in phcs to composer/composer 2017-12-19 11:19:46 UTC

Should we add no_useless_else based on #6903?

carusogabriel

Combine consecutive issets to composer/composer 2017-12-19 11:03:09 UTC

isset allow us to pass multiple values to check.

Also enabled in .php_cs.

carusogabriel

Clean else to composer/composer 2017-12-14 07:18:54 UTC

Small one: cleaned up an else when we have already returned something 🚮

carusogabriel

Add PHPUnit 6 support to composer/composer 2017-12-12 06:40:24 UTC

I've added PHPUnit 6 support to Composer. Changes:

  • Define mocks with fluent interface;
  • setExpectedException isn't available in version 6, so I substitute to @expectException and @expectedExceptionMessage notations. But,…
OskarStark

highlight previous composer version to composer/composer 2017-12-07 09:13:18 UTC

OskarStark

output used strategy to composer/composer 2017-12-06 10:58:31 UTC

Jean85

[WIP] Fix VersionGuesser pretty_version handling to composer/composer 2017-12-04 11:27:54 UTC

This relates to #6845, since the merged fix doesn't seem to work, see https://github.com/phpstan/phpstan/pull/649

I'm still working on this, for now I've added a regression test that expects a non-normalized version as the `pretty_ver…

carusogabriel

Refactoring tests to composer/composer 2017-12-03 04:45:53 UTC

Continuing to refactored tests, like #6849, using:

  • assertNotEmpty instead of empty method;
  • assertFalse and instead of strict comparisons with false keyword;
  • assertSame and instead of strict comparisons;
  • `assertConta…
driesvints

Do not add newlines to output to composer/composer 2016-12-06 15:05:30 UTC

This should fix the newline bug reported in #5933, #5937 & #5936

I wasn't 100% sure if the writeError should also get this flag bug I believe it doesn't.

Thanks to @hannesvdvreken for spotting the lines where it happened.

Jean85

[Documentation] Update troubleshooting article to composer/composer 2016-12-02 17:26:53 UTC

  • remove the xdebug section, since it will be irrelevant from v1.3
  • add cPanel shell fork bomb protection as an other possible root cause of memory errors

This should solve #5869

wouterj

Improve error message about platform php version to composer/composer 2015-12-12 11:20:23 UTC

When seeing the error message, I though "config.platform.php" was some file/value configured for platform.sh instead of a setting value in composer.json. I propose to make it a bit more clear that this value is set in composer.json

luisfaceira

Speed git downloads by using cache dir as reference to composer/composer 2015-12-09 16:03:39 UTC

Proposed solution for #1323

When downloading a git repository, it checks if that repository was already cached under cache-vcs-dir and if it was, use it as a "–reference".

By using this option, when downloading objects, git checks…

localheinz

Enhancement: Add sort-packages option which allows sorting of packages to composer/composer 2014-12-12 23:25:02 UTC

Because OCD, that's why.

Personally, I find it a lot easier to spot things in a list when the list is sorted alphabetically.

Ocramius

Allow grouped constraints to composer/composer 2014-12-10 02:36:46 UTC

This PR has mainly been worked on by @malukenho, so please ping him as well for questions, if you have any.

The final aim is to support grouped constraints such as:

  • (&lt;10|&gt;2),(&lt;5|&gt;3)
  • (&gt;3.5,&lt;3.6)|(&gt;4.5,&lt;4.6)

This simpl…

wouterj

Added deprecated warning for the dev option to composer/composer 2014-12-08 00:05:31 UTC

The option isn't used for a long time already, but there was no warning about the usage of it. This could lead to confusion, as people could be thinking that no-dev is the default.

glenjamin

Ensure detected extensions have valid package names to composer/composer 2013-12-16 08:53:26 UTC

Fixes #2489

Mikulas

suggest available package versions in interactive mode to composer/composer 2013-12-10 09:03:32 UTC

motivation: I generally know the package I want, but don't remember the version. Opening a new terminal session and running composer show -a repo/package is too much of a hassle.

changes: composer init (and consequently `c…

galymzhan

Add size-based cache expiration to composer/composer 2012-12-16 19:56:10 UTC

Maximum cache size is configured via cache-files-maxsize key. By default it is 300 megabytes.

galymzhan

add support for --no-progress, fixes #621 to composer/composer 2012-12-11 14:34:23 UTC

cs278

GitHub private dist downloads to composer/composer 2012-12-03 16:35:57 UTC

I just tried to use our internal Composer repository to install a package from distribution packages and it failed, I'm not sure if it ever worked I guess it must have done. GitHub is returning a 406 (weirdly) for requests to a private r…

  • Sponsored by  DNSimple,  Octobox &  Bugsnag
  • About
  • How to contribute?
  • API
  • Unsubscribe
    •  English
    •  Español
    •  Ελληνικά
    •  Português do Brasil
    •  Suomi
    •  Français
    •  Deutsch
    •  Русский
    •  Українська
    •  ไทย
    •  Italiano
    •  Norsk bokmål
    •  தமிழ்
    •  Tr
    •  简体中文
    •  正體中文
    •  日本語
    •  Čeština
    •  हिंदी
    •  Polski
    • Translate into your language!